What Language Features Do You Miss In C#?
-
That's all I need[^] to know.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
Good, I apologize[^] for the interruption ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
Good, I apologize[^] for the interruption ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
Why? What have you done?[^]
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
-
Sure, it's on another discussion site[^], but that doesn't mean we can't also discuss it here. Personally, while it certainly doesn't fit in the "missing" category, I see them moving it closer and closer to a hybrid C#/JavaScript language with each new version.
-------------- TTFN - Kent
-
Florian Rappl wrote:
goto SOME_LABEL
is different thangoto case WHATEVER
Yes, of course.
Florian Rappl wrote:
assembler output
Has no bearing on the discussion.
Either you are incapable of understanding this or you just do not want to get this. Your statement that there are 2 gotos is wrong. From a language point of view using goto with some (arbitrary) label and with a case label is equivalent.
-
But you can't know what may be thrown by something it calls, so I don't see the point.
In Java, every function must declare all potential throws. The compiler looks down the call stack and makes sure that exceptions are either handled or declared in the throws. If not, it's a compilation error. That annoys many Java developers, which is why I think the feature should be optional. If it was optional, we could generate a warning on unhandled exceptions. IT would not be a compilation error like it is in Java. This wouldn't totally prevent any problems, but it would give developers a way to be more explicit about what exceptions can happen. For library designers this would be very helpful.
-
The only good feature of Ruby! AWESOME :)
-
Why? What have you done?[^]
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
I'm afraid I've made a shot in the dark[^]
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
I'm afraid I've made a shot in the dark[^]
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
Oh, I'm so sorry - this must not be the The Last Time[^] we have such a jolly chat ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
Oh, I'm so sorry - this must not be the The Last Time[^] we have such a jolly chat ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
This is tuning into high drama - must our farewell [^] turn into such a bittersweet[^] afair. This is worse than A Demon's Fate[^], and now that peace is a Utopia[^] we will only be dealt a hand of sorrow[^] ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
This is tuning into high drama - must our farewell [^] turn into such a bittersweet[^] afair. This is worse than A Demon's Fate[^], and now that peace is a Utopia[^] we will only be dealt a hand of sorrow[^] ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
Uncle! Uncle! I surrender (before this thread runs off the right hand side of my browser)!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
-
Uncle! Uncle! I surrender (before this thread runs off the right hand side of my browser)!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
OK - t'was fun though. CG once pointed me in the direction of lacuna coil Trip The Darkness[^] - a bit wild around the eyes, but worth listening too ...
Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
Having a generic type constraint on operators. Something where T : +, -, >, < Or something. Or just provide one easy way to work with numerics, for example: Something where T : numeric After which you can use +, -, >, < etc. by default and T can be int16, int 32, int64, single, byte, double, decimal or an unsigned of those.
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}God yes, there is no reason not to expand generic constrains to include operators, and that would make my life soooooo much easier for so many things I'm working on :(
-
Either you are incapable of understanding this or you just do not want to get this. Your statement that there are 2 gotos is wrong. From a language point of view using goto with some (arbitrary) label and with a case label is equivalent.
No it isn't.
-
This is the most exotic opinion I have heard lately...[]
Exotic indeed, but true enough...
-
Exotic indeed, but true enough...
Sorry, but there was a bit of irony in my comment... C++ has no built in support for "plugins" of whatever kind. It's textual compilation model is pretty much the opposite of .Net component based model. Therefore my comment, if you don't mind...
-
Riiiiight...
LOL...your right. There's inline IL...just looks sort of like assembly.
-
You're right that garbage collection and relocation would invalidate the address, but this is only done when the application runs out of memory. Even better would be a way to watch a variable in another class, which would track these relocations. But that would require a more extensive change to the framework. Watching an address would be just about as useful, and is a more modest request.
Isn't there something like this in the threading area of .Net? And I believe there's discussions on this regarding going across domains.
-
Isn't there something like this in the threading area of .Net? And I believe there's discussions on this regarding going across domains.
Are you talking about a class that does this in System.Threading?