

Regex is Turing Complete after all.
Regex is Turing Complete after all.
Oh so its just referring to writing the mod’s code in the same file the mod is declared in being bad form? That seems very reasonable; since the point of a module is code separation so it makes sense to always put it in its own file. Good, I’m already doing that at least!
I don’t understand how to follow this bullet point that I was replying to.
do not use mod unless it’s test for the current module. No I don’t want to Star Wars scroll your 1000 line file. Split it.
I already know what mod does in a basic sense, I wanted to know what the commenter meant by this.
I don’t know enough Rust to understand by what you mean by the last one. My understanding was that mod name
was just declaring the module that this file depends on. Could you explain what I should do instead? Since your other statements I totally agree with, I should probably agree with the last one.
Bash being on the same level as actually fake code is a pretty hot take to me. What are your opinions on Python, or Ruby, or any other interpreted language? You could very well use them as your login shell, just like Bash if you wanted. In your eyes, if Bash *isn’t * a programming language at all, how do you describe a programming language? Languages that express code are just the same as languages that write stories, and whether you do it in German or Vietnamese makes no difference on what story you can write.
When you describe a language as constricted what do you mean? Bash can do anything Python or Rust can do, each of them is just specialized to being better at specific aspects for human convenience in writing code. There is no inherit limitation on what can be done by the language you use to express it.
Pseudo code is literally fake code. Scripting is an actual type of code. Scripted languages while not strictly defined, usually refers to languages you don’t compile before running them. Bash is considered a scripting language because you don’t ship a binary compiled executable, but rather ship a file that is human readable and converted into machine code when it is run. Scripting languages are compared to compiled languages, like C or Rust. Where the file you run is already compiled, and executed directly.
What do you mean by this?
i’m referring to the aspect of a scripting language being generally constricted.
Any Turing complete system, or this case language, can do anything any other one can, depending on the level of suffering you are willing to endure to make it happen. Anything JS can do, Rust can do. Anything Rust can do, Bash can do. The differences between languages is the assumptions they make, and performance characteristics as a result of those assumptions. Functionality is not practically different from one another, though some absolutely make it easier for humans to do.
The best solution to that situation is just a more vigorous application of XGH.
Vegans for OpenTofu brought a smile to my face immediately, I shall hopefully remember to use this when it comes up.
Whitespace is not visible. It is the absence of something that is visible. Whitespace should be used for the comfort of the reader, not to determine scope. Are you proposing that a " " character is more visible than “{}”? The fact I must quote it to make what I am discussing even apparent speaks for itself. I’m not arguing that indentation is bad, far from it. In fact, the flexibility of using indentation purely for readability, makes code more readable.
Surely tar --help
is a valid tar command, right?
I agree, whether or not it is good or bad, or readability concerns over nested braces. I fundamentally hate invisible delimiters. If it matters, make it visible. We have so many ascii characters, why not just borrow a few?
You still use keys?
I use pgup/pgdn every day. Especially with terminal multiplexers, as I am unaware of how to view the scrollback buffer of long outputs faster than a quick couple of pgup’s.
I appreciate that fun fact. The meme now makes more sense.
Feel like this joke would work better with TS | JS. Since that’s the point of the former. I don’t know how rust and ocaml are related?
I unironically love this, and I have now added it to my talking points about operating systems.
Its merely off topic, Windows isn’t Unix. OSX is, though only loosely.
I can’t seem to find it, but I think it was James Gosling, where he was blocked from reviewing code at Google because he hadn’t gone through the company’s approval process. I hope this wasn’t a myth I’ve been carrying on for this long.