HNHacker News
TopNewBestAskShowJobs

bokwoon

76 karma · joined April 10, 2020

submissionscomments
bokwoon··on Tell HN: C Experts Panel – Ask us anything about C
How about deferring until the surrounding block scope ends? In Go you can get around the limitation of defer only executing at the end of a function by wrapping any arbitrary section of code inside an immediately executed anonymous function. But in C I'm not sure that's possible so maybe one could declare a new block scope instead to control when defer kicks in.
bokwoon··on Don't Make Students Use Eclipse
It’s kind of embarrassing but I didn’t understand generics from my beginner CS course (taught in Java). It wasn’t actively tested on either. I only began to appreciate it when I took an online MOOC in OCaml on a whim.
← PreviousPage 2 of 2