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

Apropos of this, I'll toss in: please support do-after statements (and also let statements).

  do foo(); _After bar();
  /* exactly equivalent to (with gcc ({})s): */
  ({ bar(); foo(); });
  #define DEFER(a, b, c) \
    _Let(a) if(!b) {} else do {c;} _After
(This is in fact a entirely serious proposal, though I don't actually expect it to happen.)



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

Search: