About Programming Languages

Or OMG did you know there are 50 different classifications of programming languages???

So, I've been trying to focus a little bit more on my training, being that I am a junior and all.

My current goal is to finish a chapter a day of a book recommended by our CTO "Metaprogramming Ruby". While I achieved my goal today, it has required a little bit of focus. The book seems quite interesting and concentration was good until one question popped in my mind. 💡 What other metaprogramming languages do I know?

"Metaprogramming is writing code that writes code."
Excerpt From: Paolo Perrotta. “Metaprogramming Ruby 2”.

Of course I lost concentration and I went asking almighty google. And the non-less almighty wikipedia readily answered. Well, not directly to my question but still... And I found out that there are no less than 50 kinds of programming languages!! Some of them are sub-categories and classifications from different angles but still... 50!

50

So I started wandering around the wikipedia classification and identified some languages I knew (oh, yes, forgot to say I'm not a "real junior". I was a developer before, but I'm a junior at web development).

While checking that, and learning more about types of programming languages, some rather nice and interesting memories came to mind. And I felt like sharing them, cause, you know...

why not?

What surprised me the most was the amount of different types. Of course a certain language can fall under different classifications, but still. I barely remembered compiled and interpreted languages from my university days. Maybe also procedural rang a bell... but that's about it.

So, here it comes. My thoughts and memories from working at a certain point in my life with some of those languages.

If you came here looking for a thorough description of all categories or a very technical-ly post, sorry to disappoint you... this ain't it. Look at it more as a recreational walk through my "programming life".

not today

Let's start with COBOL

COBOL falls under three different classifications: Compiled, Imperative and Procedural.

This language was designed in 1959 and yes, my friends, I've used COBOL. It was back in... oh gosh, it was so long ago that I would need to calculate the dates... Anyhow, I remember it was before university, at technical high school. And I remember writing code one day, leaving it compile overnight, coming back the next day and finding out the results of either the execution or the errors printed in a gigantic perforated-paper printer. Yes, I am that old...

old printer

You can imagine how complicated that was. We were doing small simple programs, we were students but still, a small mistake would mean having to wait yet another day to have the results.

It has obviously evolved over the years and since 2002 it has become an Object-oriented language since then.

Next in memory lane is ADA

ADA falls yet again under many classifications: Compiled, Concurrent, Imperative - Procedural, Multi-paradigm, Object-oriented and System programming language with manual and deterministic memory management (no link for this, sorry, look it up 👀).

The only thing I remember about ADA is that it helped me pass my Operative Systems exam in my last year of university. I remember it was a simple language (it might be because of OO). And I remember telling my friends that studying ADA could actually save us from failing the exam. I thought of it as a low investment high ROI. Turns out it was a good strategy... for me. Many of them didn't listen... and failed.

told ya

Lets talk about C

Not that I like C, in fact this is the only subject I dropped in university. I simply hated it. My sister though, loved it. I remember having to write some code to simulate a typewriter. Having to manipulate all the memory directly and all that complicated stuff, I just simply couldn't stand it. Always found it way too complicated. Hate, hate, hate.

vade retro

C is also Compiled, Imperative - Procedural and System programming language with manual and deterministic memory management (did you look it up before?).

I'll skip a few years and languages, cause I guess you have a life and things to do other than reading this, right?

Let's move on to ABAP

This is an easy one, only one category. As it turns out, ABAP is a 4th Generation language (4GL). I didn't even know that existed...

ABAP is the language created and used by SAP. The all-mighty says "It is extracted from the base computing languages Java, C, C++ and Python", but I would have compared it (at least in the first years) with COBOL... but what do I know... I didn't even like C!

Do I like it? Well, I didn't dislike it, to be honest. I worked with it for about 20 years, so I guess the answer might be yes. It is the only language I've actually used professionally (other than Ruby), so I don't think I have much criteria to compare. Or maybe I do...? 🤔

Ruby. It's a wrap.

In the end this is the language at the origin of this post. If you are a web developer you most likely know Ruby. If you don't it's never too late.

Did you know that Ruby is an Functional (impure), Imperative, Interpreted, Object-oriented, Meta-programming language? Well, know you know.

your welcome

I found learning Ruby was easy. It took a while to get used to the fact that so many things where just so easy to achieve. At the beginning of my training I would develop methods to do simple tasks to later on learn they already existed. Now, I am learning that most of those methods exist thanks to Meta-programming which seems fascinating to me.

Well, well, well, after all these interesting facts it is now time for me to go back to learning. There's so much to discover! Ups, almost forgot! Check out the wikipedia link that brought me here!

What are your favourite languages? Any memories worth sharing? We would love to hear about it. Share your thoughts in Twitter.