I feel like that’s a non-contentious definition and we spend a lot of time arguing against a straw man definition of “clean code” that few people agree with 
-
-
-
you must have never met the unstoppable force that is DRY
- Još 5 drugih odgovora
Novi razgovor -
-
-
Things like DRY are self-serving styles, not engineering.
-
you don’t get to tell someone else they’re not doing engineering
Kraj razgovora
Novi razgovor -
-
-
I think
@gurlcode said that repetition is a tool creating a rhythm, like in prose, and that stuck with me - Još 3 druga odgovora
Novi razgovor -
-
-
@beyond_code wrote a good post on this years ago http://beyond-code.com/blog/abstractions-repetition-discovery … Pete also delivered a great talk on leaky abstractions but I can’t find the recording right now
-
That’s a great post. It doesn’t argue against DRY; it explains it properly. “State everything once” - so if you stated it zero times, that’s not enough!
- Još 2 druga odgovora
Novi razgovor -
-
-
It’s a fine line. I got asked on a PR why I like to pass singular objects as params instead of arguments by position. Reason: you can’t guarantee the signatures integrity after it’s created with even one argument. So keep signatures small, and just pass properties Fine lien
-
This: Function(p1, p2, p3) Can turn into: function(p1,p2,p3,p4,p5) Prefer to: function(<object>) <object> P1: 1 P2:2 P3:3
- Još 2 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.





eng manager at 
she/her. I'm trans!

New on Overreacted: Goodbye, Clean Code