News for hackers. Stuff that matters.
Re:Programming Languages Are Simply Not Powerful Enough by tomp on Friday March 01, 2013 @05:02AM (#5303585)
I think you're wrong about Python. It has very powerful abstraction and runtime reflection mechanisms that enable DSL-like frameworks, such as Flask or Django, to be implemented in it.
Re:Programming Languages Are Simply Not Powerful Enough by bdr on Friday March 01, 2013 @05:15AM (#5303619)
Evidence to the contrary:

* Heterogeneity of object abstractions: in order of complexity, you use namedtuples, classes, and metaclasses. In Lisp you'd use the same kind of abstraction across complexity levels.

* Similarly, there are lambdas, plain functions, and bound methods, all for pretty much the same thing.

* Which do you use when? How hard is it to change? http://lukeplant.me.uk/blog/posts/djangos-cbvs-were-a-mistak...

* The way so many configuration variables in Django are strings, that just "coincidentally" point to a class, module, or function.

I've been using Python for 10 years, and Django since pre-1.0. My current startup is built on it. The parts start to show.

Re:Programming Languages Are Simply Not Powerful Enough by nnq on Friday March 01, 2013 @05:17AM (#5303623)
Actually, what I like about Python frameworks is that they don't look like DSLs, they manage to be clean, explicit, casual and understandable Python code, even if you may consider them a DSL at a conceptual level.