‹ 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. RossBencina · · focus · HN ↗
      Numerical Recipes in C does that.
      1. jabl · · focus · HN ↗
        Numerical Recipes in C is an existence proof of the adage that the determined FORTRAN programmer can write FORTRAN in any language.

        (Using FORTRAN here rather than the more correct Fortran to denote the traditional pre-modern (Fortran 90+) programming style.)

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.