
Flags indicate what happened. Unless their name is too generic. Problems Readability Maintainability Coupling Solutions Use meaningful names Try to avoid flags. They generate coupling. Sample Code Wrong https://gist.github.com/mcsee/694068de...
Software Engineer
I’m a senior software engineer loving clean code, and declarative designs. S.O.L.I.D. and agile methodologies fan.
Markdown supported · ⌘↵ to post
No responses yet.