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

Programmer Humor

32022 readers
544 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
[–] VitaminF@feddit.org 44 points 2 months ago (2 children)
<fun>
  <name>sum</name>
  <in>
    <int>
      <name>foo</name>
    </int>
    <int>
      <name>bar</name>
      <default_value>
        <int>0</int>
      </default_value>
    </int>
  </in>
  <out>
    <int>
      <calculation>
        <numerical_operation>
          <operator_plus>
            <operand>
              <var>foo</var>
            </operand>
            <operand>
              <var>bar</var>
            </operand>
          </operator_plus>
        </numerical_operation>
      </calculation>
    </int>
  </out>
</fun>
[–] manucode@infosec.pub 13 points 2 months ago (2 children)

How did you come up with such a ****ingly stupid syntax?!

[–] hedgehog@ttrpg.network 18 points 2 months ago (1 children)

They probably have experience with Spring

[–] VitaminF@feddit.org 10 points 2 months ago (1 children)

I imagined what an Elasticsearch query style Python XML syntax would look like.You must share my pain.

[–] luciferofastora@lemmy.zip 7 points 2 months ago

That's grotesque and you have my condolences

[–] pingveno@lemmy.ml 5 points 2 months ago* (last edited 2 months ago) (1 children)

Welcome to the world of abusing the shit out of Ant. My first full time job was developing Ant in unholy ways. Tens of thousands of lines of Ant at least, doing significant logic. If-then-else, for loops, math, procedures, date-time math. I stuck it out for a year. It was a year too long.

[–] deathmetal27@lemmy.world 1 points 2 months ago

Thankfully we have Gradle now.