3 ms·
I'm one of the people who tend to ask why. Sorry to everyone on this thread who are frustrated by it. From my point of view, I'm really not trying to undermine
by koala_man 7y ago
I'm one of the people who tend to ask why. Sorry to everyone on this thread who are frustrated by it.
From my point of view, I'm really not trying to undermine what you're doing, it's a genuine attempt at getting you the best solution.
Here are some examples:
>How do I use apt on Fedora?
>How do I unroll this bash loop?
>How do I multiply this number by 1024 with sed?
I could have a lot of fun answering each question exactly as stated and if you say "I know it's the wrong tool for the job but I'm doing it for fun" that's exactly what I'll do.
However, it turned out that:
>They just wanted to install stuff thinking apt was universal. The better solution was using yum
>Their loop was slow and they had read that unrolling was an optimization. The better solution was reducing the number of subshells spawned
>They just wanted a result, not to implement an integer multiplication state machine in sed. The better solution was using perl/awk
I know some people are jerks about it, and that sometimes you want answers to weird questions. When people do appear to be going down the wrong path though, it would be a disservice to help them do that without letting them know that there's probably a better way.
Sorry for any false positives.