C is a subtle language. Today I learnt that array parameters always have pointer size, even for fixed size arrays!
miniblog.
Related Posts
I've been building an 'extract function' refactor feature. It's surprisingly nuanced.
Where do you put the extracted function? Once you've done the static analysis, what order do you use for the parameters?
I've always wondered why more compilers don't use parameters with basic blocks rather than phi nodes.
I enjoyed this post discussing tradeoffs, including comments on how GHC and Swift model blocks:
A classic syntactic debate: do you prefer types before or after parameters? Why?