Skip to main content

A Hundred Days of Code, Day 017

Finally done with the program!
It’s a tiny little game.
You’re a wizard battling monsters in a forest.

This was really difficult for me to write and understand.
But I kinda do now, and am better off for it.
Totally worth the slog.

I learnt,

  • the basics of object oriented programming
  • how to write classes
  • how to inherit classes
  • the basics of polymorphism

I’d heard of programming ‘paradigms’ before.
OOP was one of the most bandied about terms I’d heard.

And now that I am slowly understanding stuff, it seems more and more to me, that most stuff is nothing fancy.
It’s just a name. It’s just a name, so that you can convey a lot of information to others in just a few words.

And I realise that all these holy wars over paradigms and languages and editors are all just a fool’s errand.

They’re recipes to make stuff.
They are patterns you can use.
They are tools you can use to bring forth your imagination into being.

There are no better or worse languages, paradigms, tools or what have you.1 There is just this thing. And there is that thing. And there is another thing.

Choose what fits you, your mental model and what you think is best for the work you are trying to do, and the people you have to work with.
It’s mostly just common sense.

The code’s here at Gitlab and Github.


  1. I’m sure, there could be stuff that is objectively flawed, but that pales into insignificance over the flame wars I’ve read all these years.