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

Programmer Humor

31791 readers
144 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
[–] [email protected] 44 points 1 month 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>
[–] [email protected] 13 points 1 month ago (2 children)

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

[–] [email protected] 18 points 1 month ago (1 children)

They probably have experience with Spring

[–] [email protected] 10 points 1 month ago (1 children)

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

[–] luciferofastora 7 points 1 month ago

That's grotesque and you have my condolences

[–] [email protected] 5 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 1 points 1 month ago

Thankfully we have Gradle now.