844
submitted 1 week ago by alphacyberranger to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 113 points 1 week ago

It uses XML-like syntax:

<fun>
  <name>sum</name>
  <in>
    <int>foo</int>
    <int>bar=0</int>
  </in>
  <out><int>foo+bar</int></out>
</fun>
[-] [email protected] 43 points 1 week ago
<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] 4 points 1 week ago* (last edited 1 week ago)

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 6 days ago

Thankfully we have Gradle now.

load more comments (6 replies)
load more comments (26 replies)
this post was submitted on 05 Jul 2024
844 points (98.0% liked)

Programmer Humor

31331 readers
14 users here now

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

Rules:

founded 4 years ago
MODERATORS