Methods - Go Lang Programming Tutorial: Part 19

preview_player
Показать описание
In this video, we cover methods in the Go programming language.

The “syllabus” for this series of videos is inspired by the wonderful website compiled by Mark McGranaghan:

The software written in this video is available at:

Do you like the development environment I'm using in this video? It's a customized version of vim that's enhanced for Python development. If you want to see how I set up my vim, I have a series on this here:

If you've found this video helpful and want to stay up-to-date with the latest videos posted on this channel, please subscribe:
Рекомендации по теме
Комментарии
Автор

This is such an underrated gem of a video. There are no videos explaining the rather obvious stuff but it's difficult for a beginner to find them... Thank you.

Cygnuslor
Автор

Great tutorial, touching what is just necessary to get started.
By the way the calculation of perimeter is wrong, it should be 2 * r.width + 2 * r.height

srikanth
Автор

Thanks for the clear video. Helped a lot


btw the perimeter formula is 2*width +

ninjaboss
Автор

Thank you for these Go tutorials! They are great and it would be awesome to see more of them! Data structures implementation maybe :) ?

alessandroporfirio
Автор

Hello...Great tutorials!!You helped me clarify a lot of things...On this one though i have a question..If i take out the pointer in the perim method (e.g -->func (r rect) perim() ), i get the same results. Any thoughts?...Thank you

valonoss
Автор

I thought that methods can be added to custom type even if it is not struct. For insurance type number int. We .can easily add methods here.

serhioromano
Автор

what is the difference between Functions and Methods ?

shamikchakraborty
Автор

Perimeter formula is incorrect. It’s 2 * (h +w)

amlanch
Автор

Why would you use a pointer as input in this case? I don't see the benefit.

WorstDeveloper
welcome to shbcf.ru