[–] 10 points 2 years ago

I was so lucky in the interview for my current job: I'm working on a product with a big networking component, and I was asked to write an echo server with low level components. That was maybe the second time I had a test related to the job.

  • source
  • [–] 3 points 2 years ago*
    • I put the types first in the file, sorted by importance
    • then the public free functions
    • then the impl blocks, sorted by importance, also. Usually, display impls and similar end up being at the end
    • then the private free functions (helpers)

    The idea is that I can see all the types in one glance, then I look at the rest.

  • source
  • view more: next ›