Go Programming Language For Dummies
eBook - ePub

Go Programming Language For Dummies

Wei-Meng Lee

Partager le livre
  1. English
  2. ePUB (adapté aux mobiles)
  3. Disponible sur iOS et Android
eBook - ePub

Go Programming Language For Dummies

Wei-Meng Lee

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Ready, set, program with Go!

Now is the perfect time to learntheGoProgramming Language. It's one of the most in-demand languages among tech recruitersand developers love its simplicity and power. Go Programming LanguageForDummies is an easy way to add this top job skill to your toolkit.Writtenfor novice and experienced coders alike, this booktraversesbasic syntax, writing functions, organizing data, building packages, and interfacing with APIs.

Go—orGoLang, as it's also known—has proven to be a strong choice for developers creating applications for the cloud-based world we live in.This book will put youon the path to using the language that's created some oftoday's leading webapplications, so you can steer your career where you want to Go!

  • Learn how Go works and start writing programs and modules
  • Install and implement the most powerful third-party Go packages
  • Use Go in conjunction with web services and MySQL databases
  • Keep your codebase organized and use Go to structure data

With this book, you canjoin the growing numbers of developers using Go to create 21st century solutions. Step inside to take start writing code that putsdatain users'hands.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Go Programming Language For Dummies est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Go Programming Language For Dummies par Wei-Meng Lee en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Programming Languages. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Éditeur
For Dummies
Année
2021
ISBN
9781119786214
Part 1

Getting Started with Go

IN THIS PART 

Write your first Go program.
Discover the basic data types in Go and find out how to declare variables and constants.
Explore the various logical and comparison operators and use them to make decisions.
Understand how looping works and how you can execute code repeatedly.
Use functions to create Go programs that are easy to maintain and understand.
Chapter 1

Hello, Go!

IN THIS CHAPTER
Bullet
Understanding why Go is the wave of the future
Bullet
Installing Go on your computer
Bullet
Working with an integrated development environment
Bullet
Writing a Go program and understanding how it works
Bullet
Seeing how Go compares to other languages
Go is an open-source programming language — one of the fastest-growing programming languages around — released by Google in 2009. It’s a multipurpose programming language specifically designed to build fast, scalable applications.
Technical Stuff
Go comes from a pretty impressive team of people: Ken Thompson (designer and creator of Unix and C), Rob Pike (cocreator of UTF-8 and Unix format), and Robert Griesemer (a Google engineer). If you’re technically inclined, you may want to check out an article called “Go at Google: Language Design in the Service of Software Engineering” (https://talks.golang.org/2012/splash.article), which discusses how Go was initially conceived to solve problems at Google.
In this chapter, I explain why learning Go is important for your career, where Go can be used, and how to get started with Go programming.
Tip
Go is often referred to as Golang because of its web address: https://golang.org. However, the official name of the language is Go, so that’s how I refer to it throughout this book.

Seeing What Learning Go Can Do for You

You can learn many programming languages today, but Go stands out from the others for a few reasons:
  • Go is easy to learn. Go’s syntax makes it a readable language. It has no support for object-oriented programming (OOP), which means you don’t have to worry about classes and inheritance and the complexities that come with that.
    Technical Stuff
    Object-oriented programming (OOP) is a programming paradigm that is based on the concept of objects (data). Instead of focusing on the functions and logics, OOP organizes software around data, or objects. A key concept in OOP is classes (sort of like templates). Suppose you want to display buttons in your application. Instead of writing the code to display each button individually, you can create a class to represent a generic button and use it to create buttons to display in your application. Each button has its own properties (characteristics). Using the concept of inheritance in OOP, you can create multiple subclasses of the button class to create different types of buttons, such as a rounded button, a rectangular button, and so on.
  • Go has fewer features than other programming languages. You don’t have to worry about the best way to solve a problem — there is only one right way to solve a problem in Go. This makes your codebase easy to maintain.
  • Go excels in concurrent programming. Go’s support for Goroutines makes it extre...

Table des matiĂšres