© Jason Lee Hodges 2019
Jason Lee HodgesSoftware Engineering from Scratchhttps://doi.org/10.1007/978-1-4842-5206-2_5

5. Basic Data Types

Jason Lee Hodges
(1)
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 ...

Get Software Engineering from Scratch: A Comprehensive Introduction Using Scala now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.