News for hackers. Stuff that matters.
Re:Attitudes That Lead to Maintainable Code by kazagistar on Wednesday March 08, 2017 @10:22AM (#13820823)
The second point sounds a lot like "fight the language", which doesn't seem right.

We had a coworker implement a custom Either object in Java instead of just using exceptions, and it made the interface significantly less ergonomic. I really like functional return values like that, but I've found that it makes things easier to use the paradigms the language provides.

Re:Attitudes That Lead to Maintainable Code by blowski on Wednesday March 08, 2017 @01:26PM (#13822336)
It's not about fighting the language at all, it's about not letting the language dictate the business rules. The functionality exposed by the app should be the same whether I code it in JavaScript, Go or Assembly. How I implement it in those languages is a detail that comes after I've decided what to implement.