• 0 Posts
  • 278 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle







  • That’s a valid point.

    There are two kinds of good serialization languages, the ones where values are black boxes and only serialize the data structure, and the ones where everything is completely determined and can be turned directly into an API.

    JSON is neither, but it’s closer to the first than YAML. XML is the first, while the SOAP standard almost turns it into the second. TOML is about as close to the first as JSON.





  • marcos@lemmy.worldtoProgramming@programming.devWhy YAML sucks?
    link
    fedilink
    arrow-up
    10
    arrow-down
    3
    ·
    edit-2
    26 days ago

    Haskell supports both semantic whitespace and explicit delimiters, and somehow almost everybody that uses the language disagrees with you.

    But anyway, for all the problems of YAML, this one isn’t even relevant enough to point out. Even if you agree it’s a problem. (And I agree that the YAML semantic whitespace is horrible.) If YAML was a much better language, it would be worth arguing whether semantic whitespace breaks it or not.








  • As the GP points, it’s not so simple. The landholders are not the super-rich, the super-rich are all politicians, without exception. The next tier of Brazilian riches are industrialists, and nearly all of those got everything they have by exploiting political connections.

    And guess what, the successful politicians of today are all people that developed their political career during the last dictatorship or close allies of them. And if you look at party financing, media allocation, and how the electoral courts behave, the reason becomes obvious quite quickly.