Hacker News new | ask | show | jobs
by ivoras 1142 days ago
Neat but... Someone will make a crummier version of this in a language which doesn't feature parts looking like Unicode white noise and the original authors will be frustrated why the crummier vetsion took off and their project didn't.

Not every idea deserves to have an esoteric language attached to it to work.

4 comments

The funny Unicode symbols are actually ASCII `->` and `|>` rendered in a font with ligatures. I agree it's a bit jarring to see, but you wouldn't need a special keyboard.
This really should be mentioned on the page. My first impression was: "well, however cool this is, I will never use it because I can't just type it in any terminal without creating some stupid bespoke environment for it".

EDIT: I just copied and pasted a code example into a text window and the raw typed text is exposed. Maybe something like a suggestion to do that could be included for anyone flummoxed by the symbols?

The font is Fira Code for anybody interested!
JetBrains Mono does that ligature `|>` in my Elixir code. I like it :)
Ohh… totally missed that!
Yeah, the language and ideas are so cool they're nearly a whoosh for my old brain. But I will never understand why anyone would go out of their way to present a programming language while obscuring how you actually type it.

I had to copy-paste the "weird-looking play-symbol" (|>) into a text editor to see if it really was what I thought it was [1], after noticing that selecting it with the mouse split it in half. That is highly distracting from the message, at least to me.

[1]: It was.

I’ve been using fonts with ligatures for esoteric languages like CSS and HTML for years. ;-)

Seriously, fonts that coders tend to use have included ligatures for quite a few years. For me, it’s less visual noise and a cleaner look.

I use Vim/Neovim and WezTerm but there are many combinations of editors and terminal emulators that support ligatures.

And many programmers fonts: https://github.com/ryanoasis/nerd-fonts

I’ve been working on a crummier version. So crummy it will likely never make it to a v0.1… :)