3 ms·
> The author literally tried to use the string “107” Well, no. That string was not literally used there at all: if it was, there would have been a literal 107
by Joker_vD 3y ago
> The author literally tried to use the string “107”
Well, no. That string was not literally used there at all: if it was, there would have been a literal 107 in the user's input. There wasn't.
> It’s impossible to be a good software engineer in 2023 without understanding the basics of shell programming
> bash is just constructing strings of text and doing stuff with it
It's a reassuring knowledge in 2023, after 40 years of countless bugs, exploits, vulnerabilities and accidentally rm-ed important files, the paradigm of "just constructing strings of text and (blindly) doing stuff with it" is still ubiquitously used and one can not be a good software engineer without extensive knowledge of it. Bash truly deserves description of "a mistake, carried through to perfection. It is the language of the future for the programming techniques of the past: it creates a new generation of coding bums" much more than APL.
- da39a3ee 3y agoAgreed, my use of literally was incorrect. But otherwise I don't think we disagree! Bash/zsh etc is a terrible language and it's absurd that knowing it is still required. Nushell is a better direction, but I don't know how the transition's going to be made; I just went back to zsh from nushell.
- da39a3ee 3y agoActually, my use of "literally" is correct as hibbelig points out. I never said that they used the string literal "107". They literally tried to do something which would clearly lead to attempting to use a string representation of an integer as an executable name.
- hibbelig 3y agoThe author literally tried to use 107 as a command. The author did not try to use literally 107 as a command.
- deleted 3y ago[deleted]