Lynda.com Начинаем работу с GO (Русский перевод)
Описание: What is Go? Go is a next-generation, open-source programming language created by Google for building systems, web, and other applications. This course is designed to help developers get started with Go, covering its core language elements and syntax. David Gassner introduces tools and skills used in a Go workflow—including Go Playground, an online tool that takes Go development off the desktop. He also covers basic programming tasks: managing values, using math operators, storing values as complex types, and managing program flow. Plus, learn how to structure Go code for maximum readability and performance, read and write files, and make simple web requests.
Что такое Go ? Go это следующее поколение, опенсорсный язык программирования созданный Google для построения системных, веб и прочих приложений Этот курс предназначен , что бы помочь разработчикам начать работу с Go, он охватывает основные элементы языка и его синтаксис
Основные преимущества языка Go:
Продолжительность 3 ч.47мин.
Уровень сложности - начинающий
Скрытое содержимое.
Описание: What is Go? Go is a next-generation, open-source programming language created by Google for building systems, web, and other applications. This course is designed to help developers get started with Go, covering its core language elements and syntax. David Gassner introduces tools and skills used in a Go workflow—including Go Playground, an online tool that takes Go development off the desktop. He also covers basic programming tasks: managing values, using math operators, storing values as complex types, and managing program flow. Plus, learn how to structure Go code for maximum readability and performance, read and write files, and make simple web requests.
Что такое Go ? Go это следующее поколение, опенсорсный язык программирования созданный Google для построения системных, веб и прочих приложений Этот курс предназначен , что бы помочь разработчикам начать работу с Go, он охватывает основные элементы языка и его синтаксис
Основные преимущества языка Go:
- Простой и понятный синтаксис. Это делает написание кода приятным занятием.
- Статическая типизация. Позволяет избежать ошибок, допущенных по невнимательности, упрощает чтение и понимание кода, делает код однозначным.
- Скорость и компиляция. Скорость у Go в десятки раз быстрее, чем у скриптовых языков, при меньшем потреблении памяти. При этом, компиляция практически мгновенна. Весь проект компилируется в один бинарный файл, без зависимостей. Как говорится, «просто добавь воды». И вам не надо заботиться о памяти, есть сборщик мусора.
- Отход от ООП. В языке нет классов, но есть структуры данных с методами. Наследование заменяется механизмом встраивания. Существуют интерфейсы, которые не нужно явно имплементировать, а лишь достаточно реализовать методы интерфейса.
- Параллелизм. Параллельные вычисления в языке делаются просто, изящно и без головной боли. Горутины (что-то типа потоков) легковесны, потребляют мало памяти.
- Богатая стандартная библиотека. В языке есть все необходимое для веб-разработки и не только. Количество сторонних библиотек постоянно растет. Кроме того, есть возможность использовать библиотеки C и C++.
- Возможность писать в функциональном стиле. В языке есть замыкания (closures) и анонимные функции. Функции являются объектами первого порядка, их можно передавать в качестве аргументов и использовать в качестве типов данных.
- Авторитетные отцы-основатели и сильное комьюнити. Роб Пайк, Кен Томпсон, Роберт Гризмер стояли у истоков. Сейчас у языка более 300 контрибьюторов. Язык имеет сильное сообщество и постоянно развивается.
- Open Source
- Обаятельный талисман
Продолжительность 3 ч.47мин.
Уровень сложности - начинающий
Introduction
Welcome
What you need to know
Using the exercise files
1. Getting Started
Go's essential characteristics
Experimenting with the Go playground
Installing Go tools on Mac OS X
Installing Go tools on Windows
Choosing a development environment
Creating and compiling a hello world application
2. Essential Go Skills
Exploring Go command-line tools
Creating and compiling a Go workspace
Outputting strings with the fmt package
Getting input from the console
3. Managing Simple Values
Exploring variables, constants, and types
Working with string values
Using math operators and the math package
Working with dates and times
4. Managing Complex Types and Collections
Referencing values with pointers
Storing ordered values in arrays
Storing ordered values in slices
How memory is allocated and managed
Storing unordered values in maps
Grouping related values in structs
5. Managing Program Flow
Programming conditional logic
Evaluating expressions with switch statements
Creating loops with for statements
6. Structuring Go Code
Defining and calling functions
Returning multiple values from functions
Creating packages as function libraries
Defining functions as methods of custom types
Defining and implementing interfaces
Handling errors
Deferring function calls
7. Working with Files and the Web
Writing to a text file
Reading from a text file
Walking a directory tree
Reading a text file from the web
Creating and parsing a JSON string
Creating a simple HTTP server
Conclusion
Next steps
Welcome
What you need to know
Using the exercise files
1. Getting Started
Go's essential characteristics
Experimenting with the Go playground
Installing Go tools on Mac OS X
Installing Go tools on Windows
Choosing a development environment
Creating and compiling a hello world application
2. Essential Go Skills
Exploring Go command-line tools
Creating and compiling a Go workspace
Outputting strings with the fmt package
Getting input from the console
3. Managing Simple Values
Exploring variables, constants, and types
Working with string values
Using math operators and the math package
Working with dates and times
4. Managing Complex Types and Collections
Referencing values with pointers
Storing ordered values in arrays
Storing ordered values in slices
How memory is allocated and managed
Storing unordered values in maps
Grouping related values in structs
5. Managing Program Flow
Programming conditional logic
Evaluating expressions with switch statements
Creating loops with for statements
6. Structuring Go Code
Defining and calling functions
Returning multiple values from functions
Creating packages as function libraries
Defining functions as methods of custom types
Defining and implementing interfaces
Handling errors
Deferring function calls
7. Working with Files and the Web
Writing to a text file
Reading from a text file
Walking a directory tree
Reading a text file from the web
Creating and parsing a JSON string
Creating a simple HTTP server
Conclusion
Next steps
http://www.lynda.com/Go-tutorials/Up-Running-Go/412378-2.html