Tuesday, 25 January 2011

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

Wow!!... i urge people who are going to appear for next company to go through this post.  ;)
Syed Ali Rizvi 3:52pm Jan 25
Wow!!... i urge people who are going to appear for next company to go through this post. ;)
Comment History
Faizan Hasan
Faizan Hasan10:31am Jan 24
Also....In JAVA...boolean variable do not take "1" as TRUE....if it is bit based....it is decided on 0 or 1 bit...if it is byte based...it takes the 2's complement of 1 as the TRUE value....
Faizan Hasan
Faizan Hasan10:29am Jan 24
Obviously....u know anything about manipulation.....when some one see while(1)....he might manipulate it while only one time....which is completely logical....on the other hand.....any person can manipulate == as something related with equality coz of = sign.....so while (1 is equal to 1) is always more readable.....
Pervez Alam
Pervez Alam8:12am Jan 24
Again, while while(1) is not universal, neither while(1==1) is universal.
Now, I just want to tell you that I suggested this thing to be corrected as it was for T-Shirt, and that would have taken more space in writing, but i don't think that there is lots of space for "keep on writing" on T-Shirt.
:-)
Pervez Alam
Pervez Alam8:10am 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.
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....
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