Great video, looking forward to your coverage on future releases.
@peterszarvas947 ай бұрын
wildcard matching makes using a framework like echo or gin kind of unnecessary. the less dependency the better
@sebastianswc6 ай бұрын
grreat video, thank you!
@sarmhn1236 ай бұрын
Thanks mate
@Snailsxd7 ай бұрын
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
@codeandlearnwithlove7 ай бұрын
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 🙂
@Snailsxd7 ай бұрын
@@codeandlearnwithlove The zeroing of the elements for garbage collection makes sense.
@MosiurRahman-dl5ts6 ай бұрын
I am the 650th subscriber
@dekooks15437 ай бұрын
Hey 👋 Can I ask what tool you used to make this presentation?
@codeandlearnwithlove7 ай бұрын
Hi, nothing too fancy just Google Slides 😄
@eser-sahin7 ай бұрын
Great channel, please continue. By the way, your discord link is broken.
@codeandlearnwithlove7 ай бұрын
Thanks a lot! Discord link should be fixed now :)
@EightSixx7 ай бұрын
nuice!
@bebobauomy12657 ай бұрын
The for loops are already slow, that will make them more slower.
@codeandlearnwithlove7 ай бұрын
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.
@pookiepats7 ай бұрын
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.
@bebobauomy12657 ай бұрын
@@pookiepats Sorry, English is not my native language.
@codeandlearnwithlove7 ай бұрын
@@bebobauomy1265 Hey don't be sorry and please ignore the comment. The focus of this video is Go, not English 🙂
@infastin37956 ай бұрын
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-oq2vq9co7e7 ай бұрын
Sir will you make a rest api series using go
@codeandlearnwithlove7 ай бұрын
Yes, I will 🙂 just want to cover all the required topics first.