Why must we do these things to ourselves?
Ansible is a Lisp?
21–30 of 45 posts
Re: Ansible is a Lisp?
#22Re: Ansible is a Lisp?
#23See also https://en.m.wikipedia.org/wiki/Greenspun%27s_tenth_rule "Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."
Discovering that code is data and data is code is discovering the moon. And inferring that your sad configuration management system based on an ugly data language is kind of related to Lisp must be mind blowing. Also bonus fact, XML is a lisp too !
Actually maybe we could have written ansible in lisp directly to save us the trouble.
Re: Ansible is a Lisp?
#24Not everything that can be represented with s-expressions is a lisp. For example: (html (body (h1 "Hello, World!"))) This does not mean that HTML is a lisp.
Hello World! Greetings Earthlings!Re: Ansible is a Lisp?
#25See also https://en.m.wikipedia.org/wiki/Greenspun%27s_tenth_rule "Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."
At the end of the day, quite a lot of the work in programming boils down to ensuring that what you wrote does _exactly_ what you intend rather than behaving in some other way, and that means identifying and eliminating places where it diverges. There are a lot of common patterns for places where these issues occur, and a language that can identify those patterns and make it impossible for you to write a program that has those mistakes is saving you time up front.
Re: Ansible is a Lisp?
#26Re: Ansible is a Lisp?
#27Re: Ansible is a Lisp?
#28Not everything that can be represented with s-expressions is a lisp. For example: (html (body (h1 "Hello, World!"))) This does not mean that HTML is a lisp.
Not all of HTML can be represented with s-expressions. The following is perfectly valid. Hello World! Greetings Earthlings!
Re: Ansible is a Lisp?
#29Not everything that can be represented with s-expressions is a lisp. For example: (html (body (h1 "Hello, World!"))) This does not mean that HTML is a lisp.
Not all of HTML can be represented with s-expressions. The following is perfectly valid. Hello World! Greetings Earthlings!
Hello World! Greetings Earthlings!
You can see this by looking at the innerHTML, which is really just a serialized form of the DOM tree.Re: Ansible is a Lisp?
#30Ansible is great, but using YAML still bugs me. Would just be a lot easier with HCL (Hashicorp) or something else.
Still, the greybeard who come up with the initial design and architecture was the best dev i've ever worked with, to this day. I wasn't ready to learn as much as i ought to do, sadly.