sburrow wrote:
Since the topic has strayed some, I might as well keep that trend going.
Well...
sburrow wrote:
As a mini-rant, I see some of my students learning C++ today. They show me their code, and I laugh. Stupid 'cout'. I'm happy for those of them, or you, that like that sort of thing, but I am a printf() only kind of guy. And... I keep wondering: Why are these programming students not actually doing their own projects on the side??? Like, they do what the class requires of them, yippie, but aren't they supposed to be doing stuff on their own, in their spare time? I took a computer class each semester, but I was CONSTANTLY programming video games and other things on the side... and I was just a math major, and I had a 39.5 hour job! Is it normal to have students now-a-days just follow the laid-out curriculum and stop there???
I'm currently ploughing my way through reams of mostly un-documented code of very questionable quality to try to understand how a particular ARM development board works at the "stand-alone" level. There are a dozen or more project (including the Linux kernel) which target this system.
The code quality is shocking (to me). One project has at least 3 different ways to print text through a UART and to the screen - because - I don't know, but I'm thinking that the person who bludgeoned that particular thing together just pulled in files, etc. from various github, etc. places and hit them on the head until it worked. They even have their own version of 'malloc' when there is a perfectly good one in a standard library aimed at standalone systems ('newlib').
So I'm effectively re-writing it from scratch now that I understand some of it, but modern systems are just far too complex. Give me a nice little 6502 any day! (except when I want to port a large 32-bit application...)
Quote:
Rant over I guess. Thanks!
Cheers,
-Gordon
(and the rest of us older folks who'd grumble about their lawns, etc.
_________________
--
Gordon Henderson.
See my
Ruby 6502 and 65816 SBC projects here:
https://projects.drogon.net/ruby/