After playing a little bit with QBasic when I was a kid, I was given a K&R C book. My takeaway: programming is not for me. I didn't look at programming seriously again until I was 23. This article is terrible advice.https://www.zeroequalsfalse.press/2017/11/29/c/
Just so we're clear, your claim is that writing in Ruby and JS teaches you the bad habit of not documenting your functions, which takes years to unlearn, unlike go where types force you from the get-go to properly document your functions?
-
-
You asked for an example. Obviously it goes much deeper than that - behind stricter languages there is usually a philosophy that is taught and expressed through the possibilities and limitations of the language. In languages like JS or PHP, basically "anything goes".
-
That is, get the syntax right, and you can get away with pretty much any dumb thing you can think of - it puts programmers in permanent "patch mode", and teaches them that that's programming: hack at it until it works. It's not a healthy philosophy to learn.
-
Ruby, for example, has arity checking as well as rejecting implicit coercions approximately as often as Rust. Doesn't this teach developers that anything doesn't go?
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.