Monday, 24 January 2011

Re: [jamia millia btech computer 07 batch] New photo

Hi Faizan, First, Ofcourse Every  know meaning of -, but not all person know the meaning of ==. Even not all programmers know. eg Shell programming.  Second, At the same pltform you may not be able to use == operator, as operator depends on language used. While "1" is a constant used in most of the language representing TRUE. Even if you are considering JAVA, the value stored in the Boolean variable has Binary value 1 to represent a TRUE. Many platform supports "1" as a TRUE representation.  Third, Yes any fool can get the meaning of "1 equals 1", But I want to make you remember that no one is fool in this world. And how come to make you know that a simple guy can understand == as a comparision operator.
Pervez Alam 9:40pm Jan 24
Hi Faizan,
First, Ofcourse Every know meaning of -, but not all person know the meaning of ==. Even not all programmers know. eg Shell programming.

Second, At the same pltform you may not be able to use == operator, as operator depends on language used. While "1" is a constant used in most of the language representing TRUE. Even if you are considering JAVA, the value stored in the Boolean variable has Binary value 1 to represent a TRUE. Many platform supports "1" as a TRUE representation.

Third, Yes any fool can get the meaning of "1 equals 1", But I want to make you remember that no one is fool in this world. And how come to make you know that a simple guy can understand == as a comparision operator.
Comment History
Faizan Hasan
Faizan Hasan8:46am Jan 21
1 equal to 1 (1==1) is more readable...everyone know what = is....and while(1) is not while(true)....not at all....when u write while 1 is equal to 1.....any fool can get that....
Also....my next point was this only....while(1) is not universally allowed....although while(1==1) is present in most of the languages....including Perl,Java....
Pervez Alam
Pervez Alam11:27am Jan 20
@Faizan: Bhai I don't think non programmer willeven know meaning of ==
Inspite putting only "1" will give impression of TRUE to any one, Programmer or non..
Again You are a Java Programmer I expected a while(true) from you
:)
Faizan Hasan
Faizan Hasan3:02pm Jan 16
i doubt while(1) is as readable as while(1==1) is....i dont think any non-programmer can appreciate what while(1) is!....but can understand what the tag meant when it says while(1==1)
Pervez Alam
Pervez Alam10:01am Jan 16
:-)
Rizzwan Firdous
Rizzwan Firdous12:06am Jan 16
@prvez- itni codinh muje aati to meri fsw nahi lagti lab me.. :P
View All Comments
Original Post
Rizzwan Firdous
Rizzwan Firdous12:05am Jan 15

View Post on Facebook · Edit Email Settings · Reply to this email to add a comment.

No comments:

Post a Comment