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

Programmer Humor

32472 readers
855 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] 120 points 4 months ago (29 children)

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] 29 points 4 months ago (3 children)

The whitespace is not only required, but it must be tabs and spaces.

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

Compiler rolls the dice if your only required indentation is accepted as space or tab. Per line.

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

But stores this information as a metadata file, which gets invalidated when a new file is added/removed from the program muhahaha!

load more comments (1 replies)
load more comments (26 replies)