‹ BackHN Continuity

Thread

EDG C++ front-end goes public

249 points · 129 comments · iandinwoodie

  1. cyberax · · focus · HN ↗
    It has an interesting code style, the comments go _after_ the function definition but before the opening bracket.

    It looks weird, but it actually makes sense! The flow is more natural - first the function definition, and then the explanation of what it does. It also avoids repeating the function name.

    1. spatulon · · focus · HN ↗
      One of the more unusual aspects is the naming convention for types. Most type names use the a_ prefix (e.g. a_statement_ptr), but names beginning with a vowel start with an_ instead (e.g. an_object_lifetime_ptr).
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.