Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Although I think point 1 is valid point 2 seems somewhat hyperbolic. Could you clarify why dynamic languages are more productive than C#?


Something that I've written about a lot...yesterday I looked at it from the testing angle:

http://openmymind.net/2012/4/24/I-Rather-Have-Silly-Tests-Th...

It essentially comes down to less code. Some of that is simply less language clutter:

public virtual void Add(int a, int b) { }

vs

def add(a, b) end

Some of it is just what's possible due to dynamic languages, whether that's because of the type system, or, more likely, meta programming.

The benefit of meta programming compounds itself through libraries too. So not only is my code able to leverage it, but I can use libaries that leverage it and end up with User.find_by_name("leto") (as a classic, but certainly not singular, example)


I'm sorry I don't understand. Your example does nothing and has very opaque variable names. As soon as you have some code and variable names that are helpful the language clutter seems pretty irrelevant. I agree that libraries are useful but they exist in non dynamic languages. You can Meta program in C#. I'm not denying that dynamic languages are neat but I still don't see how you can simply define them as fundamentally better rather than your preferred choice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: