Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualParadigm Shifter

Posted 26 April 2013 - 01:23 PM

Like I said, I'm not going to argue. I just wanted to post my poor Sonny & Cher joke.

 

Note both Java and C# use int[] foo; to declare arrays, much more sensible.

 

And in C#

 

int* foo, bar;

 

actually does declare 2 pointers to int. Confusing (for C/C++ programmers), but consistent.

 

There's a lot of things I'm sure they would have done differently had C been invented later on (I'm looking at you, precendence of logical operators).


#2Paradigm Shifter

Posted 26 April 2013 - 01:07 PM

Like I said, I'm not going to argue. I just wanted to post my poor Sunny & Cher joke.

 

Note both Java and C# use int[] foo; to declare arrays, much more sensible.

 

And in C#

 

int* foo, bar;

 

actually does declare 2 pointers to int. Confusing (for C/C++ programmers), but consistent.

 

There's a lot of things I'm sure they would have done differently had C been invented later on (I'm looking at you, precendence of logical operators).


#1Paradigm Shifter

Posted 26 April 2013 - 01:05 PM

Like I said, I'm not going to argue. I just wanted to post my poor Sunny & Cher joke.

 

Note both Java and C# use int[] foo; to declare arrays, much more sensible.

 

And in C# int* foo, bar actually does declare 2 pointers to int. Confusing, but consistent.

 

There's a lot of things I'm sure they would have done differently had C been invented later on (I'm looking at you, precendence of logical operators).


PARTNERS