Tests are just booby traps for the other engineers so they don’t break your code by mistake.
Tests are just booby traps for the other engineers so they don’t break your code by mistake.
Oh crap he leaked your IP address then!!
Idk I thought they would have already left a long time ago but they are still there
Yeah but you know it exists lol how would someone just looking for the java run time know that openjdk exists to search for it?
It’s definitely an improvement to just being plain old dead
Yes you can but the little red squiggles show in your editor to warn you that it’s unused code. That’s what the whole post is about lol
Then it automatically imports the library for you too lol
How do you mean? You can’t type a word without using it in a word processor. Once the word is typed out it’s been used. Variables need to be declared then used so 2 separate steps.
I want the title of scrum master just because it sounds gross. Keep your dirty hands off my scrum!
That’s the life of a bean for ya
Everyone knows you want to broil it
In the error shown a compiler would be just fine and run as usual but the person programming it would be expecting a different result so a compiler wouldn’t do this for you since it’s a logical error and not a syntax error.
I get your point about it being a trick question but I think in this case it’s pretty reasonable that you would see code like this in real life. Where the programming metaphor and your understanding of the real world clash. It’s a very important skill to be able to spot the difference.
Idk I would rather have one wife who did dishes than 2 that didn’t know how to lol
By typed they mean declairing a type for your variables.
In some languages, variables needs to be told what kind of data they can hold. That’s it’s type. For instance a number without decimals would be an integer type. While text might be a string type or a list of character types.
Other languages don’t require types and sometimes don’t even support them. They will just infer the type from the data that’s in the variable.
If you see Elon Musk please explain this to him.
It’s kind of like graphQl you could make a compiler that would work with this.
Because who would willingly turn that on? Lol
That’s fair but if you had proper test coverage there wouldn’t be much risk. Who has that though? Lol
True
I called in sick today so I could skip all the meetings lol