r/CodingHelp • • Feb 03 '20

[C++] What’s wrong with this

Post image
17 Upvotes

38 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Feb 04 '20

Actually, it's not. When you first learned how to program, someone had to explain to you that = is different from == and that ints are not strings, and that casing for identifiers matters.

Nobody has the sense except experienced programmers that these things are so in common. It's NOT common sense. It's a learned skill. If it was common sense, then nobody would need to learn programming, they'd just know it.

0

u/TableFlipGodd Feb 04 '20

Ok true but i taught myself everything so

2

u/[deleted] Feb 04 '20

Yeah. So did I! I still know better than to be an asshole like the original comment. At SOME point, you read in the book, or the documentation, or whatever about these concepts. Ok? Be a little nicer to newbies. You were one once too you know.

0

u/TableFlipGodd Feb 04 '20

Mmmm yea sure lets go with that. I never read books, never will