Fork me on GitHub
#clojure-europe
<
2020-05-06
>
agigao08:05:11

I’m having the bad day 😅 a CTO went full OOP with class configurations in YML 🐍

synthomat08:05:52

we started with a small yaml config which “organically” started growing to hundreds of lines - now we have issues with indentations

synthomat08:05:41

don’t do YAML! (also don’t misuse YAML as a suppliment for the lack of proper configs in the database 😭)

otfrom08:05:54

dhall? 😉

synthomat08:05:35

wow. why though

thomas09:05:13

programming in YAML is also bad... doing config scripts in Ansible was rather painful.

jasonbell09:05:34

Yup Ansible is a bit of a mess. Just picking stuff apart for Kafka Connect and it’s dreadful.

Ben Hammond09:05:51

i've never had to use YAML for anything serious; what is the problem with it? Is it insane sensitivity to tab spacing?

thomas09:05:14

I'd like to refer to Tommy Hall's talk from Krakow for this. If you are using a DSL want to be able to drop down in to a proper programming language and not try and hack a language in to the DSL.

jasonbell10:05:40

Tommy’s talk is excellent

Ben Hammond14:05:56

have you got a link? g "tommy hall" yaml krakow does not find me much

thomas14:05:47

second from the top

thomas14:05:39

Tommy's talks tend to be interesting. The one he gave in Berlin a few years ago was also very good.

Ben Hammond14:05:29

oh is he wearing a Crux Tshirt

Ben Hammond15:05:59

quite the collection

otfrom16:05:03

it certainly is