4 ms·
You’re solutions take and order of magnitude more typing and memorization than the app. It’s also more error prone, e.g., syntax errors. Don’t take this wrong
by robenkleene 6y ago
You’re solutions take and order of magnitude more typing and memorization than the app. It’s also more error prone, e.g., syntax errors.
Don’t take this wrong way, I’m trying to phrase this as nice as I can, because I’m truly super curious where people who ask these questions are coming from, but isn’t that obvious? Are you not aware how much more memorization, typing, and room for error your solutions have? Or do you just not value those difference? And if it’s the last one, why isn’t it obvious that this is simply for people who do value those differences more? (Again, sorry if this sounds rude, but I see comments like this a lot, and I want to understand the psychology behind them.)
- wraptile 6y agoThere's no memorization involved at all. You create a bin script or an alias the first time you do it. i.e. typing `escape-html "<h1>hello</h1>"` in your terminal is infinitely more efficient and easier than firing up some app and navigating some menus. This also supports of all of unix actions like piping and output redirection. I honestly quite shocked how many developers on MacOs are not familiar with the terminal and are weirdly afraid of it!
- robenkleene 6y agoThis adds setup cost, to create the initial aliases, plus that doesn't remove memorization, it just replaces memorizing the command with memorizing your alias (which I agree is easier, but I have a bunch of aliases myself [1], [2], they're a pain to keep track of). Again, I struggle with what's difficult about imagining someone who's priorities are different? Also... sending HTML as a parameter in your shell? Have you actually tried this? That's going to be a nightmare to escape for anything even a little bit complicated. [1]: https://github.com/robenkleene/Dotfiles/blob/master/zsh/alias.zsh https://github.com/robenkleene/Dotfiles/blob/master/zsh/alia... [2]: https://github.com/robenkleene/Dotfiles/blob/master/zsh/abbr.zsh https://github.com/robenkleene/Dotfiles/blob/master/zsh/abbr...