The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer Humor@programming.devEnglish • 1 year ago

How programmers comment their code

lemmy.dbzer0.com

message-square
175
fedilink
1.56K

How programmers comment their code

lemmy.dbzer0.com

Andromxda 🇺🇦🇵🇸🇹🇼 to Programmer Humor@programming.devEnglish • 1 year ago
message-square
175
fedilink

https://nitter.poast.org/denicmarko/status/1774077890281267451

alert-triangle
You must log in or register to comment.
  • @yetAnotherUser@discuss.tchncs.de
    link
    fedilink
    114•1 year ago
    /*
     * Gets stupidFuckingInteger
     *
     * @returns stupidFuckingInteger
    */
    public double getStupidFuckingInteger() {
        return stupidFuckingInteger;
    }
    
    
    • @mrpants@midwest.social
      link
      fedilink
      English
      38•
      edit-2
      1 year ago

      The lack of a return type declaration makes this sooo good.

      • @expr@programming.dev
        link
        fedilink
        32•
        edit-2
        1 year ago

        It has the return type declared to be double.

        • @mrpants@midwest.social
          link
          fedilink
          English
          18•1 year ago

          I cannot read. Even better.

    • @ILikeBoobies@lemmy.ca
      link
      fedilink
      16•1 year ago

      Makes sense, people looking for int would find a double

      • threelonmusketeers
        link
        fedilink
        English
        1•11 months ago

        Happy cake day!

    • ඞmir
      link
      fedilink
      19•1 year ago

      This being a double physically hurts

    • @AdNecrias@lemmy.pt
      link
      fedilink
      4•1 year ago

      Reminds me of a job I had where c# summaries were mandatory and people used a documentation generator just like that.

      /// Ages the Category. public int AgeCategory (…)

      • @schnurrito@discuss.tchncs.de
        link
        fedilink
        2•1 year ago

        plenty of APIs in Java have documentation like that and it is worst when I read the documentation in order to find out the definition of the nouns and verbs used there and then it is just like that

Programmer Humor@programming.dev

!programmer_humor@programming.dev
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 112 users / day
  • 352 users / week
  • 1.34K users / month
  • 4.43K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 51.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org