User loginNavigation |
archivesSSA + Type Inference = "Compile time" dynamic typing, "runtime" static typing?If we SSA transform our program and _then_ perform type inference (glossing over issues like if we get always infer somethings type), do we get strong static dynamic typing? e.g.: a = 1 b = a + 1 a = "hello" printLine a . . . a0 = 1 b0 = a0 + 1 a1 = "hello" printLine a1 Of course there are scenarios like:
But I believe that these scenarios can be overcome. My question is then, is this impossible for any reason? Ruby metaprogramming techniquesBack when Python was all the rage, we often discussed metaprogramming tricks in Python. Well, it seems the metaprogramming action has moved to Ruby, just like everything else... ;-) By Ehud Lamm at 2006-09-23 18:16 | Meta-Programming | Ruby | login or register to post comments | other blogs | 11244 reads
Designing a Programming Textbook
This is a repost from my blog at Artima.com. In this forum, I am sure that I would have an interesting and differing point of view from those posted at Artima.
I've started work on a rather ambitious book called Fundamentals of Programming which will be intended as a programming book for people starting at the very beginning. I thought I would invite some feedback about my proposed structure.What languages would you use, and how would you structure your ideal programming text? Do you already have a favourite introductory text that can't be improved on? |
Browse archivesActive forum topics |
Recent comments
36 weeks 9 hours ago
36 weeks 13 hours ago
36 weeks 13 hours ago
1 year 6 weeks ago
1 year 10 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 14 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago