Per says Jun 23, 2008 09:47AM so now they are done taking features from Haskell, I wonder what language is next...
amix Jun 23, 2008 10:07AM i root more for PHP's equality relation: "false" == true -> true while "false" == false -> false
Per says Jun 23, 2008 10:11AM that "any string equals 0" is pretty hard to debug when you encounter it the first time, trust me..
Spand says Jun 23, 2008 12:02PM Personally, I cant wait till I can do <?php ?> in C#, or maybe <?jscript ?>. oh the opportunities !
mxstone says Jun 23, 2008 01:11PM I code in c# and I digg it as a language, I think a lot of the things in 3.5 make for lazy programming though.
mxstone says Jun 23, 2008 01:15PM but the use of generics in c# is far more limited than their java brethren IMHO
amix Jun 23, 2008 01:42PM i thought c#'s generics were more powerful than java's (because they are available at runtime)
amix Jun 23, 2008 02:02PM knienmczak: then they are more powerful in C# as in java they are only available on compile time
Schwarz says Jun 23, 2008 02:03PM amix: There is no F-bounds on generics in C# so you cannot express existensial types like you can in Java
amix Jun 23, 2008 02:08PM jea, that could work. weird that they don't add it as it would open up for a lot of hackery and make reflection easier
Schwarz says Jun 23, 2008 02:26PM that is what we just talked about. I think they should add the reflection to java
Schwarz says Jun 23, 2008 02:28PM but it would be harder to use in java since the type parameters do not have to be proper types like in C#
sweetestsmiles says Jun 23, 2008 02:29PM will consider migration if is useful for mathematical / computation work and others
Schwarz says Jun 23, 2008 02:30PM for example you can say List<String> in both java and C# is you say
Schwarz says Jun 23, 2008 02:31PM But in java a type can also be List<? extends String> which is not a proper type
Schwarz says Jun 23, 2008 02:32PM that is slightly harder to make sense of through reflection, even if you had the type available
Spand says Jun 23, 2008 05:39PM Pretty sure the official reason is the bytecode change.. and not because something wouldnt be possible via reflection
Schwarz says Jun 23, 2008 08:15PM It isn't that it wouldn't possible to do reflection. It is just that it would be hard to create a good API since the type system is
Spand says Jun 23, 2008 10:39PM Well its not like it shields implementation details from the user now anyways.. It would almost be a shame to make it easy to use now