Skip to content
DevMeme
2586 of 7590
Bugs Post #2863 · source on Telegram

The undisputed champion of causing syntax errors

Description

A cartoon meme depicting a winner's podium at a sports stadium. A large yellow banner at the top reads 'PROGRAMMING HIDE AND SEEK CHAMPIONSHIP'. On the first-place platform, a semicolon character stands with its arms raised in victory. On the second-place platform, a closing parenthesis character looks down in defeat. On the third-place platform, a closing curly brace character stands with its hands clasped, looking disappointed. The background shows a large, blurred-out crowd. The humor is aimed at programmers who have spent frustrating amounts of time searching for a missing character that is causing a syntax error. The semicolon is crowned the 'champion' because in many C-style languages (like C++, Java, or JavaScript), a missing semicolon can be notoriously difficult to spot, often causing the compiler to report an error on a completely different line, making it the ultimate master of 'hide and seek' in code

Comments

118
Anonymous ★ Top Pick A missing semicolon is the ultimate gaslighter; it convinces the compiler that the perfectly valid code on the next line is the root of all evil
  1. Anonymous ★ Top Pick

    A missing semicolon is the ultimate gaslighter; it convinces the compiler that the perfectly valid code on the next line is the root of all evil

  2. Anonymous

    Semicolon wins every year - turns out even in a cloud of 400 microservices, the most distributed thing in the system is the missing token hiding two screens above your diff

  3. Anonymous

    After 15 years in the industry, I've learned that semicolons aren't actually hiding - they're just practicing eventual consistency with your codebase, appearing exactly three commits after the production deployment

  4. Anonymous

    The real champions of hide-and-seek in programming aren't the developers - they're the race conditions that only appear in production, the off-by-one errors that survive code review, and the memory leaks that take three months to surface. This podium perfectly captures the irony: we celebrate finding what was deliberately hidden, yet spend most of our careers hunting bugs that hide themselves in plain sight within millions of lines of code, only revealing themselves at 3 AM during a critical deployment

  5. Anonymous

    { snags gold because it hides decades of untested legacy bugs inside massive single blocks, forcing juniors to seek closure for weeks

  6. Anonymous

    Semicolon takes gold - perfect at hiding until the compiler screams or ASI rewrites your intent; ) gets silver for gaslighting diff tools, and } grabs bronze by quietly relocating your scope into prod

  7. Anonymous

    The semicolon always takes gold - vanishing on the previous line, passing locally via ASI, then failing CI the moment someone enables -Werror

  8. @sylfn 5y

    use autoomplete

  9. @Odbjorn 5y

    that's why you use Python

    1. Deleted Account 5y

      tab or 4 spaces?

      1. @RiedleroD 5y

        oh I hate that whenever it happens. I always use tabs, and apparently everyone else uses spaces.

        1. Deleted Account 5y

          i mean, :s/ / /gm

          1. Deleted Account 5y

            but fuck identation based syntax in general

            1. @RiedleroD 5y

              I think it looks nicer, but yeah, it's not as robust.

              1. Deleted Account 5y

                it is nice in a world where ppl don't use spaces for identation

                1. @RiedleroD 5y

                  true.

        2. @zakaryan2004 5y

          Ohno

      2. @mr_oz 5y

        Tabs that ide convert to spaces))

        1. Deleted Account 5y

          :s/ / /gm

      3. @bommelhopser 5y

        2 spaces

        1. Deleted Account 5y

          3 spaces

      4. @sashakity 5y

        the correct answer is 2 spaces

        1. Deleted Account 5y

          the correct answer is 4: 3 and 5 alternating

          1. @sashakity 5y

            what are you

            1. Deleted Account 5y

              i am the one who dislikes identation cringe syntax

              1. Deleted Account 5y

                reject snec embrace clang-format

              2. @sashakity 5y

                i believe everyone does

        2. @zakaryan2004 5y

          4

          1. @sashakity 5y

            4 seems a bit too big

            1. @zakaryan2004 5y

              Is it?

            2. Deleted Account 5y

              8, only 8

              1. @Supuhstar 5y

                X3 I had a co-worker who always used 7

      5. @dugeru42 5y

        Pep

        1. Deleted Account 5y

          >snek

  10. @karim_mahyari 5y

    Parentheses are worse than semicolons IMO

    1. Deleted Account 5y

      spaces are far, faaar worse

  11. Deleted Account 5y

    well, on even lines only, on every odd line it's 5 actually

  12. @zakaryan2004 5y

    Lel

  13. @Supuhstar 5y

    YEP

  14. @sashakity 5y

    ODD numbers

  15. @sashakity 5y

    that is cursed

  16. Deleted Account 5y

    that's what linux kernel does, please reconsider

    1. Deleted Account 5y

      "if you need less than 8 you write bad code"

    2. @Supuhstar 5y

      Linux kernel does a lot I don't agree with

      1. Deleted Account 5y

        i think compiling without aliasing is wrong

  17. @Supuhstar 5y

    Nah, still use 4. If it starts getting uncomfortable, that's a sign that it needs to be redesigned to reduce unnecessary nesting

  18. @sashakity 5y

    highlight what?

  19. @sashakity 5y

    anything greater than 2 bugs me

  20. @sashakity 5y

    because theres too much empty space

    1. @Supuhstar 5y

      Anything other than 4 bugs me because there's too much or to little XD

      1. Deleted Account 5y

        that's why you should use clang-format

    2. @zakaryan2004 5y

      Please join the group

      1. @sashakity 5y

        this group?

        1. Deleted Account 5y

          yes

        2. @zakaryan2004 5y

          You are writing on comments section

          1. @sashakity 5y

            it has 128 members, if me typing in here is a problem then i just wont

            1. @zakaryan2004 5y

              I don't see any problem with 128 members

              1. @sashakity 5y

                id just rather not be in large groups

                1. @zakaryan2004 5y

                  Well, if you like missing messages, then ok

                2. @zakaryan2004 5y

                  And I don't see why you wouldn't want to be in the group as you are already technically here

                  1. @sashakity 5y

                    cause no notifications or giant unread counter

        3. @zakaryan2004 5y

          There is a discussion group

        4. @Supuhstar 5y

          Every time you send a message without replying, it shows up as a reply to this image x3

          1. @zakaryan2004 5y

            Not only that, but he won't see messages directly replied to him or inside the photo's reply thread

            1. @Supuhstar 5y

              *her And yeah

              1. @zakaryan2004 5y

                I don't see anything pointing to them being a woman

                1. @Supuhstar 5y

                  Hence me letting y'all know :3

                  1. @zakaryan2004 5y

                    okay

                  2. Deleted Account 5y

                    use per, like stallman

                    1. Deleted Account 5y

                      obtw sign the support letter

                    2. @Supuhstar 5y

                      :o???

                      1. Deleted Account 5y

                        per, short for person

                        1. @Supuhstar 5y

                          Cute!!

                    3. @zakaryan2004 5y

                      they is much better tbh

                      1. Deleted Account 5y

                        it's plural, he laid out problems with it too

                        1. @zakaryan2004 5y

                          actually they is considered a singular pronoun for unknown gender

                          1. @zakaryan2004 5y

                            if a person has problems with "they", then they have a problem with English

                            1. @zakaryan2004 5y

                              and if they have a problem with English, they should either bear it or not communicate with it

                              1. @Supuhstar 5y

                                Also, it's easy to remove gendered terms from most languages

                                1. Deleted Account 5y

                                  not that easy actually

                                  1. @Supuhstar 5y

                                    I would love a challenge, but I've done it in Romance languages

                                    1. Deleted Account 5y

                                      do it in russian, you'll fail miserably

                          2. @Supuhstar 5y

                            Mhmm! I also conjugate the verbs correctly: They's baking a cake. They goes to the store.

                            1. Deleted Account 5y

                              i'd conjugate it as plural

                              1. @Supuhstar 5y

                                Only when I talk about groups of individuals, andor systems

                                1. Deleted Account 5y

                                  wrong

                                  1. @Supuhstar 5y

                                    Only "wrong" to you, not to me

                                    1. Deleted Account 5y

                                      fair

                                2. @zakaryan2004 5y

                                  then you are speaking English wrong

                                  1. @Supuhstar 5y

                                    According to whom?

                            2. @zakaryan2004 5y

                              they're baking a cake they are going to the store

                              1. Deleted Account 5y

                                yes just like you pronoun

                      2. @zakaryan2004 5y

                        you need to say per's technically because: this is his bag this is per bag (this means "this is person bag") so you need to say this is per's bag

              2. Deleted Account 5y

                oh no

  21. @sashakity 5y

    AHH and you have the curlybracket on a newline

    1. @Supuhstar 5y

      function { } It's the one true way

      1. @sashakity 5y

        yes

      2. Deleted Account 5y

        allman is the one true way, atleast in c++

  22. Deleted Account 5y

    and enjoy the broken code

  23. @sashakity 5y

    my computer science proffessor insists its a good idea to put curly brackets on newlines and also put system("pause"); at the end of every program (even tho visual studio automatically pauses it)

    1. Deleted Account 5y

      the system() shit, i hate it

      1. @sashakity 5y

        mf takes off points if we dont include it too 😔

        1. Deleted Account 5y

          it doesn't work on not shit-os machines

          1. @sashakity 5y

            yeah exactly

            1. Deleted Account 5y

              put system("sleep 9999999");

  24. @Supuhstar 5y

    UwU

  25. Deleted Account 5y

    this

  26. @Supuhstar 5y

    Oh, I thought Geg meant Sasha

  27. @Supuhstar 5y

    In mine? I don't see that in Sasha's

  28. Deleted Account 5y

    ok, so we left off on clang-format being the best tool ever

    1. Deleted Account 5y

      oh and don't use python

    2. @Supuhstar 5y

      REAL devs write their code on lined paper and have an AI scan and parse it

      1. @zakaryan2004 5y

        Yeah, and send it through fax

      2. Deleted Account 5y

        real devs compile by hand

        1. Deleted Account 5y

          nono, comile and run in their brain

  29. Deleted Account 5y

    How about " "

    1. @Supuhstar 5y

      Oh yeah Python lol

  30. @Supuhstar 5y

    Space

Use J and K for navigation