As for your reliance on poorly written historic OS from Microsoft accepting grot
Well.. it's not just Microsoft that makes these trade offs. Try passing bad data to Linux system calls and see how far you get before your app crashes.
Whereupon you invalidate your own argument throughout the thread. You almost seem to be defending the indefensible.
You say
"There are literally thousands of workarounds built into Windows to enable broken apps to continue to function ....". If an app crashes due to invalid submission to the OS, that is entirely and utterly the app-writer's problem.
My position is that the OS should provide a graceful end to the app by providing an error response. If Linux doesn't do that, that's a shame. But MS doesn't. According to you, it tries to accommodate the bad data. That is the wrong thing to do. The Linux approach is the more valid.
Heck even easier try passing bad data to C standard library functions; they do almost zero validation.
Quite.
I started on C with absolutely unadulterated K & R from Digital Research. Then used my C programming on MSDOS by converting all of my background libraries including a self-written B-Tree indexed database system to use MSDOS system calls instead of CP/M ones.
That's quite apart from my mainstream interest in business application systems for which my libraries were simply tools. Systems which worked, didn't crash whichever OS they ran on, and didn't crash when unforeseen data combinations or invalid user data was input.
Well it's what you make of it. C# is a much higher level language than C++. It'll do a lot more for you behind the scenes. It has its pros and cons.
That I agree. But both are highly inefficient languages, where the
raison d'etre of C is efficiency. I still believe in code-efficiency. If you have to inherit something that is already more than a couple of levels deep, you should copy the original code and make changes to it reflecting the intermediate changes and your own requirements. Preferably cutting out anything that is redundant.
The indispensable man or woman passes from the scene, and what happens next is more or less the same thing as was happening before.
My broadband basic info/help site -
www.robertos.me.uk. Domains, site and mail hosting -
Tsohost.
Connection -
Plusnet UnLim Fibre (FTTC). Sync 57584/13846kbps @ 600m. -
BQM