

Plus, he didn’t explore the type system of Scala via the given bottom types. Why You Should Say: The first answer isn’t bad, Allen says, but the developer didn’t realize that the list only contained terms and didn’t explain the distinction between types and terms.Nothing is commonly used as a return type from a method that does not terminate normally and throws an exception.”

Nothing is the bottom type of the entire Scala type system, incorporating all types under AnyVal and AnyRef. What You Should Say: “ Null is a type that represents the absence of type information for complex types that are inherited from AnyRef.None is the value of an Option if it has no value in it.” What Most People Say: “ Nil is the end of a List.What’s the difference between the following terms and types in Scala: ‘Nil,’ ‘Null,’ ‘None,’ ‘Nothing’? If you’re interviewing for a Scala developer’s job, how should you prepare? Jamie Allen, director of global services for San Francisco-based Typesafe, initially probes candidates for their general understanding of the language, then explores their specific expertise in things such as libraries and case classes. Though it ranked 39th in August’s TIOBE Programming Community Index, enthusiasts predict it will become a leading technology in the enterprise by 2018. As Scala slowly goes mainstream, demand for programmers familiar with the language is rising.
