I'm declaring a war...
-
-
War
should never bevar
iable: it would never end, or indeed compile ... :-D"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
U2?
-
...and what is the compiler supposed to think is the implied type?
- I would love to change the world, but they won’t give me the source code.
It's JavaScript because it's interpreted by the victor.
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
That's valid JavaScript, but what is it good for? Absolutely nothing.
-
That's valid JavaScript, but what is it good for? Absolutely nothing.
Pete O'Hanlon wrote:
Absolutely nothing.
Say it again!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
-
That's valid JavaScript, but what is it good for? Absolutely nothing.
(Clever = '+') - could that have been described as a peace of music?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
If it's chaos you want, do it this way
var war = null;
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
-
That's valid JavaScript, but what is it good for? Absolutely nothing.
Say it again...
Software Zen:
delete this;
-
(Clever = '+') - could that have been described as a peace of music?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
W∴ Balboos, GHB wrote:
a peace of music
I see what you did there...
Software Zen:
delete this;
-
If it's chaos you want, do it this way
var war = null;
If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
Wouldn't
null
be the absence of chaos?Software Zen:
delete this;
-
That's valid JavaScript, but what is it good for? Absolutely nothing.
Say it again!
TTFN - Kent
-
-
You probably would not like to let it in, instead, as in -
let war;
-
It should be const. [War Never Changes](https://www.youtube.com/watch?v=EM3Y6uw6FtU).
I'd rather be phishing!
-
-
Just five minutes, not the full half hour.
-
Just five minutes, not the full half hour.
-
-
...and what is the compiler supposed to think is the implied type?
- I would love to change the world, but they won’t give me the source code.
Of course, there could also be... auto war; If the compiler were inspecting at variable names for possible type information, it just might treat that as volatile. :)