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

5. Basic Data Types

Jason Lee Hodges1 
(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 operates. ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.