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

Programmer Humor

32410 readers
489 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 10 points 4 months ago (1 children)

Make sure to make ample use of mixed content elements.

<statement><var>bar</var> = <int>0</int></statement>
[–] aphlamingphoenix@lemm.ee 5 points 4 months ago (1 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 4 months ago (1 children)
[–] aphlamingphoenix@lemm.ee 2 points 4 months ago (1 children)
[–] JackbyDev@programming.dev 3 points 4 months ago

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