Golang 1.20: What is new?

  Рет қаралды 8,600

Mario Carrion

Mario Carrion

Күн бұрын

Пікірлер: 30
@TheDoppelganger29
@TheDoppelganger29 Жыл бұрын
Thanks for sharing Go news and creating content for it. Means a lot for the community!
@MarioCarrion
@MarioCarrion Жыл бұрын
Thanks for the support! Cheers
@kamilziemian995
@kamilziemian995 Жыл бұрын
Thank you. I need to learn C# for my job, but I want to find time for much more enjoyable language, as Go for example.
@MarioCarrion
@MarioCarrion Жыл бұрын
You're welcome, honestly it's never bad to know more than one programming language, however I do understand you, writing idiomatic code in any language takes a toll when context switching to another language.
@kamilziemian995
@kamilziemian995 Жыл бұрын
@@MarioCarrion I agree. In my life I learned to some extent C++, C, Python, Common Lisp, Rust, Julia, Go and I have some encounter with Ruby. Also I learn some HTML and CSS, but I forget almost all of that. I believe that you should know more than one language, but I feel that I'm not good at any one of these. I hope that I can learn C# reasonably well for my job. We also use C++, but its complexity is mind bending and I lost hope that I ever learn it in deepth.
@myrachoantonio8832
@myrachoantonio8832 Жыл бұрын
they seem interesting especially the time, context and cover of code. thank you for posting!
@MarioCarrion
@MarioCarrion Жыл бұрын
Yes, the code coverage for integration testing is a nice addition. Take care.
@fransimanuel7782
@fransimanuel7782 Жыл бұрын
Thank you bro for summarized the new 1.20 update
@MarioCarrion
@MarioCarrion Жыл бұрын
Thanks for watching, cheers.
@yeyee2418
@yeyee2418 Жыл бұрын
The context.WithCancelCause was definitely QoL feature. This will make it easier to know which part of the code cancels the context by giving appropriate message that attaches to the context itself, rather than using an additional var / chan to store the error / cancellation message . IMO its more verbose & concise that way
@MarioCarrion
@MarioCarrion Жыл бұрын
Agree, it's something I wasn't expecting.
@vydo4210
@vydo4210 Жыл бұрын
What is QoL feature?
@shxdow9
@shxdow9 Жыл бұрын
@@vydo4210 quality of life
@GabrielPozo
@GabrielPozo Жыл бұрын
Excellent video, thanks for sharing!
@MarioCarrion
@MarioCarrion Жыл бұрын
Thanks for watching Gabriel, stay safe!
@tony-go-code
@tony-go-code Жыл бұрын
nice to see you again Mario 🤗
@MarioCarrion
@MarioCarrion Жыл бұрын
Nice seeing you too. Take care.
@somegeneralist
@somegeneralist Жыл бұрын
Thank you for posting - Go keeps aging like wine! I'm getting into nvim and would like to know how you got nvim tree to toggle in the center instead of a sidebar. Do you mind sharing your nvim config?
@MarioCarrion
@MarioCarrion Жыл бұрын
Sure, I covered that in my previous video kzbin.info/www/bejne/gpPWen-Fg7SUn6c here's the link to the configuration: github.com/MarioCarrion/videos/tree/269956e913b76e6bb4ed790e4b5d25255cb1db4f/2023/01/nvim
@viktor_1939_
@viktor_1939_ Жыл бұрын
error wrapping is the most useful feature of the release.
@MarioCarrion
@MarioCarrion Жыл бұрын
Agree Viktor, good improvement for sure.
@firdavs8879
@firdavs8879 Жыл бұрын
There is a typo in readme file in 4:04, it should be "mkdir -p" instead of "mkdir -o". Thanks
@MarioCarrion
@MarioCarrion Жыл бұрын
Thanks! I fixed it
@dawnrazor
@dawnrazor Жыл бұрын
Beware of v1.20, lint is broken, resulting in panic. Issues have been raised already, so I’m expecting/hoping for a new release in the non too distant future.
@MarioCarrion
@MarioCarrion Жыл бұрын
Paul by lint do you mean golangci-lint or what tool are you referring to?
@dawnrazor
@dawnrazor Жыл бұрын
@@MarioCarrion yeah you're right, I mean golanggci-lint. I've reverted back to 19.5 and am waiting until there is another v20 release
@wendevv9706
@wendevv9706 Жыл бұрын
what is the best way to update? I just uninstall previous version and install the latest am I doing it right?
@MarioCarrion
@MarioCarrion Жыл бұрын
It depends on the operating system and package manager you use; because I'm using homebrew on MacOS I decided to install it via "go install" and use "direnv" to make it the default one, see the note I added in the beginning in the README and the Makefile for more details: github.com/MarioCarrion/videos/blob/979ac3f5d502249ccfc266fbdf801547c51e24b9/2023/02/03/README.md
@wendevv9706
@wendevv9706 Жыл бұрын
thanks for reply! I'm using windows10 and new to go. I'm searching right now how to properly update and hoping similar and as easy like rust "rustup update" but none.
@MarioCarrion
@MarioCarrion Жыл бұрын
I haven't had a chance to try using Go on Windows, but I want to assume that if you download the official installer and then you use that it "should" be enough.
Golang 1.21: What is new?
11:34
Mario Carrion
Рет қаралды 4,1 М.
Transactions in context values in Golang, is it OK? r/golang
15:57
Mario Carrion
Рет қаралды 2,9 М.
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 17 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 70 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 15 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 46 МЛН
Golang 1.22: What is new?
7:44
Mario Carrion
Рет қаралды 4 М.
Software Architecture in Golang: Orchestrator Pattern
13:07
Mario Carrion
Рет қаралды 6 М.
4Sum by a FAANG engineer | Leetcode | Live coding
12:26
Distributed Systems Programmer
Рет қаралды 40
Why are Companies Migrating from Java to Go?
12:05
Golang Dojo
Рет қаралды 41 М.
Go Error Handling Best Practices & Advanced Tips
6:49
Golang Dojo
Рет қаралды 38 М.
Learning Golang: Concurrency Pattern Publisher / Subscriber
8:17
Mario Carrion
Рет қаралды 2,1 М.
How To Build And Structure A Microservice In Golang?!
23:03
Anthony GG
Рет қаралды 51 М.
The One BIG Reason to Learn Google's Go Language
17:55
Gary Explains
Рет қаралды 158 М.
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 17 МЛН