3 ms·
I sort of agree wrt quoting. Most people's solution is just "well don't use spaces or dollars or whatever in your filenames!" which is obviously shit. But on t
by IshKebab 4y ago
I sort of agree wrt quoting. Most people's solution is just "well don't use spaces or dollars or whatever in your filenames!" which is obviously shit.
But on the other hand I think the ultimate blame lies with Bash for being so shitily designed that you can make basic quoting mistakes and it works most of the time. Real programming languages don't have that issue.
- fyloraspit 4y agoIt's not a real programming language tho
- bheadmaster 4y agoYeah! REAL programmers program only in the REAL programming languages like ${MY_FAVORITE_LANG}. Bash? More like - Bah!.
- roywiggins 4y agoIt's not a real programming language in the same way Brainfuck isn't a real programming language, because it makes life too hard.
- bheadmaster 4y agoSo does Java, yet it is still considered a real programming language...
- synu 4y agoI always have to share this video on threads like these: https://youtu.be/kdMG40wUCm4 https://youtu.be/kdMG40wUCm4. Maybe you’ve seen it - interview with a senior Java developer in 2022.
- still_grokking 4y agoLet me summarize. Java, the good parts: > We don't actually use Java. We use Scala.
- bheadmaster 4y ago> It has clean code and a clear architecture which makes it perfect for serious business I love how vague and meaningless this is, yet I still feel like I've heard this sentence said unironically a hundred times.
- woodrowbarlow 4y agotrue, but nothing (besides how entrenched sh is) prevents replacing it with a real language. you don't need to use a posix shell in your terminal, any REPL that can launch executables will do. i used tclsh as my shell for a while, for instance.
- still_grokking 4y agoSo why do people write real production code in it?
- ilc 4y agoYes, the convention is shit. Alas, the things that force it are also shit. Overall, it is an improvement. Want real fun. touch -- --help # or similar. :)