dsdshcym / dsdshcym.github.io

https://yiming.dev/
1 stars 1 forks source link

Sandi Metz's Rules for OOP - Yiming Chen #11

Open utterances-bot opened 5 years ago

utterances-bot commented 5 years ago

Sandi Metz's Rules for OOP - Yiming Chen

Sandi Metz's 5 Rules for writing better Object-Oriented Code

https://yiming.dev/blog/2017/08/23/sandi-metzs-rules-for-oop/

ranska commented 5 years ago

I have use https://github.com/makaroni4/sandi_meter for years now (4 years on my main project). And those rules seriously change the game. Every time I jump into new project or company, refactoring to match those rules make everything cleaner and readable.

dsdshcym commented 5 years ago

@ranska Cool!

I didn't know sandi_meter before. Thank you for sharing this Gem.

Every time I jump into new project or company, refactoring to match those rules make everything cleaner and readable.

I'm a bit curious about the process here. Did you meet any obstacles when you introduce this gem to a new company or project?

From my personal experience, even introducing Rubocop is a huge task, not to say a more strict gem like sandi_meter.