Skip to Content
Write Great Code, Volume 2, 2nd Edition
book

Write Great Code, Volume 2, 2nd Edition

by Randall Hyde
August 2020
Intermediate to advanced
656 pages
16h 15m
English
No Starch Press
Content preview from Write Great Code, Volume 2, 2nd Edition

11RECORD, UNION, AND CLASS DATA TYPES

image

Records, unions, and classes are popular composite data types found in many modern programming languages. Incorrectly used, these data types can have a very negative impact on the performance of your software. Correctly used, however, they can actually improve the performance of your applications (compared with using alternative data structures). In this chapter we’ll explore how you can make the most of these data types to maximize the efficiency of your programs. The topics this chapter covers include:

  • Definitions for the record, union, and class data types

  • Declaration syntax for records, unions, and classes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Write Great Code, Volume 3

Write Great Code, Volume 3

Randall Hyde

Publisher Resources

ISBN: 9781098125653