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

Programmer Humor

32375 readers
1464 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] 46 points 4 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>
[–] [email protected] 13 points 4 months ago (2 children)

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

[–] [email protected] 19 points 4 months ago (1 children)

They probably have experience with Spring

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

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

[–] [email protected] 7 points 4 months ago

That's grotesque and you have my condolences

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

[–] [email protected] 1 points 4 months ago

Thankfully we have Gradle now.