Many people write "advise a book on programming", but it is more interesting to read the source code, therefore:

Advise cognitive code

  1. Rewritten standard functions that are an order of magnitude faster, more qualitative, less gluttonous, etc.
  2. Used "tricky" tricks to bypass this or that problem, error, etc.
  3. Just nice for the programmer code, nice to read.

Languages ​​of interest: PHP, JS, Perl, C #, C ++, Delphi / Pascal, but others can

Closed due to the fact that it is necessary to reformulate the question so that it is possible to give an objectively correct answer by the participants Athari , Suvitruf , tutankhamun , aleksandr barakin , Saidolim 21 Dec '15 at 14:29 .

The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 6
    The first two items are usually called crutches - zb '
  • @eicto and anyway, they are sometimes necessary) if non-standard solutions do not cope - IVsevolod
  • @eicto, I don’t agree about point 1 (not in the context of php, but more globally) - Nofate

2 answers 2

The Guardian has put all its frontend in open access. All this can be viewed on github . It seems like there are a lot of interesting things.

    You can find a game program where you need to add or change the code to complete the level. Great for learning the intricacies of the language.