Skip to Content
Learning Test-Driven Development
book

Learning Test-Driven Development

by Saleem Siddiqui
October 2021
Intermediate to advanced
277 pages
5h 48m
English
O'Reilly Media, Inc.
Content preview from Learning Test-Driven Development

Appendix B. A Brief History of the Three Languages

Go

The Go language was designed at Google and officially released in 2009. It was created to improve upon the shortcomings of C/C++. Its guiding principles include simplicity, safety, readability, and minimalism. Of the three languages in this book, it’s the youngest.

Go’s design principle of simplicity means that many features present in other languages (including languages that inspired it) are absent in it, namely:

  1. Generics1

  2. Different ways to write a loop

  3. Classes (in the C++/Java sense)

  4. Inheritance

  5. Implicit conversion between types

  6. Pointer arithmetic

However, Go includes many useful features that aren’t in other languages, such as:

  1. Concurrency
  2. Package management
  3. Formatting (go fmt)
  4. Static code analysis (go vet)
  5. Most significantly for this book: unit testing!

A major source of confusion (and some rancor) is what is the proper name of the language?2 The official name of the language is simply “Go,” although—probably because this is, ironically, a difficult thing to Google and because the official website of the language is https://golang.org—it’s also referred to as “Golang.” I have gone with the official name and called this language Go in this book, with the G always capitalized. I hope this doesn’t irk you too much. Look at it this way, if this is the biggest source of our disagreement, we’ve much to be grateful for!

This book uses version 1.17 of Go.

JavaScript

This book uses the flavor of JavaScript that’s ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Domain-Driven Design

Learning Domain-Driven Design

Vlad Khononov
Learning Go

Learning Go

Jon Bodner
Learning React, 2nd Edition

Learning React, 2nd Edition

Alex Banks, Eve Porcello

Publisher Resources

ISBN: 9781098106461Errata Page