Programming with Types by Vlad Riscutia

Programming with Types by Vlad Riscutia

Regular price
Checking stock...
Regular price
Checking stock...
World of Books

At World of Books, you’ll find millions of preloved reads at great prices, from bestsellers to hidden gems. Every book you buy saves money and helps reduce waste, so you can read more for less while giving stories a second life.

The feel-good place to buy books
  • Free US shipping over $15
  • Buying preloved emits 41% less CO2 than new
  • Millions of affordable books
  • Give your books a new home - sell them back to us!

Programming with Types by Vlad Riscutia

Summary

Programming with Types teaches you to design safe, resilient, correct software that's easy to maintain and understand by taking advantage of the power of strong type systems. Designed to provide practical, instantly useful techniques for working developers, this clearly written tutorial introduces you to using type systems to support everyday programming tasks.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Common bugs often result from mismatched data types. By precisely naming and controlling which data are allowable in a calculation, a strong type system can eliminate whole classes of errors and ensure data integrity throughout an application. As a developer, skillfully using types in your everyday practice leads to better code and saves time tracking down tricky data-related errors.

About the Book

Programming with Types teaches type-based techniques for writing software that's safe, correct, easy to maintain, and practically self-documenting. Designed for working developers, this clearly written tutorial sticks with the practical benefits of type systems for everyday programming tasks. Following real-world examples coded in TypeScript, you'll build your skills from primitive types up to more-advanced concepts like functors and monads.

What's inside

  • Building data structures with primitive types, arrays, and references
  • How types affect functions, inheritance, and composition
  • Object-oriented programming with types
  • Applying generics and higher-kinded types

About the Reader

You'll need experience with a mainstream programming language like TypeScript, Java, JavaScript, C#, or C++.

About the Author

Vlad Riscutia is a principal software engineer at Microsoft. He has headed up several major software projects and mentors up-and-coming software engineers.

Table of Contents

  1. Introduction to typing
  2. Basic types
  3. Composition
  4. Type safety
  5. Function types
  6. Advanced applications of function types
  7. Subtyping
  8. Elements of object-oriented programming
  9. Generic data structures
  10. Generic algorithms and iterators
  11. Higher kinded types and beyond

Type-related failures are common and can be very costly. Famously, in 1999, NASA’s Mars Climate Orbiter burned up in the atmosphere because of an error that could have easily been prevented with typing. By taking advantage of the strong type systems available in most modern programming languages, you can eliminate whole classes of errors. 


Programming with Types teaches you type system techniques for writing software that’s safe, correct, easy to test and maintain, and that practically documents itself. Master these techniques, and you may even help prevent an interstellar catastrophe!


Key features

• Designing functions that don’t return values 

• An introduction to type systems and their benefits 

• Encoding text

• Building data structures with arrays and references 

• Type composition 

• Function types 

• Type safety 

• Object-oriented programming with types


Audience

Readers need basic high school math skills as well as some programming experience in a mainstream programming language like Java, JavaScript, C#, or C++.


About the technology

As software grows in complexity, it’s essential to adopt coding tools and strategies that enforce safety and correctness. A type system governs what types of data are allowable, requiring your code to accurately store, represent, and use its internal data.


Vlad Riscutia is a principal software engineer at Microsoft with over 10 years of experience in the software field. He has headed up several major software projects and mentored many up-and-coming software engineers.


SKU Unavailable
ISBN 13 9781617296413
ISBN 10 1617296414
Title Programming with Types
Author Vlad Riscutia
Condition Unavailable
Binding Type Paperback
Publisher Manning Publications
Year published 2019-12-13
Number of pages 325
Cover note Book picture is for illustrative purposes only, actual binding, cover or edition may vary.