News for hackers. Stuff that matters.
Re:YAML: Probably not so great after all by userbinator on Sunday August 18, 2019 @06:18PM (#20733314)
Code you write yourself is not usually the source of problems with significant whitespace; it's situations like posting code on websites and discussing it where code in a whitespace-significant language becomes next-to-useless when leading whitespace is stripped, whereas code in any other language will still survive and then easily be autoformatted without changing its meaning.
Re:YAML: Probably not so great after all by icebraining on Sunday August 18, 2019 @08:27PM (#20733893)
If I were to use such a shitty website, I'd rather make a pastebin and link to it, instead of forcing every reader to reformat it themselves.
Re:YAML: Probably not so great after all by pshc on Sunday August 18, 2019 @07:46PM (#20733693)
Can’t remember the last time this has actually happened to me. In what websites are people posting code without code block formatting support? Like, instant messengers?
Re:YAML: Probably not so great after all by contradictioned on Monday August 19, 2019 @09:03AM (#20737333)
Funfact, even Facebook, Whatsapp, and Telegram support preformatted text in triple backticks.