Meta-Programming ...!

Meta-Programming ...!

The more I learned about it, The more I loved it. I have been in touch with Coding for last 26 years. Unfortunately, got in touch with Meta-Programming just 2 years back. At first it was kind a bouncer, and sooner things started changing my perception. We always been taught that there are 2 parts in Coding:

  1. Data
  2. Code

And code's job is to work on Data to create the value, required to solve the Problem in hand.

But just image, if language creates it's Code as Data as well. Just think, there is Data and there is another Data( which is Code ), what does code do it manipulate the Data. So, now our Code is Data as well, that means as code can manipulate Data, and Code itself is Data. we get into the world where our code can manipulate the code itself. It can change it, it can make it, it can do whatever we like to do.

That's the world of Meta Programming. which actually opens the whole new world of infinite Power, at the same time the whole new world of complexity. Let me tell you, when I say a world of high Complexity, it would be a understatement. why..?

when I started coding, my Guru, told me there are 2 kinds of error you stuck into. one is syntax error and another is logical error. For Syntax error, you need to be very well learn the rules of the language. and for logical error, he taught me a magical tool "Dry-run" which is very straight forward you execute line by line your own code in your mind and keep updating things as per each execution and you get to the issue why the output is not the way it is expected. Pretty simple right..! But there is one condition, you need to have the code in front of you on which you do a Dry-run. Now, lets just image in world on Meta-Programming. Your Code writes the Code. and that Code which Code has written is not in front of you. How the Hell am I going to run the Dry-run. People call it Ghost Code. That's why I said High Complexity is just the understatement. But I don't know why..!! But I love it... I cannot even resist to love this idea of Ghost Code...

if you love Ghosts, love to hunt them down.... Meta-Programming is for you...!

Share some Use-cases, which cannot be solved without Meta-Programming, or Just wait for my another Article on Hunting Ghosts...


Dustin Hauer

I Manage (and Grow) your Brand's Social Media so that you don't have to | Top 1% LinkedIn creator U.S. & worldwide.

9 个月

Ever evolving and updating code would be an incredible and unstoppable force. Great article, Ritesh Kapoor!

回复
Sidhaarrth S Nayyar

Mastermind of Branded Content through Visual Storytelling: Writer, Producer, Director, and Design Strategist Driving Creative Advertising, Digital Marcom with Global Production Excellence

9 个月

Change is the only constant... Thats Meta programming

要查看或添加评论,请登录

Ritesh Kapoor的更多文章

  • It's a Fair Deal...! is it..??

    It's a Fair Deal...! is it..??

    Let's do some Thinking Exercise..

  • Integrity is the Glue ( T&M )

    Integrity is the Glue ( T&M )

    Well know investor, or should I say biggest investor, or should I say most successful investor of our time, Warren…

  • How T&M, changed the world..!

    How T&M, changed the world..!

    West call it T&M ( Time & Material ), East call it Outsourcing, call it whatever name you like it. It doesn't make any…

  • Content type vs Attention

    Content type vs Attention

    Our Brains are always busy looking for something to keep itself busy with. All the meditation guru's job is to make…

  • Coding vs Selling

    Coding vs Selling

    I know, you must be thinking, what the hell is that. No body every compared coding vs selling.

    2 条评论
  • Sales: Logic or Emotions..!

    Sales: Logic or Emotions..!

    There is saying, if you are in Sales, and didn't get a chance to do Door to Door in your Sales career, You know nothing…

    4 条评论
  • Social Selling Index

    Social Selling Index

    New Asset in town, Old world had assets like Real-estate, Gold, Equity etc. and Rich work hard to accumulate all these…

    2 条评论
  • Compiled vs Interpreted

    Compiled vs Interpreted

    Trade-off, Trade-off's everywhere..

  • which one you want most..!

    which one you want most..!

    At this moment of time, which choice do you want the most. is it Being Rich, Being Healthy, Being Loved, or Being…

    2 条评论
  • Most Valuable Skill..!

    Most Valuable Skill..!

    Here, comes the Million Dollar Question..

    2 条评论

社区洞察

其他会员也浏览了