481 reputation
36
bio website smellegantcode.wordpress.com
location United Kingdom
age
visits member for 4 years, 1 month
seen Feb 8 at 14:08

My programming blog.

"This process of constructing instruction tables should be very fascinating. There need be no real danger of it ever becoming a drudge, for any processes that are quite mechanical may be turned over to the machine itself." -- Alan M. Turing, 1946


Sep
24
awarded  Autobiographer
Jan
14
answered Can we live without constructors?
Sep
13
awarded  Yearling
Mar
1
awarded  Yearling
Oct
4
awarded  Good Answer
Oct
4
awarded  Nice Answer
Apr
13
comment How will closures in Java impact the Java Community?
The example you post is from many years ago - are you sure it's representative of current proposals?
Dec
29
awarded  Commentator
Nov
2
comment async & await - poll for alternatives
Yes, I see that Async-postfix naming convention as a sign that something could be captured more formally. Basically, if there's a rule saying "methods like this should be named a certain way, so people know how to call them properly" then it follows that the same rule could be used to attribute those methods a certain way, and then the compiler to help you to call them properly.
Nov
1
comment async & await - poll for alternatives
@Aaronaught - Why does it prevent the use of var? I wonder if you're responding to the previous revision of my answer... I've completely rewritten it. You can now think of this suggestion as follows: if the method is marked with a special attribute, it's as if the await keyword is automatically inserted in front of calls to that method (unless you suppress this with the start prefix). Everything stays exactly as in the CTP, and hence var works fine.
Nov
1
awarded  Editor
Nov
1
revised async & await - poll for alternatives
Total change to implementation, but still same requirement.
Oct
30
awarded  Teacher
Oct
30
answered async & await - poll for alternatives
Oct
19
comment Make a big deal out of == true?
By writing if (x) { ... you are already asserting that x is a boolean or is convertible to a boolean. What you call it is irrelevant.
Sep
13
awarded  Supporter