Development quotes of the week
It doesn't take much work to make the code look nice. Writing pretty code is always a good idea because then people assume you know what you're doing.
Posted Aug 15, 2020 22:06 UTC (Sat)
by willy (subscriber, #9762)
[Link] (6 responses)
Posted Aug 16, 2020 19:31 UTC (Sun)
by mathstuf (subscriber, #69389)
[Link] (5 responses)
Posted Aug 16, 2020 19:41 UTC (Sun)
by willy (subscriber, #9762)
[Link] (4 responses)
So, there is a level of misdesign that's worth breaking backward compatibility for. Apparently gets() rises to that level, but strerror()s lack of const doesn't.
I feel this decision by the C standards committee to be a bad one.
Posted Aug 17, 2020 13:38 UTC (Mon)
by mathstuf (subscriber, #69389)
[Link] (3 responses)
As another example, even the kernel will remove old, bad, or insecure interfaces at times. Sure, it takes just a single (hopefully involved) user to say "I was using that" to have a strong argument for restoration, but I've not seen (or looked for) anyone screaming that `gets` is gone. Though if it gets them to port away from C in anger…maybe their project will just be better for it anyways ;) .
On a somewhat related note, I actually find it an interesting phenomenon that we're creating with expiration of things like digital signatures and the like. We have these really old programs which don't/can't/won't change written decades ago. But in 10 years, things from today are likely to have expired mechanisms surrounding them. So eventually we could be in a situation where running a century-old binary will be easier than running a 40-year-old binary because the latter cares about the date either to run or to communicate with the world[1]. So removing interfaces that were introduced later may actually be easier because "no one" would be able to run any software that was made while the interface in question was available and recommended (the best/easiest solution would likely to find a contemporary version of the platform rather than try and run it on a modern version).
[1]Sure, time namespaces are looking to be a thing, but that doesn't help my TOTP generator or TLS-using program from communicating with the world.
Posted Aug 19, 2020 22:57 UTC (Wed)
by flussence (guest, #85566)
[Link] (2 responses)
Posted Aug 20, 2020 23:38 UTC (Thu)
by rietta (guest, #133698)
[Link] (1 responses)
Posted Aug 21, 2020 1:00 UTC (Fri)
by Cyberax (✭ supporter ✭, #52523)
[Link]
It's not feasible anymore. You won't be able to just take Apollo project blueprints and build your own rocket. You'll likely find that there are no modern alloys that perfectly replace the ones used back then, that some substances might be banned entirely (e.g. carbon tet fire extinguishers or PCBs in transformers), or that some tools are no longer produced.
The solution here is to move forward and standardize ever larger components, so it would be easier to keep them working. E.g. HTML for UI description is becoming such a standard.
Development quotes of the week
Development quotes of the week
Development quotes of the week
Development quotes of the week
Development quotes of the week
Development quotes of the week
Development quotes of the week
