Anders Hejlsberg talking on the new C# and VB features for the version to follow C# 4.0 (timecode 48:10): [Async methods] allow you to compose asynchronous stuff using normal flow of control and using all of the statements that you know already. Pretty sweet. The first (longer) portion of the presentation is on the new …
Category Archives: Uncategorized
FAIC: CPS Revisited
Eric Lippert of Fabulous Adventures In Coding has posted a series on CPS tranformation and different control flow abstractions. Good stuff — recommended reading for translating the crazy stuff I talk about into ‘normal’ code. Continuation Passing Style Revisited, Part One. Continuation Passing Style Revisited Part Two: Handwaving about control flow. Continuation Passing Style Revisited …
Oracle sues Google over Android and Java
Oracle sues Google over Android and Java | CNET News. Wow. Sun may have open-sourced Java in the past, but at this moment, the JVM seems like a more hostile platform than .Net.
Island/Lake recursion
The Island and Lake Combination. For those who are curious which is the largest (island in a lake on an)^2 on an island. Because recursion isn’t just for programmers and computers.
Go: Defer, Panic, and Recover
It seems after much resistance to the idea, Go has added exception handling to the language in the form of defer, panic, and recover. The Go Programming Language Blog: Defer, Panic, and Recover. Don’t get me wrong, I think the’ve got something here. Defer gives you the equivalent of C#’s finally/using; or a nice subset …
Functional Programming, Reductio
Came across a slide deck via Reddit with an excellent point, cutting across the various functional programming diciplines: Central to the thesis of FP is the notion of referential transparency. Referential transparency leads to program compositionality. // #1 X x = function(); R r1 = arbitrary(x); R r2 = arbitrary(x); // #2 R r1 = arbitrary(function()); R …
Wicked cool — mandlebulb fly-through
Please, PLEASE watch this in HD full screen. Wow. Math can be breathtakingly beautiful. via YouTube – Mandelbox trip.
GOTOs inconvenient
From “The Discovery of Continuations” The talk actually had one direct and important consequence for computing. Under the inspiration of the notion of the unnecessity of goto’s, Dijkstra spent that evening constructing realistic examples of programs without goto’s, … So while van Wijngaarden said that goto’s were unnecessary … , Dijkstra stretched the point to …
Trouble with OOP
Subtyping, Subclassing, and Trouble with OOP. Excerpt: What makes this problem more unsettling is that both you and I tried to do everything by the book. We wrote a safe, typechecked code. We eschewed casts. g++ (2.95.2) compiler with flags -W and -Wall issued not a single warning. […] And yet, despite all my efforts …
Best and Free Programming Ebooks
(updated / switched link to source article on stack overflow) So, I wrote my list of some unique programming texts. But on the more practical side, there’s this: Best and Free Programming Ebooks. Free full texts, covering: Bash, C, C++, C#, Common Lisp, Haskell Java, JavaScript, Lua, Objective-C, Perl, PHP, PowerShell, Prolog, Python, Ruby, SQL, …