How to decorate you code as a pro coder

Revision ru1, by Sneper, 2021-10-26 06:26:54

I've decided to write some interesting hints, about code decorating

  • The funniest thing you can ever think of is written jokes in your code. You can add them as 'defines', so you can debug your code in an interesting way.

#define debug cout <<"What do you call someone with no body and no nose? Nobody knows.";

  • To make your code recognisable, you can add copyright in your code.

// Copyright © 2021 Maxim Emelyanov. All rights reserved.

  • Pixel art, beautiful!
//░░░░░░░░░░░░░░░░▄▓▄░░░░░
//░░░░▄█▄░░░░░░░░▄▓▓▓▄░░░░
//░░▄█████▄░░░░░▄▓▓▓▓▓▄░░░
//░▀██┼█┼██▀░░░▄▓▓▓▓▓▓▓▄░░
//▄▄███████▄▄▄▄▄▄▄▄█▄▄▄▄░░
//░░░░░░░░░░░░░░░░░░░░░░░░
  • N-word!

Don't use it

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Sneper 2021-10-26 08:09:23 770 Initial revision for English translation
ru1 Russian Sneper 2021-10-26 06:26:54 770 Первая редакция (опубликовано)