Hacker News new | past | comments | ask | show | jobs | submit login

The idea is pretty simple: concise languages ( like python, smalltalk etc.) work well when you can get away with being concise. Verbose languages ( like the C family ) work well when you can't. It only takes a couple of tries writing a project that favors verbosity in a concise language before this becomes apparent.



Languages like ะก allow you to control more (low-level) aspects of a program than languages like Ruby. Ruby is only concise because it handles tons of things for you, the way it sees fit.

You can make C++ quite concise, or quite verbose, depending on the level of detail you can hide under layers of abstractions.

It's much like the framework vs set of libraries: a framework allows you to write very little and produce a lot when all you're doing is wiring together existing pieces and write business logic code it the slots provided for that. Similarly Ruby allows you to write much lass than C if all you're doing is wiring together hashtables of hastables of hashtables, and rely on garbage collection.


The point of this article was more about writing DSLs than just conciseness.




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

Search: