Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Yeah6916298yYes, but still patterns are important. The answer is somewhere between "no patterns at all" and "only patterns".
-
kpenc21328yThere are cases when a specific patterns are needed. If you start to code thinking about what pattern you should implement first you are going to fail and overgengineer.
-
arekxv10548yAlso, most people use pattern with its implementation as a rule, not a guideline. If no pattern fits you perfectly for something specific, then that means you need to shape one or more pattern to your needs. Remember: patterns are guidelines, not rules.
-
I like to implement the most naïve solution (sometimes the dirtiest), then refactor everything and use the more convenient pattern. I think that we can't come to the best solution with the first try, so being stupid at first help !
Patterns 👏 are 👏 a 👏 language 👏 to 👏 talk 👏 about 👏 design 👏 not 👏 a 👏 comprehensive 👏 list 👏 of 👏 the 👏 only 👏 things 👏 you're 👏 allowed 👏 to 👏 do 👏 in 👏 code.
undefined