No video

Exploring Go 1.22: Unveiling New Features and Anticipating Exciting Changes

  Рет қаралды 16,588

Code & Learn

Code & Learn

Күн бұрын

Пікірлер: 22
@johnr3936
@johnr3936 7 ай бұрын
Great video, looking forward to your coverage on future releases.
@peterszarvas94
@peterszarvas94 7 ай бұрын
wildcard matching makes using a framework like echo or gin kind of unnecessary. the less dependency the better
@sebastianswc
@sebastianswc 6 ай бұрын
grreat video, thank you!
@sarmhn123
@sarmhn123 6 ай бұрын
Thanks mate
@Snailsxd
@Snailsxd 7 ай бұрын
7:47 honestly I'm not sure I like this, what if for some reason I still need the old slice, now I'd have to create a copy, I don't see why that function should mutate the original slice if it returns a new one
@codeandlearnwithlove
@codeandlearnwithlove 7 ай бұрын
The functions that we are talking about modify the original slice and do not return a new slice. So, if you need the old slice you would have to maintain a copy even with the current versions of these functions. Please check the Delete function for example pkg.go.dev/slices#Delete The reason for zeroing the elements between the new length and the old length lies in this statement of the existing function: "If those elements contain pointers you might consider zeroing those elements so that objects they reference can be garbage collected." I hope it makes more sense now 🙂
@Snailsxd
@Snailsxd 7 ай бұрын
​@@codeandlearnwithlove The zeroing of the elements for garbage collection makes sense.
@MosiurRahman-dl5ts
@MosiurRahman-dl5ts 6 ай бұрын
I am the 650th subscriber
@dekooks1543
@dekooks1543 7 ай бұрын
Hey 👋 Can I ask what tool you used to make this presentation?
@codeandlearnwithlove
@codeandlearnwithlove 7 ай бұрын
Hi, nothing too fancy just Google Slides 😄
@eser-sahin
@eser-sahin 7 ай бұрын
Great channel, please continue. By the way, your discord link is broken.
@codeandlearnwithlove
@codeandlearnwithlove 7 ай бұрын
Thanks a lot! Discord link should be fixed now :)
@EightSixx
@EightSixx 7 ай бұрын
nuice!
@bebobauomy1265
@bebobauomy1265 7 ай бұрын
The for loops are already slow, that will make them more slower.
@codeandlearnwithlove
@codeandlearnwithlove 7 ай бұрын
It was released as an experimental feature in the previous version. So I am sure the Go team would have made sure that there are no performance hits due to it, but it will be good to benchmark and see.
@pookiepats
@pookiepats 7 ай бұрын
Guys, if you want anything you say to be taken seriously you have to get the basics of grammar right; “more slower” is an abomination.
@bebobauomy1265
@bebobauomy1265 7 ай бұрын
@@pookiepats Sorry, English is not my native language.
@codeandlearnwithlove
@codeandlearnwithlove 7 ай бұрын
@@bebobauomy1265 Hey don't be sorry and please ignore the comment. The focus of this video is Go, not English 🙂
@infastin3795
@infastin3795 6 ай бұрын
No, it won't. Did you really think that developers would've made such a change if there was a major performance drawback? In cases where you are not referencing variables performance will be the same due to compiler optimization. In opposite cases there also won't be any performance difference since before this change you would create a new variable inside a loop anyway.
@user-oq2vq9co7e
@user-oq2vq9co7e 7 ай бұрын
Sir will you make a rest api series using go
@codeandlearnwithlove
@codeandlearnwithlove 7 ай бұрын
Yes, I will 🙂 just want to cover all the required topics first.
@oriontvv
@oriontvv 7 ай бұрын
it is a python's victory, lol)
Function Iterators might just change the way we write loops in Go
11:35
Golang 65: Context with Code Examples
12:32
Code & Learn
Рет қаралды 765
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 45 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 11 МЛН
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 8 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4 МЛН
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 105 М.
Advanced Golang: Generics Explained
13:37
Code With Ryan
Рет қаралды 61 М.
DSPy Explained!
54:16
Connor Shorten
Рет қаралды 57 М.
This Is The BEST Way To Structure Your GO Projects
11:08
Melkey
Рет қаралды 71 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 794 М.
What it’s like to be a foreign woman in India for 10 years
25:21
Max Chernov
Рет қаралды 256 М.
Go 1.22 is bringing about a new future for the language.
4:32
Dreams of Code
Рет қаралды 154 М.
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 113 М.
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 45 МЛН