|
And that would be a good thing.
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Flash may be a bad citizen on the web, but this is a sad day that plugins are going away!
Apple, well, Steve Jobs, really pulled the wool over the eyes of developers, forcing the no plugin activity that has consumed everybody!
Jobs real agenda was to limit innovation, the plugin innovation that is the very reason the internet is as good as it is today.
Plugins may cause problems, but they also lead to major innovation, which won't be happening anymore, now that the ONLY innovation that comes will be slaved to browsers makers, when and if they feel the need, which they won't in a standards based world.
We will get incremental innovation, but nothing like what Flash, Silverlight and other technologies brought us!
|
|
|
|
|
Dewey wrote: We will get incremental innovation, but nothing like what Flash, Silverlight and other technologies brought us!
Personally, I think the WebAssembly[^] initiative holds more promise than all of those combined.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Your link points only to github. Perhaps you mean this[^]?
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Thank you.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I actually agree with that!
|
|
|
|
|
Intel raised the curtain on a number of new products — and dished out plenty of gimmicks, too (like these robot spiders) — during day one of its 2015 Developer Forum. Caution: Post contains spiders
|
|
|
|
|
The latest wave of Internet attacks doesn't merely involve exploits like cross-site scripting; they also leverage aging protocols with enough volume to jam backbone routers. OK, back to NetBIOS!
|
|
|
|
|
Though C# has many great features, a handful could have been designed differently or omitted entirely. Best worst? Worst best?
|
|
|
|
|
|
The author is one of the Microsoft developers that wrote the original C# compiler. Though to be fair that doesn't mean he isn't a python developer.
I read this more as a list of "Here are 10 things I wish I could turn back time to fix, because we're stuck with them now."
|
|
|
|
|
Wow, I have just one comment.
Eric Lippert was a project leader on the C# compiler team, and a member of the C# language design team.
|
|
|
|
|
When Eric Lippert speaks about a language feature, a wise man listens.
|
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: lambda expression hatred That's not the way I read it. It was more about not being able to "see the future".
Decrease the belief in God, and you increase the numbers of those who wish to play at being God by being “society’s supervisors,” who deny the existence of divine standards, but are very serious about imposing their own standards on society.-Neal A. Maxwell
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Your opinion, as you've probably gathered by now, is simply wrong.
He is quite clear that an empty statement is a bad idea - that is precisely why he wishes it wasn't there.
He didn't hate lambda expressions, he hated having two kinds of syntax for the same thing.
Next time, try reading the text between the headings as well
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I don't mind any of the things he calls out, but then I'm developer not a language designer.
My pet peeves with C#, if I can recall them all, in no particular order:
C# v1 should have never seen the light of day. (Even though I have been a fan of C# since I saw the first published spec in 1999.)
The partial keyword to add back what has always been in C++ but which C# v1 lacked for no apparent reason. As in C++, all classes should be partial, no need for a keyword. What does non-partialness gain you?
Use of the this keyword for Extension Methods, rather than the simple direct use of the Attribute. (Just do what VB does.)
The sillyness of being able to eliminate the "Attribute" part of an Attribute name. Why? To save a few keystrokes? So why not also allow us to drop the "Exception" part of an Exception name? Don't you write a lot more Exceptions and handlers than Attributes? catch (NullReference err)...
The inability to specify enum as a generic constraint. (Jon Skeet has written about this too.)
If enum values are always numeric, then why not allow numeric operations on them? The compiler knows what they are. If a member of an enum IS_AN int , then let it do what an int can do!
Add: An ISNT (or AINT ) operator so we don't have to do if ( !( x is y ) )...
modified 19-Aug-15 13:11pm.
|
|
|
|
|
"As in C++, all classes should be partial"
Actually, I'd love to see partial classes in C++. Being able to define members in a separate file is not the same thing as being able to add members in a separate file at all.
It would be very helpful for cases such as machine-generated code, where the class definition could reside in two places, one of which is machine-generated, and does not overwrite the one that has been edited by the user.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I'm going to be mildly contrary and say that I wish I knew that this:
if (condition)
{
;
}
was legal years ago. When I tried putting conditional breakpoints inside hot loops in VS2010 I saw order of magnitude slowdowns (from ~100k to 10k iterations/second). Putting a breakpoint on this slightly larger kludge:
int foo;
if (condition)
{
foo = 1;
}
OTOH had almost no impact on throughput. The project in question has been over for many years now; and I haven't do anything that heavily compute bound since so it's possible newer versions of VS have removed the performance penalty but getting so badly burned a few years ago left a really bad taste in my mouth.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I don't use it, but back in my Pascal days I would insert extra semi-colons because I had a utility that would count them to determine how many statements were in a program.
Nowadays, when I use the debugger (VS 2012), I often put breakpoints on closing BRACEs.
|
|
|
|
|
Directory.GetFiles!!! Haven't looked yet, but it has to be there.
It's totally blocked until it returns.
Directory.GetFiles() has my vote!!
I remember you FindFirstFile, FindNextFile API and I remember you fondly.
|
|
|
|
|
Well, that's not a feature of C#, so much as a feature of the framework.
|
|
|
|
|
Yes, you are right, of course.
I got excited to be able to complain to someone about Directory.GetFiles().
I like C# because it is like a friendly version of The Best Language in the Entire Universe: C++
Let the language-wars begin!
|
|
|
|
|
|
I always forget about that one because it is new -- added in .NET 4.0.
It is a bit different from the original FindFirstFile too -- you could easily cancel the work of enumeration on the original one. This call just seems to run. How would you cancel it?
However you have inspired me to work with this method and learn more about it.
It is interesting since it could run on one thread I suppose and you could iterate the list on another thread?
|
|
|
|