Coding basics book
Posted by killer_sponge_bob@reddit | learnprogramming | View on Reddit | 6 comments
Hello people,
I'm looking for a book that would explain basic coding concept like if else, methodes, classes, variable types, ect... That i could use to teach my student basic coding knowledge that then can then reuse on any type of language. Ideally somthing not specifically tied to a language but its the case, id rather it be c#, java or python. I'm trying to look for something efficient that explains well only basic important principales and it has to be in some sort of printable form or a book, not on a learning website.
Thank you
dajiru@reddit
Just grab one shot algorithms. Learning the language comes later
zdanev@reddit
Structure and Interpretation of Computer Programs - classic text, available for free from MIT
ffrkAnonymous@reddit
literally, BASIC
desrtfx@reddit
Honestly, the best way to explain these concepts on a fundamental level is to go through something like flow charts and what comes closest in digital form is Scratch.
But: why would one even need a book to explain these fundamental concepts?
Just find simple, real world analogies. They are countless and even work for Data Structures:
And so on.
A very fundamental book on these topics is "Code: The Hidden Language of Computer Hardware and Software" by Charles Petzold - but that might be too dry and advanced.
Other books are "Head First Programming" and "Head First Learn To Code" - they might be easier and better suited.
TomStripes@reddit
They're a little cheesy, but in my opinion if you want something beginner-oriented without getting bogged down in complexity you can't do better than the "Head First" series. They have books for all three languages you mentioned, and they are fun and easy to read. If you're indifferent to which language, I would personally recommend C#. It is currently a slightly less complex ecosystem to manage than Java, but is a little more "structured" than Python which makes it good for teaching fundamentals.
I've also heard great things about the C# Players Guide as a starting point, but I'm not personally familiar with it so I can't really vouch.
Dappster98@reddit
Every language has its own way of implementing and representing these, with different rules and behaviors. I don't know of any book that is language agnostic while also providing insight as to various language-specific ways of using these features.