2 ms·
> What languages exist that are hard to write bad code in? Plenty of languages exist that are hard to write any code in, good or bad.
by neolog 6y ago
> What languages exist that are hard to write bad code in?
Plenty of languages exist that are hard to write any code in, good or bad.
- carlmr 6y agoI often think that stopping people from writing code might be the best way to avoid bad code. Stricter languages like Rust, ADA, or even F# (quite strongly typed), will not let you compile until you reach a certain level of explicitness/correctness. Thereby teaching you some basic things until you can compile. Languages like Perl and Python allow you to do a lot of things, which ends up unmaintainable because it's too easy. The easy version just breaks during runtime then.