Funny and Interesting Facts About Programming

Funny and Interesting Facts About Programming


Five Facts about Dennis Richie – The Inventor of C Language
Why Programming is the Must Needed Skill For A Hacker?

We all know the task of programming in computer science. But there are still so many interesting and funny facts about Programming and programmers which are known by a few people. In this article, I will be sharing 10 interesting facts about programming which will help you to know more about programming.

10 interesting facts about programming

1. There is a thing called “Constant Variable”.

My teacher asked me one day, What do you mean by “Variable”? I said: the value of a variable can change within a program. The other asked, What do you mean by “Constant”? I said: the value of constant can’t be changed. Another question was, What do you mean by “Constant Variable”.
2. A parent can kill its children if no longer needed.

Such an evil concept. How the f*ck a parent can kill its children when if the task assigned to them is no longer needed.

3.The root is at the top of the tree.

Anything can happen in programming and here is the example. The first and the top element of a tree is Root. Well.

4. ‘=’ != ‘==’

It has been a big confusion for a beginner. How an equal to is not equal to equal to equal to . xD

5. That ‘ dead moth’

The first actual computer “bug” was identified in 1947 as a dead moth. It was stuck in a Harvard Mark II computer. And now the generation of dead moth is living in the form of 0 and 1s .

6. Ctrl C, Ctrl V, and Ctrl-Z have saved more lives than batman.

Yes, Batman, it is true. The amount of copied code is hundred times more than typing a code . The Ctrl-Z is better than a time machine.

7. Programming and coding are not same.

A coder is clearly instructed on what should be done and what needs to be accomplished. But as a programmer, you must be able to imagine a broad set of solutions to a problem before you even start writing codes. A programmer is a coder but a coder may not be a programmer.

8. Who Invented Java, and when?

James Gosling, at Sun Labs, around 1992; the group was building a set-top box and started by “cleaning up” C++ and wound up with a new language and runtime.

9. PHP wasn’t Meant to be Programming Language.

Lerdorf, the PHP founder, has never intended for PHP to become a programming language for world. He had created the language, or interface at the time, for the purpose of managing his personal website.

10. The first programmer was a lady.

Can’t a girl code? The first ever programmer on this earth was a female, named Ada Lovelace. She was a writer and gifted mathematician and the first woman to devise an algorithm that could be processed a by a machine.

Read: Best websites to learn programming

COMMENTS

WORDPRESS: 9
  • comment-avatar
    Knut 12 months

    A typical variable issue with constants is related to Fortran kind of parameter passing: Call by reference:
    int FTNroutine( int *i) {
    *i = 2;
    return *i;
    }
    Include this is code: i = FTNroutine( &j ); or in FORTRAN as j = FTNroutine(1)
    Now you have made the constant 1 to 2, and it is really up to the compiler to limit the damages.

    The double up assignment relates to Algol / Simula, before that, assignment and comparison was the same operator. In C, Kernigan and Ritchie got the point “=” is an assignment, just as “:=” in Simula/Algol, and “==” is the comparison. While Algol/Simula demanded comparison only in a condition, C allows the mix of assignment and comparison. Bjarne Stroustrup defined C++ and made a huge error in allowing to many construction modes. He introduced a lot from Simula because he had full visibility to the work that was ongoing with making “Beta” – the system programming language to Simula. Java corrected some of this to reduce memory leakage and simplify memory management. Maybe it is time to relaunch Simula.

  • comment-avatar
    Naveed Ayub 10 months

    I think programming is the most difficult thing in the world , i have failed C++ for three times in my engineering career :p but still i really want to invent something by programming, and i found your work very informative 🙂

  • comment-avatar
    Anonymous 10 months

    Try out D lang. It is like C++ and very cool. 🙂

  • comment-avatar
    ridi 10 months

    first coder wasn’t a lady , stop that lie . we don’t have any evidence to prove that .

    • comment-avatar
      goddesignedC 9 months

      was thinking the same thing dunno where people got that shit from

      • comment-avatar
        Anonymous 8 months

        That’s true she was the first programmer.

        And to our surprise she wrote programs for a machine(Analytical Engine) which was not even invented in her times.

        Charles Babbage designed Analytical Engine but the actual implementation was done years after they both deceased.

        Even today programmes are being written for machines that don’t exists. 😉

    • comment-avatar
      David 8 months

      yeah.. not a coder.. She was a programmer and very good one too. She wrote programs for non-existing computer and they worked! She was a first human to make a program (an algorithm written in computer language).

  • comment-avatar
    Pranav 3 months

    Funny. Thanks

  • comment-avatar