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

What do you mean, George?

> It seems to have a pretty high ratio of "I use X because it's the only one that has Y" type features, all in one place.



My name is certainly not George :D but I'll pick two features:

- fibers

- advanced pattern matching

These are two not so common language features that are often the differentiator in a class of languages: "I like Python - but Ruby has fibers" or "I like Ruby - but Python has pattern matching"

To see such features all in one language has a lot of appeal (to me, anyway)


FYI, Janet has fibers and parsing expression grammars. Many scheme implementations also feature some form of pattern matching.


Yeah but Janet is a Lisp. And Lisps are like black coffee.


... I prefer my coffee black, and I love lisp.

So that tracks.


Is there something missing in ruby's pattern matching? It has subpatterns, alternation, pinning, guards.

I've got limited experience with it but it seems on par with what most languages have.


>What do you mean, George?

Home, James.

>https://www.google.com/search?q=home%2C+james




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

Search: