19 karma · joined July 6, 2022
Is that really all that different from Python?
Nobody said that. Of course you can criticize. But be aware that your criticism itself could be subject to criticism.
I do agree!
Sorry to bother you but I am a bit confused about this part of your comment:
> `alert("Hello, World!")` or `doSomething()` are usually statements, not expressions;
Can you please clarify what you mean here? Do you mean `alert("Hello, World!")` is an expression? Or do you mean it is not an expression? Or did you mistype?
Your `console.log( /* put thing here */ )` test is a pretty good one and indeed `console.log(alert("Hello, World!"))` passes this test.
> There’s this Network Partition thing, it’s kind of a big deal
How could someone using RabbitMQ cluster not consider how the cluster would behave during a partition? This is exactly the kind of thing that should be tested in a safe environment before running the cluster in production.
Testing for network partitions is not something one wishes someone else would have told. It is an essential responsibility for anyone in a software engineering role. Not doing some basic testing to understand partition scenarios before running a cluster (any type of cluster) in production is a disaster just waiting to happen.
a = alert("hello"); // Assigns a to undefined
What isn't an expression? An `if` statement is not an expression. a = if (true) alert("hello"); // Uncaught SyntaxError: Unexpected token 'if'Many would argue that looking for engineering applications in mathematics is not why mathematicians do mathematics. That mathematics does sometimes have engineering applications is a mysterious and beautiful side effect. It isn't the motivation behind doing mathematics.