Recursive programming and wordplay

Here is a short note on the concept of Recursion which is interesting to say the least, powerful in many cases and playful in some.

Dictionary.com defines Recursion as 'the process of defining a function or calculating a number by the repeated application of an algorithm, and is connected with Mathematics and Computers'. And it defines the Recursion formula in Mathematics as 'a formula for determining the next term of a sequence from one or more of the preceding terms'.

In mathematics, a self-explanatory example would be the Factorial function: {N ! = N X (N-1)!}; N stands for the nth term. Another one would be the Fibonacci series {N = (N-1) + (N-2)}.

In essence, Recursion as a concept is when something references itself to define itself; and the fields of programming and mathematics is peppered with it. 

In computer programming Recursion is used often and has many use cases. Here, Recursion works by solving for something by referring to a smaller version of this something. If we take the factorial example, a Recursive function looks somewhat like this : {define a function : factorial n= if n is 0, then the answer is 1,  otherwise the answer is n * factorial (n-1) function }. Here the (n-1) factorial function towards the end is a smaller version of the (n) factorial function. And this loop continues till the base level is reached.

On a related note, Recursive Acronyms are also common in the world of computer science. I am wondering if these playful names popped up because Recursion is used quite a bit in computer programming (common in mathematics as well, which is a connected field); and from what I know, it become popular in MIT in the mid 1900s.

Some Recursive Acronyms in the field of computer science (they are many more):

GNU - GNU's is Not Unix PIP - Pip Install Packages NoSQL - NoSQL is not only SQL

Thank you for reading and do share if you know more about the history of Recursive acronyms.

Disclaimer: The views expressed in this post are my own and do not necessarily reflect the views of my employer.

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

Ajr Vasu的更多文章

  • Brevity is elegant and effective

    Brevity is elegant and effective

    We recently celebrated Srinivasa Ramanujan's birth anniversary (22 Dec) as National Mathematics Day in India. Both here…

  • Data and Analytics./Data./Reality./2

    Data and Analytics./Data./Reality./2

    This quick one is not very consequential; rather a wee bit informative and perhaps entertaining. The word 'Data' is the…

  • Data and Analytics./Data./Reality./1

    Data and Analytics./Data./Reality./1

    Data Reality - Quality over quantity, period. However big the data are Like someone from the data science world said…

    3 条评论
  • This is why Math is...

    This is why Math is...

    sometimes frustrating but usually fascinating. Here is the famous Ramanujan Summation: 1+2+3+4+5+.

    1 条评论
  • (Part 3 of 3)- Is Data Science for you?

    (Part 3 of 3)- Is Data Science for you?

    Part 3: How to prepare for a career in Data science? This is the concluding section of a three part series, you can…

  • WHAT's NEXT in SALES ANALYTICS?

    WHAT's NEXT in SALES ANALYTICS?

    Accelerate #Distribution in the Hinterland in India. To know how to tap into this RURBAN opportunity register yourself…

  • (Part 2 of 3) - Is Data Science for you?

    (Part 2 of 3) - Is Data Science for you?

    This is part two of a three part series on planning a Data science career (you can read part 1 here). Part 2: Points to…

  • (Part 1 of 3) - Is Data Science for you?

    (Part 1 of 3) - Is Data Science for you?

    Every now and then I receive emails/ calls from young minds on whether they should take up Data science, in some cases,…

    1 条评论
  • The Good, Bad and the Average

    The Good, Bad and the Average

    Learning from 'Outliers' While looking at some algorithms, I ran into Gaussian Elimination; the simple yet elegant…

  • R or Python for Data analysis?

    R or Python for Data analysis?

    This is one of those questions which will evoke an endless, emotionally charged debate. There are detailed analysis and…

    11 条评论

社区洞察

其他会员也浏览了