I find it really annoying that the author would write code in C#, C++, and JavaScript differently even when the languages share the same syntax for that area. For instance, even when the languages shared the same syntax for do-while, in some versions he would write the while condition on a separate line and others not.
I'm also not sure what Python is doing in there. It's not a very C-like language. And if he wanted to show the diversity of different ways of doing things, he seemed to have gone out of his way to only showcase a family of languages that are unusually similar to each other (apart from Python).
Additionally, the comparisons fail to actually show where the languages are different or the same. He claims that C# only has 3 types of loops: do, do while, and for. Then he compares that to Python which he claims only has two: for and while. The problem is that Python's for loop is actually C#s foreach loop. This would actually be a very good way to illustrate that Python loops are conceptually different from those in other languages and how generators are built into Python. But he ignores that, while also ignoring other Python constructions which are pretty unique to Python as a language. As far as I know, C# doesn't have anything equivalent to Python's while-else or for-else loops. I might go so far as to say that the information provided about loops in these languages is incorrect.
My last criticism is that if we're meant to compare these snippets of code, it would have been much more readable had they actually been placed side-by-side, rather than lay out everything vertically.
This is using Python 2, which is end-of-lifed. Those bare print statements are gauche. Python does have a variable keyword, `global`.
While JavaScript can omit semicolons, it's an incredibly bad idea outside of console/Node REPL. In particular it'll merge adjacent closures or constants, and you'll have an incredible time trying to find that error. Semicolon everything.
The arrow function as ()=>{} is clearer and less likely to suck up adjacent terms.
There's no point in even showing C#, since it's just Java with the capitalization swapped. Go, as well, but at least it's slightly different.
OP should learn some languages which aren't just FORTRAN-with-C-syntax, like Scheme (or any LISP), Haskell, ML, etc.
I'm also not sure what Python is doing in there. It's not a very C-like language. And if he wanted to show the diversity of different ways of doing things, he seemed to have gone out of his way to only showcase a family of languages that are unusually similar to each other (apart from Python).
Additionally, the comparisons fail to actually show where the languages are different or the same. He claims that C# only has 3 types of loops: do, do while, and for. Then he compares that to Python which he claims only has two: for and while. The problem is that Python's for loop is actually C#s foreach loop. This would actually be a very good way to illustrate that Python loops are conceptually different from those in other languages and how generators are built into Python. But he ignores that, while also ignoring other Python constructions which are pretty unique to Python as a language. As far as I know, C# doesn't have anything equivalent to Python's while-else or for-else loops. I might go so far as to say that the information provided about loops in these languages is incorrect.
My last criticism is that if we're meant to compare these snippets of code, it would have been much more readable had they actually been placed side-by-side, rather than lay out everything vertically.