News for hackers. Stuff that matters.
Re:In CPython, types implemented in C are part of the type tree by neolog on Thursday December 24, 2020 @06:47PM (#25532748)
> 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.

Re:In CPython, types implemented in C are part of the type tree by carlmr on Friday December 25, 2020 @01:27PM (#25538091)
I 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.