"Code that writes Code - Meta Programming "

"Code that writes Code - Meta Programming "

No no no, I am not talking about Ai at all here. I know there is buzz word everywhere that Ai gonna replace developers and Ai writes code. But this Article is not all about the same, and for that matter if by any chance you understand how Generative Ai works, and How they use LLM's, So, believe it or not we are way far from General-Ai as if now. they are just Hypes going around Ai will replace developers soon, to me it's just making Generative Ai more demanding that's it.

So, if its not about Ai writing Code, what do I mean here Code that writes Code. I came from C++, java background, but for last 5 plus years I been into Ruby and Rails. As any scripting language, it's slow, and if you are from C++ world, that slow is very slow. for first few years, I kept thinking why Ruby as language is even relevant to be in this world, Every article or Ruby developer would say it's because of Rails, no doubt the MVC framework brings lots of advantages to web development, but same we could have in java or c++ and at the same time have better speed too. this curiosity kept haunting me. But a year ago, I got to know that Ruby has meta programming, and which is one of it's strength. As coming from java, Meta programming is quite alien to me. and it was really hard to understand as a concept as well. I couldn't understand why all these jargons keep coming up, and for that matter I been using Rails for 4 years by then I hardly did any meta programming or so, we are busy building things in MVC and that's suffice our needs. then why the hell the Meta Programming is in this world. out for curiosity I asked GPT to tell me about Meta Programming. the first line it wrote was, "Code that writes Code", like anyone I thought oh it's an Ai tool in ruby. but then I realised ruby is almost 30 years old language which Ai we are talking about. then my curiosity got wings, and I got deeper and deeper. We hardly found any stuff on "Code that writes Code.." for Meta programming but my curiosity didn't let me sit. I started understanding what features make Meta Programming and How it is connected to Code coding itself. the more I learned about Meta programming in Ruby, I realised people hardly know about Ruby's actual strength which actually is Meta Programming. No other Languages gives such possibilities the way Ruby gives it..!

I am sure you all must be curious to write a "Code that writes Code.."

will be sharing soon more on the same.... Meanwhile while start thinking of Meta Programming...



That's fascinating! For Ruby to be around for 30 years and do something we thought was so uniquely AI is really incredible. I don't know enough about it and it seems it hasn't gotten the attention is deserves in this space. Great article. Ritesh Kapoor!

Like
Reply

To view or add a comment, sign in

Others also viewed

Explore content categories