• 1 Post
  • 839 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle


















  • atzanteol@sh.itjust.workstoProgramming@programming.devWhy YAML sucks?
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    11 days ago

    YAML mixes 2 and 4 spaces all the time. Python scripts don’t run if you write this kind of crap.

    Sure it does. You only need to be consistent within a block. Python’s syntax is ridiculous and solves problems that basically don’t exist.

    All of my java/kotlin/rust/etc. code is trivially well formatted and can be done by my editor. Moving code blocks is trivial. Refactoring is easier when I didn’t need to hand -format the code just to make it work.