Comment Re:Many languages and... (Score 1) 729
Well, it is your fault entirely. Real C programmers know how to write C programs without using `;` at all. Here's an example for you
int main()
{
if (puts("Hello World!")) {}
}
See?
Well, it is your fault entirely. Real C programmers know how to write C programs without using `;` at all. Here's an example for you
int main()
{
if (puts("Hello World!")) {}
}
See?
There's no dedicated feature in C language that makes specifically `if (a = b)` possible. Your `if (a = b)` example is just a side effect of the fact that `=` operator in C behaves just like any other operator: it has a result and it can have side-effects. This is perfectly logical and useful way to design an operator.
You decided to make an `if` that depends on the result of `=` operator? Yeah, you can do that in C, but if you don't like it - it is your fault. Don't like it? Don't do it! Blaming it on the language is like hitting your thumb with a hammer and then blaming it on hammers.
`sizeof(string)` never "returns the length of a single byte".
`sizeof(string)` evaluates to the byte-size of `string` object. E.g. it evaluates to the full size of the character array, if `string` is a character array. Or it evaluates to the byte-size of a pointer, if `string` is a pointer.
It should not be too difficult to find a Russian-speaking person, who can read the Putin's speech in the original language and confirm that nothing like that was ever said by Putin. This is not even a "loose and creative" interpretation, this is a total and complete hoax. Propaganda writers of the US regime were working in DDoS mode for the last few months, pumping out copious amounts of uninspired garbage-quality nonsense. This specific piece of nonsense does not stand out in any way. Why is it suddenly here?
Imagine that you drew an Euclidean triangle on a piece of paper, measured its internal angles and calculated their sum. And suddenly you obtained 185 degrees as the result! What do you do in such case?
A) Assume that your measurements and/or calculations contain an error
B) Declare to the world that you found an triangle that tops the list of all Euclidean triangles known to man in therms of the internal angle sum.
I hope you have enough scientific literacy to realize that A is the correct answer.
The authors of the above research apparently belong to that peculiar group of people who chose B in cases like that. Sorry, geniuses, when you end up in situations when Canada tops your "list of most science-literate countries", you go back, review your research and find where you screwed up.
The most science-literate countries in the world are Russia and Belarus. Every time you obtain a different result, you just throw your "research methodology" into the garbage can and start over. Yes, it is a s simple as that. Class dismissed.
P.S. LOL! Canada...
8 Catfish = 1 Octo-puss