1220
AI's take on XML (lemmy.world)
submitted 10 months ago by renzev@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] thebestaquaman@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Yes, it's a field. Specifically, a field containing human-readable information about what is going on in adjacent fields, much like a comment. I see no issue with putting such information in a json file.

As for "you don't comment by putting information in variables": In Python, your objects have the __doc__ attribute, which is specifically used for this purpose.

this post was submitted on 08 Sep 2024
1220 points (100.0% liked)

Programmer Humor

37457 readers
6 users here now

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

Rules:

founded 6 years ago
MODERATORS