Settings

Theme

Ask HN: What are some interesting programming language “features”

2 points by aspl 11 years ago · 2 comments · 1 min read


Title says it all, what are some interesting concepts, features, etc. in programming? From anything to popular languages like Haskell and C, to less popular or experimental/research languages, what are some interesting features? Examples of use, etc would be great too! :)

saidajigumi 11 years ago

While there are certainly many interesting "features" in the broad sea of programming languages, a risk of enumerating them is that of missing the forest for the trees. More concretely, the things which make certain PLs really, truly great tend to be gestalt "features" that arise from well-designed (or just lucky) combinations of traditional features. For example, both Ruby and Python could be checklisted into appearing very similar on a feature basis. But I'll argue that DSLs are more easily designed and implemented in Ruby, stemming from the details and combinations of its features. Related, Haskell is reknowned for being "DSL friendly", but due to completely different interactions of its features as compared to Ruby.

hackerboos 11 years ago

Erlang/Elixir - lightweight processes, pattern matching, flexible macro system

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection