Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It sounds like were I was around my 5th year of coding. After 15 years though I changed my mind again on certain things.

> Typed languages are better when you're working on a team of people with various experience levels

I've changed my mind back and forth multiple times about statically versus dynamically typed languages and after 10 years I settled on dynamically typed languages as superior in almost all cases. The main case where statically typed is better is if most people on your team are juniors and you are doomed to produce poor quality code so in this case you might as well 'label the spaghetti'...

I can say with almost 100% confidence that sticking to dynamically typed languages leads to worse quality in the long run. It has to do with loss of separation of concerns and subtleties of human psychology (gives false confidence, leading to neglect, encourages over-engineered interfaces which creates tight coupling between components and thus ossifies design mistakes and makes them less interchangeable and interoperable with other systems).

> Software architecture probably matters more than anything else.

This is the most important thing. 100% true. Glad the author seems to really get this. Some people don't figure this out after 20 years.

> Designing scalable systems when you don't need to makes you a bad engineer.

I disagree about this point. Writing scalable code can be elegant and fast development wise and performance wise. It just requires more careful design to get right. A bad or even 'mid level' engineer will over-engineer it; that's the real problem.

A bigger problem is when engineers create too many unnecessary abstractions and that doesn't scale in any way. In many cases, scalability requires very few abstractions in order to work. It requires very elegant code.



>> I can say with almost 100% confidence that sticking to dynamically typed languages leads to worse quality in the long run.

I meant to say 'statically typed languages' here but the popular narrative is so strong it must have seeped into my subconscious.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: