Saturday, May 9, 2015

Programming LAWS

Hello Guys,

Here i am listing some funny programming laws, but i think that all of them are saying truth or tells us what is the actual reality.

Please check it out and also waiting for your comments.
  • If debug is the process of removing bugs then,
    programming must be the process of putting it in
  • Any given program, when running, is obsolete
  • Any program will expand to fill any available memory
  • Program complexity grows until it exceeds the capability of the programmer to maintain it
  • Once a software project starts, the schedule until it is completed is a constant
  • A task always takes longer than you expect, even when you take into account Hofstadter’s Law
  • “Don’t worry if it doesn’t work right. If everything did, you’d be out of a job” 
    - Mosher’s Law of Software Engineering
This is the last which i believe.
  • There is always one more BUG
Some if condition that will make you confuse at first look please check it.
  • !(a && b) == (!a || !b)
  • !(a || b) == (!a && !b)
There are lots of other funny laws available you can check it on following like.

This all is just an hour of copy paste...

I started writing blog just to put some funny contents as well as some regular but really strange bugs we are facing everyday.

Please Guys put your reviews, suggestion in comments.