News for hackers. Stuff that matters.
Re:Ask HN: Why choose a dynamically typed language? by steveklabnik on Sunday August 08, 2010 @12:05AM (#1584842)
Sorry, it's that I was reading on my phone and missed your 'most.' Go's structural typing stuff seems pretty cool, but what I was trying to point out was that it can only get most of the way there, not the whole way. In Ruby, for example, I can define singleton methods, and method names based on a dynamically generated string. I'm not sure how a compiler would be able to do stuff like this. At least, not easily.

Then again, I haven't been keeping up with the more recent advances in compiler stuff, so maybe someone has already done this.

There are no comments on this comment yet.