Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
m12k
· 6y ago · 0 comments
To anyone writing an article like this: Please mention what language you are using before your first code listing, not four paragraphs after.
Comments
[–]
zero_shift
6y ago
I didn't feel I needed to know Go to read the example code.
(Plus, didn't "if err != nil" give it away?)
[–]
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.