Go (Golang) Tutorial #5 - Arrays & Slices

  Рет қаралды 79,388

Net Ninja

Net Ninja

Күн бұрын

Пікірлер: 48
@dwayne6402
@dwayne6402 3 жыл бұрын
I've been following this course on Go each day as the videos come out. I find its just enough for me to go play with it and reinforce my learning as I go. I not only retain more but I gain a deeper understanding. Thanks for the great videos.
@imlautaro123
@imlautaro123 3 жыл бұрын
Shaun, this is the best course of GO for beginners in this kind of languages. I was trying to get started with GO (coming from JavaScript) and it was so hard but you make learning GO as simple as learning Python. You are definitely the best instructor.
@hunam_
@hunam_ 2 жыл бұрын
incredibly clear tutorial, thanks and congrats!
@NoahNobody
@NoahNobody 9 ай бұрын
Just discovering Go. Thanks for making these tutorials.
@sourcedecay
@sourcedecay Жыл бұрын
Mmm, a typed language with proper arrays and c-style string formatting. All in.
@drhastings
@drhastings 3 жыл бұрын
Will save this playlist for future purposes...just in case🙃
@mike-the
@mike-the 3 жыл бұрын
Published 20 seconds ago! My like is the second one! Yay!
@NetNinja
@NetNinja 3 жыл бұрын
Thank you :)
@osamagamal495
@osamagamal495 3 жыл бұрын
and that is freaking awesome, my friends.
@Sl4izer
@Sl4izer Жыл бұрын
Awesome tutorial! You are explaining it so well!
@soumadip_banerjee
@soumadip_banerjee 3 жыл бұрын
❤️ Thanks Shaun!
@mohammadmahdimdehaghi3465
@mohammadmahdimdehaghi3465 2 жыл бұрын
perfect👍👍👍👍
@swagathshetty
@swagathshetty 3 жыл бұрын
your coures are so up to the point. the udemy courses I do are 30 to sometimes 50hrs long which makes me lose interest in them
@theone3746
@theone3746 Жыл бұрын
Most people don't understand that "keep it short, simple, and neat" is the most effective approach to take.
@onlinehostpl
@onlinehostpl 3 жыл бұрын
Hello, will you continue the Django tutorials? I think you could make more videos about for example implementing the app into the webhost.
@sky_kryst
@sky_kryst 3 жыл бұрын
THIS!!!!!!!! Would love to see Rust and Elixir with Phoenix also in the future!
@borisakelovic9930
@borisakelovic9930 3 жыл бұрын
Skill of Ninja, yes my friends ...
@sheruloves9190
@sheruloves9190 3 жыл бұрын
Thanks.. superb explanation..
@zerro361
@zerro361 8 ай бұрын
I am a golang beginer and I just have a warning anout slices and append. I loose hours because of a code like: path := []stuff{s1,s2,s3} Then later in a slice of slice I have a loop with something like: for _,s := range steps { currentPath := append(path, s) sliceOfSlice = append(sliceOfSlice, currentPath) } And here started my problems. Everything work as expected until I reach a certain point. The code behave like I append in the sliceOfSlice several time the last value of currentPath. This is because I reached the capacity of path. The ugly fix I found is to create a new slice with a capacity of path + 1, then add the content of path + s: currentPath := make([]stuff,0, len(path)+1 currentPath = append(currentPath, path...) currentPath = append(currentPath, s) Do you have a better fix than this?
@tronganhnguyenthanh1157
@tronganhnguyenthanh1157 9 ай бұрын
In your array name := [4]string{"yoshi", "mario", "peach", "browser"}. What happened if I print only 1 item in an array ?
@davidarubuike
@davidarubuike 3 жыл бұрын
Nice videos Ninja, a kotlin playlist would do nicely!
@محمد.ميدو.حسان
@محمد.ميدو.حسان 3 жыл бұрын
Thank you bro 😎
@e1tnz188
@e1tnz188 Жыл бұрын
thanks man that was helpfulll!
@NetNinja
@NetNinja Жыл бұрын
Good to hear :) thanks for watching!
@MikeSmith-wr4yc
@MikeSmith-wr4yc 3 ай бұрын
4:26
@hudamdnazmul4810
@hudamdnazmul4810 3 жыл бұрын
Please make tutorials on elixir.
@yassin_eldeeb
@yassin_eldeeb 3 жыл бұрын
Yeah please, no good Tutorials for it.
@hudamdnazmul4810
@hudamdnazmul4810 3 жыл бұрын
@@yassin_eldeeb u r right my friend,tutorials on elixir are so rare today.
@yassin_eldeeb
@yassin_eldeeb 3 жыл бұрын
@@hudamdnazmul4810 There is like 2 Playlists on it and they are from 3 to 5 years ago, soo bad and outdated, Perhaps you came from Ben Awad curious to learn Elixer like me right? 😅
@hudamdnazmul4810
@hudamdnazmul4810 3 жыл бұрын
@@yassin_eldeeb yessss😎
@101kawsar
@101kawsar 2 жыл бұрын
Just wanna know, why you guys are interested about elixir? what kind application do you wanna make with elixir?
@MikeNugget
@MikeNugget 3 жыл бұрын
What is the use case of arrays with immutable length?
@artscheel
@artscheel Жыл бұрын
JUST IN CASE you haven't gotten a good answer in 2 years: Arrays with immutable lengths are typically for pieces of information that never change. Perhaps configuration options. Maybe there's a CSV file that you process frequently whose format never changes. var lengths [5]int = [5]int{5, 6, 10, 11, 14}
@MikeNugget
@MikeNugget Жыл бұрын
@@artscheel Nice, I've been waiting for you all this time. I think leg grows from C++, Java and other veteran languages where such arrays were mostly used for protocol implementation with strict scheme restrictions.
@kvelez
@kvelez Жыл бұрын
Great
@Monster33336
@Monster33336 3 жыл бұрын
Do you deploy in C++ or Java?
@papa_ethan
@papa_ethan 11 ай бұрын
go range is very confusing
@jake115577
@jake115577 6 ай бұрын
Remember that index starts at 0 and the upper-bound is excluded.
@ratulr
@ratulr 3 жыл бұрын
Hey Shaun, please make such tutorials on Rust, please. this one doesn't have any good tutorials on youtube, you would be firstand people need quality Rust tuts
@0xPanda1
@0xPanda1 3 жыл бұрын
♥♥♥♥♥♥♥♥♥
@basickarl
@basickarl 2 жыл бұрын
Good tutorial! But boy am I disappointed in Go's syntax...
@mike-the
@mike-the 3 жыл бұрын
Alright I watched it. And it feels like GO is just a dodgy version of JS. Even dodgier than TS. However I heard it’s pretty popular and many companies moving their backend from Python to GO.
@laragram
@laragram 3 жыл бұрын
Because it's super fast and has built-in support for concurrency
@mike-the
@mike-the 3 жыл бұрын
@@laragram doesn’t seem really fast. When ninja runs the file, it takes really a while to compile and run.
@TenshiProductionz
@TenshiProductionz 3 жыл бұрын
@@mike-the It's fast after compile into executable files. It's said to be 30x faster than Python.
@mike-the
@mike-the 3 жыл бұрын
@@TenshiProductionz as fast as 30 snakes? Damn that’s some light speed
@davidomar742
@davidomar742 3 жыл бұрын
@@mike-the you must be a troll.
Go (Golang) Tutorial #6 - The Standard Library
12:31
Net Ninja
Рет қаралды 58 М.
Learn GO Fast: Full Tutorial
1:07:53
Alex Mux
Рет қаралды 544 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Day-01 : Spring Security Tutorial | Authentication | Authorization
1:44:04
If you are a beginner in Go, avoid this Slice pitfall!
9:26
Flo Woelki
Рет қаралды 5 М.
Go in 100 Seconds
2:30
Fireship
Рет қаралды 1,8 МЛН
8 Must Know JavaScript Array Methods
10:05
Web Dev Simplified
Рет қаралды 1 МЛН
Every Minute One Person Is Eliminated
34:46
MrBeast
Рет қаралды 33 МЛН
This is your last video about Golang Structs!
15:57
Flo Woelki
Рет қаралды 13 М.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 375 М.
Go Class: 10 Slices in Detail
30:20
Matt KØDVB
Рет қаралды 14 М.
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Рет қаралды 92 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН