2 ms·
this one is an eye opener and very humble too http://stackoverflow.com/questions/2186595/c-is-there-a-difference-between-return-myvar-vs-return-myvar/2187498#2
by yread 15y ago
this one is an eye opener and very humble too http://stackoverflow.com/questions/2186595/c-is-there-a-difference-between-return-myvar-vs-return-myvar/2187498#2187498 http://stackoverflow.com/questions/2186595/c-is-there-a-diff...
edit: also thanks for making me spend probably next several hours reading through all that stuff :)
edit2: oooh this one is good as well http://stackoverflow.com/questions/3110154/why-is-the-explicit-management-of-threads-a-bad-thing/3111104#3111104 http://stackoverflow.com/questions/3110154/why-is-the-explic...
edit3: Not from Eric but check out this C# code:
sbyte[] foo = new sbyte[] { -1 };
var x = foo as byte[]; // doesn't compile
object bar = foo;
var f = bar as byte[]; // succeeds
var g = f[0]; // g = 255
edit4: oh and check out this description of c# compiler actions
http://stackoverflow.com/questions/1917935/how-does-c-compilation-get-around-needing-header-files/1918663#1918663 http://stackoverflow.com/questions/1917935/how-does-c-compil...