Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zero_shift
· 6y ago · 0 comments
I didn't feel I needed to know Go to read the example code.
(Plus, didn't "if err != nil" give it away?)
Comments
[–]
afandian
6y ago
Fun project (probably already been done). A "in which languages is this valid syntax" machine. On its own `if err != nil` could parse as Rust and Python.
[–]
saagarjha
6y ago
For me it was when I saw the strange structure definition and did a double take.