this post was submitted on 05 Jul 2024
856 points (97.9% liked)

Programmer Humor

31460 readers
30 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] JackbyDev@programming.dev 8 points 3 weeks ago (4 children)

Make sure to make ample use of mixed content elements.

<statement><var>bar</var> = <int>0</int></statement>
[–] aphlamingphoenix@lemm.ee 3 points 3 weeks ago (3 children)
statement: 
  comparison:
    - kind: libcompare.EQUALS
      comparators:
        - foo
        - bar
      whentrue:
        statement: 
          streaming: 
            - kind: libstreams.PRINT
               content: foo equals bar
      whenfalse:
        statement: 
          streaming: 
            - kind: libstreams.PRINT
               content: foo does not equal bar
[–] JackbyDev@programming.dev 2 points 3 weeks ago (2 children)
[–] aphlamingphoenix@lemm.ee 2 points 3 weeks ago (1 children)
[–] JackbyDev@programming.dev 2 points 3 weeks ago

Don't apologize, it's beautiful in its horribleness