News for hackers. Stuff that matters.
Re:Ask HN: Why choose a dynamically typed language? by Rusky on Saturday August 07, 2010 @03:18PM (#1584117)
object.responds_to?(:method_name) is just a run-time variation on generics constraints. C# could use a bit more work on its syntax there, but something like go's inline interface definitions would make it just as nice as Ruby.
Re:Ask HN: Why choose a dynamically typed language? by wcarss on Saturday August 07, 2010 @04:13PM (#1584224)
This is entirely fair -- my intended point is that C# is /not/ yet concise for operations that are sugar-sweet in Ruby, and that's why I don't love to use it.