© Jason Lee Hodges 2019Jason Lee HodgesSoftware Engineering from Scratchhttps://doi.org/10.1007/978-1-4842-5206-2_5
5. Basic Data Types
Jason Lee Hodges1
Draper, UT, USA
It is often an impulsive tendency among programming students to dismiss data types as a less than impactful topic. After all, Scala is inferring the type for each expression or variable for you, and since there are so many other topics to learn, why spend the upfront time on a seemingly minor topic, right? Not only that, but in many introductory computer science languages, the type system is neglected entirely. Why, then, is it important to understand the difference between data types?
Like a benevolent creator, what you code defines the rules of the world in which your program ...