• 0 Posts
  • 95 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle



  • A few weeks? How do you stay employed? How do you even feed yourself at that pace? Blocked on making a sandwich, I’ve got the wrong type of bread.

    It’s three lines in an editor config file to standardize the indents across any editor: https://editorconfig.org/

    In vscode, adding two extensions is all I need:, yamllint (if you don’t use linters, I don’t know how you do your job in any language) and rainbow indents. Atom had similar ones. I’m sure all IDEs are capable of these things. If you work at a place that forces you to use a specific editor and limits the way you can use it, that’s not YAML’s fault.

    At a certain point, it’s your deficiencies that make a language difficult, not the language’s. Don’t blame your hammer when you haven’t heated the iron.


  • So it’s easy to enforce locally but you don’t have to. And it’s easy to see indentation on modern IDEs and you can even make your indents rainbows and collapse structures to make it easier to see what’s going on, but I guess since some people want to write it in vi without ALE or a barebones text editor, it’s bad? Like there are legit reasons it’s bad, and other people have mentioned them throughout the thread, but this seems like a pretty easy thing to deal with. I work with ansible a bunch and YAML rarely is where my problem is.



  • Hobbies, sure. But specialization comes with tools and learning that generalists don’t have, couldn’t possibly afford, and would be a ridiculous amount of things to store and knowledge to remember. E.g. I don’t want to do my own dentistry and I’d prefer an expert for that. Dentistry in the US requires a whole medical degree, specialized tools, etc. I also don’t own the equipment nor have the knowledge to find and drill a well if I want to be “self sufficient”.

    You don’t have to be an expert, and that can be very freeing, but we do need them and becoming an expert has opportunity costs. That doesn’t mean experts are shallow or becoming a generalist is deep or morally better nor does it mean generalists are in any way insufficient.