What kind of psychopath comments code UNDERNEATH??

  • 13
    A sociopath, specifically.
  • 13
    That’s like doing code footnotes.

    public void BuildFoo(int Bar) //1
    // code here

    /* 1
    * Builds the foo object
  • 2
    I do under, top and middle
  • 5
    @bkwilliams my next open source project will have code footnotes. Reviews will be fun!
  • 0
    @bkwilliams OK I think I won't do it. I just remembered the nightmare of the old jsdoc comments at the end of Javascript files to define types.. That's horrible and I don't want anyone (including me) to suffer that much.
  • 7
    My cOdE iS So rEaDaBLe i dOn'T nEEd cOMmEnTs
  • 1
    @bioDan ThAt’S CaLlEd BeINg a GOD
  • 1
  • 2

    well codeblocks c++ comments color is white so you pratically don't have to comment anyway
  • 1
    @lightfulSeer i OnLY eVeR dARk tHeME bRo
  • 2
    @bioDan i just realised i can dark theme
  • 0
    Well better than having comments that have nothing to do with the block of code following them.

    And yes this happened even today.

    I have tons of sample for enjoyment if you want :-)
  • 0
    A docstring psychopath? :D
  • 0
    It's a final test to check that you have understood the function.
  • 3
    Just for the record, the devrant tag is literally for devrant related rants! For this you'd use rant/story :)
  • 0
    @linuxxx Wait... You serious? Like related to the website/app named "devRant"? I deducted "devrant" is for rants about developing software (or anything) and the "rant/story" tag is default due to some people bringing not-IT-related stories from Facebook because they're special snowflakes.
Add Comment