Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualParadigm Shifter

Posted 29 June 2013 - 05:59 AM

 

 


Nothing wrong with pascal though, keep on using it.

 

:=

 

==, ->

If you don't have any substantial things to say, don't post.

 

 

I agree about ->

 

However, == has a reason behind it, they (K&R) had a choice between := or = for assignment and = or == for equality. They analysed a load of programs and found assignment was at least 3 times more common than checking for equality, so they made it a single character rather than 2.


#1Paradigm Shifter

Posted 29 June 2013 - 05:58 AM

 

 


Nothing wrong with pascal though, keep on using it.

 

:=

 

==, ->

If you don't have any substantial things to say, don't post.

 

 

I agree about ->

 

However, == has a reason behind it, they (K&R) had a choice between := and = for assignment and = or == for equality. They analysed a load of programs and found assignment was at least 3 times more common than checking for equality, so they made it a single character rather than 2.


PARTNERS