Hacker News new | ask | show | jobs
by cryptonector 1779 days ago
Having made a significant contribution to Simon Tatham's PuTTY, I have to respectfully disagree. At the time the entire SSHv2 key exchange and user authentication protocols were implemented in a single function using a massive Duff's device (for asynchrony) implemented with C metaprogramming macros. It was a surprisingly pleasant experience.
1 comments

There is a reason why such clevernesses are forbiden by security standards like MISRA-C.