864
you are viewing a single comment's thread
view the rest of the comments
[-] manucode@infosec.pub 119 points 3 months 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>
[-] _stranger_@lemmy.world 29 points 3 months ago

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

[-] kewko@sh.itjust.works 8 points 3 months ago

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

[-] reinei@lemmy.world 2 points 3 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)
this post was submitted on 05 Jul 2024
864 points (97.9% liked)

Programmer Humor

32219 readers
23 users here now

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

Rules:

founded 5 years ago
MODERATORS