Monday, September 16, 2013

International Programmers’ Day: 256th Day of Each Year

Programmers’ Day is a professional holiday recognized in many technology companies around the world.
It is celebrated on 256th day of every year, September 13th or the 12th on leap years.  The holiday is officially recognized in Russia and observed in several other countries, including Israel, Brazil, Mexico, Germany, Canada, China, France, India, Belgium, Australia, New Zealand, Poland, Italy, South Africa, the United Kingdom, and the United States.

Why the 256th Day of the year? The number 256 was chosen because it is the number of distinct values that can be represented with an eight-bit byte, a value well-known to programmers everywhere. A byte can have 256 possible values, bytes are very important to programmers. Not because they are required for programs to work, but because the payroll system and Krispy Kreme doughnut cash registers require them. 1111 1111 is the 256th value start from 0000 0000( January,1st )

0000 0000
0000 0001
0000 0010
0000 00011
.
.
.
11111 1111



Programmer?

A programmer, computer programmer, developer, coder, or software engineer is a person who writes computer software. The term computer programmer can refer to a specialist in one area of computer programming or to a generalist who writes code for many kinds of software. One who practices or professes a formal approach to programming may also be known as a programmer analyst.

        #include<stdio.h>

int main()

{

printf(“Hello World\n”);

return 0;

}

Above is a sample program,  write in "C" programming language. This program will print "Hello World" on command prompt. Above code need to compile first using C compiler. Compiler will analyze the code, check whether the syntax is correct or not and then generate machine codes( codes that computer can understand). The compiler will generate execution files ( e.g helloworld.exe in Windows environment ).

Do you want to be programmer?

P/S: Am I still a programmer?

Source: