5 ms·
Of course you can write code using cat but there is no good reason to do so. That would be like being a carpenter who refuses to use powertools and instead reli
by this_user 11y ago
Of course you can write code using cat but there is no good reason to do so. That would be like being a carpenter who refuses to use powertools and instead relies on manually operated ones. If you don't understand how to use the tools of the trade that will greatly improve your productivity, then you simply are not a professional.
- mbrock 11y agoYou don't know that there's no good reason to do what I do. I use many different tools. Try ed sometime, it might improve your productivity. Professional? I deliver and get paid.
- EC1 11y agoHow about some specific examples instead of "I use `cat` and I'm right"? >You don't know that there's no good reason to do what I do. Exactly. Show us.
- mbrock 11y agoWhat does it matter if I'm "right" about using a fundamental Unix command to enter text once in a while? What do you think I'm arguing, that cat is the best text editor and everything else sucks? Some guy said I'm not a professional even before I had a chance to give an example, which is rude and ignorant.
- u02sgb 11y ago"No good reason to do so" is a bit strong, what about basic concatenation of two files when you're working at the command line `cat file1 >> file2` is much faster than anything else. The OP may not be talking about editing files line by line.