3 ms·
What seems terrible about it? It looks good to me, although it certainly looks old. Everything is squished together, but presumably they were using much small
by chubot 9y ago
What seems terrible about it?
It looks good to me, although it certainly looks old.
Everything is squished together, but presumably they were using much smaller displays back then. Imagine writing code to be displayed on half of your phone's screen.
The C style is different, because this isn't ANSI C or C99, but that doesn't affect the readability much.
I can't think of any coding practices it breaks. It's low level code, which most people don't have to write these days.
- fit2rule 9y agoIts pretty good C code. I don't share shubhamjains' point of view. Kind of refreshing, in my opinion. I'm trying to think what 'proper modern C' looks like by comparison to this, but I don't think I could personally rewrite this code, modern-C style, comfortably.