This space left intentionally blank.

  • 0 Posts
  • 96 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle


  • Shell scripts were a mistake.

    I understand 1000% but I’m not sure I agree. With the peevishness of C and latent autism of assembly, something compiled or otherwise binary isn’t always simple and straightforward. Sometimes, you have a task that only needs to be done three times, and just replaying the commands is sufficient.

    sh, ash, and bash are all kinda dumb. Absolutely. But there are other shells that are significantly better. csh and zsh are both great. ksh has some history on it but is good too. But “shell scripts” don’t have to be in your shell language. The hashbang line will let you make a command file and so long as you can describe the command line you can get most shells to run it. Be that language line noise perl or python or even go.




  • Compiler output only marginally better than working with c++

    No one claims it’s faster at runtime than good C++, it’s just a lot easier to write decent code

    I think they’re referring to warning and error content. Compared to things like rust, deciphering error notifications from the c# compiler can sometimes feel like trying to figure out what a child with limited vocabulary is trying to tell you.

    Even with decades of personal experience with it, they can be confusing and non-informative sometimes for me.