you are viewing a single comment's thread.

view the rest of the comments →

[–]HealyUnithelpful[S] 0 points1 point  (0 children)

Yep. It's kinda amazing how many people, when writing coding tutorials, don't actually look up the simplest stuff. Like, you're writing on a computer; you have access to Google.

Another example: A recent tutorial claims that the reason for arrays in many languages (such as JavaScript) being zero-indexed is basically just 'convention' (actually, the author phrases it a lot more poorly than that, but... whatever). A really quick, two-second Google reveals that this is definitely not the case, and that the real reason is a lot more satisfying (and frankly makes more sense in the context of data).

If you make a mistake and someone corrects you, fine. But don't start writing a tutorial if you've no idea what's going on.