What are some great truths of computer 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.