Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Cap. 12 – Funções – 1. Sintaxe
Play lesson

Aprenda Go 🇧🇷 - Cap. 12 – Funções – 1. Sintaxe

5.0 (2)
47 learners

What you'll learn

This course includes

  • 21.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Aprenda Go 🇧🇷 Cap. 12 – Funções – 1. Sintaxe

Cap. 12 – Funções – 1. Sintaxe Transcript and Lesson Notes

- Qual a utilidade de funções? - Abstrair funcionalidade - Reutilização de código - func (receiver) identifier(parameters) (returns) { code } - A diferença entre parâmetros e argumentos: - Funções são definidas com parâm

Quick Summary

- Qual a utilidade de funções? - Abstrair funcionalidade - Reutilização de código - func (receiver) identifier(parameters) (returns) { code } - A diferença entre parâmetros e argumentos: - Funções são definidas com parâm

Key Takeaways

  • Review the core idea: - Qual a utilidade de funções? - Abstrair funcionalidade - Reutilização de código - func (receiver) identifier(parameters) (returns) { code } - A diferença entre parâmetros e argumentos: - Funções são definidas com parâm
  • Understand how golang fits into Cap. 12 – Funções – 1. Sintaxe.
  • Understand how programar fits into Cap. 12 – Funções – 1. Sintaxe.
  • Understand how programacao fits into Cap. 12 – Funções – 1. Sintaxe.
  • Understand how go fits into Cap. 12 – Funções – 1. Sintaxe.

Key Concepts

Full Transcript

- Qual a utilidade de funções? - Abstrair funcionalidade - Reutilização de código - func (receiver) identifier(parameters) (returns) { code } - A diferença entre parâmetros e argumentos: - Funções são definidas com parâmetros - Funções são chamadas com argumentos - Tudo em Go é *pass by value.* - Pass by reference, pass by copy, ... não. - Parâmetro pode ser ...variádico. - Exemplos: - Função básica. - Go Playground: https://play.golang.org/p/FebJblBenP - Função que aceita um argumento. - Go Playground: https://play.golang.org/p/CE6Ij3U4QB - Função com retorno. - Go Playground: https://play.golang.org/p/gKxwYe6btP - Função com múltiplos retornos e parâmetro variádico. - Go Playground: https://play.golang.org/p/OcQ1wXwM2c - Mais um: https://play.golang.org/p/8wc2TA9xH_

Lesson FAQs

What is Cap. 12 – Funções – 1. Sintaxe about?

- Qual a utilidade de funções? - Abstrair funcionalidade - Reutilização de código - func (receiver) identifier(parameters) (returns) { code } - A diferença entre parâmetros e argumentos: - Funções são definidas com parâm

What key concepts are covered in this lesson?

The lesson covers golang, programar, programacao, go, programação.

What should I learn before Cap. 12 – Funções – 1. Sintaxe?

Review the previous lessons in Aprenda Go 🇧🇷, then use the transcript and key concepts on this page to fill any gaps.

How can I practice after this lesson?

Practice by applying the main concepts: golang, programar, programacao, go.

Does this lesson include a transcript?

Yes. The full transcript is visible on this page in indexable HTML sections.

Is this lesson free?

Yes. CourseHive lessons and courses are available to learn online for free.

Continue Learning

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Lessons

Related Courses

FAQs

Course Hive
Download CourseHive and keep learning anywhere
Get App