Hacker News new | past | comments | ask | show | jobs | submit login

Sorry for going off topic, but something fun I've learned lately is that in Nim (which compiles to C) changing:

let x = foo()

... to ...

const x = foo()

...runs foo at compile time to get the value. I dunno I just thought it was neat.




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

Search: