News for hackers. Stuff that matters.
Re:Falling in love with OpenBSD again by hedora on Saturday March 16, 2019 @06:02PM (#19410614)
It definitely encourages its developers to suck.

More politely, it comes with non-removable training wheels, which makes it OK if you’re getting started as a developer, but a terrible choice for projects that will require experienced developers.

Re:Falling in love with OpenBSD again by darkpuma on Saturday March 16, 2019 @09:17PM (#19411539)
I would phrase that as "It doesn't encourage developers to get better."
Re:Falling in love with OpenBSD again by hedora on Saturday March 16, 2019 @10:53PM (#19411914)
Not my original wording, but it definitely includes roadblocks that prevent developers from progressing after a point.

Examples:

Type erasure means the standard library doesn’t quite use generics right, so you end up sprinkling unchecked casts all over the place.

It is nearly impossible to handle resource lifetimes correctly, even with autoclosables.

No unsigned types, so many advanced algorithms are neigh-impossible to express, let alone rediscover.

Encapsulation for primitive types comes with a high runtime overhead (cache misses, gc pressure)

Package-private doesn’t quite do what you want for large projects, where you want to split API implementations into multiple packages.