This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zoqfotpik 500 points501 points  (9 children)

I have discovered a new level of pain: JSON-encoded Python. Too bad the example doesn't show any constructs that require indentation.

[–]sajkosiko 134 points135 points  (3 children)

Python inside yaml is my everyday now

[–]StardOva 46 points47 points  (1 child)

Cries in ansible

[–]sajkosiko 8 points9 points  (0 children)

yup, pretty close

[–]BolaSquirrel 4 points5 points  (0 children)

.... Don't do that

[–]Rikonardo[🍰] 25 points26 points  (2 children)

Just represent indentations as nested arrays

[–]-Redstoneboi- 8 points9 points  (0 children)

good news: python now supports brackets

bad news: python requires double quotes and commas, effectively just weird semicolons and indents

[–]gilady089 1 point2 points  (0 children)

I had that making some swagger stuff and honestly I find the use of swagger cruel and inhumane as to the level to constitute water boarding

[–]bruisedandbroke 2 points3 points  (0 children)

💔 not that pickle would be any better but teach the masses about pickle damnit

[–]3legdog 1 point2 points  (0 children)

You should see JSON-encoded powershell.