Share this page

Kodiak64 Newsletter

100% free, 100% spam-free!

(You can view a sample here).


Why I Hate C64 Pseudo Code

Posted on

By Kodiak


If you've ever trawled through the many detailed coding article on Codebase64.org, at some point you will have come across something that looks like this:

C64 Pseudo Code

(Taken from this original article).

Yes, I don't know what it means either.

This is what is known as "pseudo code", which is supposed to make everything easier.

And I'm sure for some coders, it actually can do so, if it's their own code and they know what they're doing with it.

So what's my problem with it?

  • It's illegible gobbledegook and might as well be written in Chinese or Vedic Sanskrit.
  • When combined with macros, I hear the outcome is bloaty code that needs to be trimmed down (not that I have personally dabbled in this because of my already stated dislike for it).
  • It seems to present an extra layer of abstraction between the coder and pure, unadulterated 6502.
  • It might also have a touch of pretentiousness about it or constitute an effort to sex-up 6502 to match the look of the likes of JavaScript.
  • It always seems to appear in lower case mnemonics, another thing I dislike.


Of course, this is meant as no insult to those who are fond of it, and certainly the coder who wrote the snippet above is in the elite of the C64 demo coders (the truly awesome Ninja of The Dreams), so seriously, no disrespect to him.

But for lesser mortals like me, it's an unwelcome sight (unless, that is, it's something like this thing of great beauty).

Interested in coding games on the C64? Check out this book on Amazon (and yes, I get a tiny pittance if you buy via the banner below):



____


PS: Don't forget to check the home page regularly for more articles like this and visit the Everything64 Forum to comment further.

And of course, kindly follow me on Twitter and subscribe to my YouTube channel!

Share this page

Kodiak64 Newsletter

100% free, 100% spam-free!

(You can view a sample here).