Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
betaveros
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
betaveros
4y ago
I'm the author but not the OP. Thanks! I'm not sure I follow the question about infix notation and precedence, but: Trains of identifiers like `a b c d e f g` are always parsed as `b`, `d`, `f` being infix binary operators; their
2.
▲
by
betaveros
4y ago
This language isn't an attempt to solve Python's problems. At best it's an attempt to get around some minor speed bumps I personally experience when writing short Python scripts. I did not create this language with the expect
3.
▲
by
betaveros
4y ago
I like this idea. I think I've considered adding immutable variables, but haven't prioritized them because other things I wanted to work on have a better expressiveness or bug-catching ability to effort ratio. Plus I haven't
4.
▲
by
betaveros
4y ago
Author here. FWIW I 100% agree with your assessment. This would be a horrible choice for anything resembling production code and I hope nobody considers it. I'm not really even sure I'd recommend anybody other than me use the lang
5.
▲
by
betaveros
4y ago
Hi, author here. I'll probably go into this in more detail in a blog post later, but the short reason for runtime precedences (briefly discussed much further down in the README) is that I wanted to be able to write chained comparisons
6.
▲
Gab will become a Mastodon fork
(gab.com)
91 points
by
betaveros
7y ago
|
305 comments
7.
▲
by
betaveros
10y ago
Looks like it was done twice in 2010 ( https://www.go-hero.net/jam/10/languages/Piet ) and once in 2015 (by me!) ( https://www.go-hero.net/jam/15/languages/Piet ) I sorta cheated w
8.
▲
by
betaveros
11y ago
For the lulz, I turned your code into one line with lambdas: https://gist.github.com/betaveros/1e76b3ca53001c8edcef It takes quite a few more characters, but it was fun.
9.
▲
by
betaveros
12y ago
There was a Google Code Jam problem this year precisely about detecting the difference between the fair shuffle and the "terribly, terribly wrong" shuffle: https://code.google.com/codejam/contest/2984486&