Тёмный
Golang Dojo
Golang Dojo
Golang Dojo
Подписаться
Golang Golang Golang! | Go Programming

📝Get your FREE Golang Cheat Sheet -
golangdojo.com/cheatsheet
Hottest AI/ML Projects in Go
4:46
Год назад
So...you THINK you know Go?
6:34
Год назад
Why Golang Developers HATE Gorm…
4:07
2 года назад
Golang: Common Criticisms
6:11
2 года назад
Go Workspaces Explained in 5 Minutes
4:30
2 года назад
Golang: Composition Over Inheritance
7:52
2 года назад
Golang Bubble Sort - Golang Algorithms
11:11
2 года назад
Golang Testing (full tutorial)
13:38
2 года назад
Top DevOps Tools for Golang [2022]
10:22
2 года назад
Комментарии
@CultureofSpeech
@CultureofSpeech 18 часов назад
Please 🙏 speak 🗣️ slower
@artemcodes
@artemcodes День назад
Thanks for the advice. In my opinion go-jwt is the best go library for auth implementation
@Radka2D
@Radka2D 5 дней назад
So, I'm going to develop my game with Go. Thanks!
@felipeoliveira9512
@felipeoliveira9512 6 дней назад
question: are Companies Migrating from Java to Go? it looks improbable once the companies generally doesn't matter to the tech, they matter to results... real result to the clients... fake video?
@hellelo.5840
@hellelo.5840 8 дней назад
utf 8 is not an encoding its a transfer format we encode using Unicode not utf-8
@kebman
@kebman 9 дней назад
I love Rust exactly for it's convoluted memory management, because it allows me to make more secure apps. Outside of this I agree with you.
@AndreCarneiro666
@AndreCarneiro666 10 дней назад
Because Java is BOOOOOORING!!
@CultureofSpeech
@CultureofSpeech 16 дней назад
Seemingly author of this channel is drunk when filming his videos 😅
@melihdev
@melihdev 21 день назад
where are you captain? we need you!!
@JohnnyThund3r
@JohnnyThund3r 21 день назад
Giving a thumps up in the first 14 seconds! Not saying we shouldn't use scripting languages where they are useful, but every time I think about all the sad saps out there using Javascript to make their website, I kinda wonder why? When GO makes system level programing so easy, it only makes sense to design all your programs in a scalable language first!
@dimitro.cardellini
@dimitro.cardellini 21 день назад
Early return error is not a sub-type of Early return. Despite it looks similar in the Go code. Early return (in other languages early throw) error means whenever we are able to detect error -- we should do this as early as possilbe. Just look on the simple example that doesn't follow this principle: func divide(x, y float64) (float64, error) { if y != 0 { return x / y, nil } if x != 0 { return 0, errors.New("DIVIDE BY ZERO") } return 0, errors.New("INDERTIMINATE FORM") } func linearEquation(a, b float64) (float64, error) { root, err := divide(-b, a) if err != nil { switch err.Error() { case "DIVIDE BY ZERO": return 0, errors.New("NO ROOT") case "INDERTIMINATE FORM": return 0, errors.New("INFINITE ROOTS") default: return 0, err } } return root, nil } The linearEquation maps the error received from the divide function, because we don't check correspondent conditions directly in the linearEquation. So, in context of error handling "return early" means don't push the issue down to stack whenever it is possible. The code that follows "early error return" principle in this case must look like this: func divide(x, y float64) (float64, error) { if y == 0 { return 0, errors.New("DIVIDE BY ZERO") } return x / y, nil } func linearEquation(a, b float64) (float64, error) { if a != 0 { return divide(-b, a) } if b != 0 { return 0, errors.New("NO ROOT") } return 0, errors.New("INFINITE ROOTS") } So, here we can see that code doesn't follow general early return principle, but it follows the "early return error" one. DISCLAIMER: never trust in error messages, use custom error classes or error codes to describe the expected errors. The example above uses error messages just to reduce number of abstractions.
@MaryamShademan-x3d
@MaryamShademan-x3d 21 день назад
that was a awesome video. please make video about mocking and mockery. how to setup or use that...
@faucar93
@faucar93 24 дня назад
Go pogamin
@CodeGoy
@CodeGoy 26 дней назад
All the users of GORM in these comments saying "I Love It" should go work on its lack of good documentation....
@fitzgerardmouliom443
@fitzgerardmouliom443 27 дней назад
not suprised to hear that from a go developper
@heyyayesh
@heyyayesh 28 дней назад
Isn't WaitGroup a better option for this purpose than using a channel? I am new to Go, so can anybody please correct me if I am wrong?
@Last-Tap
@Last-Tap Месяц назад
could you teach mock and fake
@birdhousegypsy3655
@birdhousegypsy3655 Месяц назад
Jetbrains IDEs are free for students. I used them all for free during college.
@flashpike2298
@flashpike2298 Месяц назад
1:01 поднял настроение :D
@asezen77
@asezen77 Месяц назад
Hello, Is your website not working anymore?
@MinhVo-jv5ts
@MinhVo-jv5ts Месяц назад
At 1:42 The pointer is already pointing to the address of Ninja itself, so why are you assigning jPointer = returnNinjaByPointer again? That's why it is slower compared to pass-by-value in your example. In fact, we only need to operate on one address when we have already passed the value by pointer, and it only takes about 0.3309 ns/op.
@karlrichardson7548
@karlrichardson7548 Месяц назад
watching way too many of these to not subscribe :)
@JFrost2124
@JFrost2124 Месяц назад
glad i found you. My golang journey start here
@BobKane-g6x
@BobKane-g6x Месяц назад
I’m sure Go is a great language, but I’ve only found two job postings for it on Indeed.
@ramyasreetejo
@ramyasreetejo Месяц назад
crisp, clear!
@YhlasBekmyradov-f2f
@YhlasBekmyradov-f2f Месяц назад
The exhaling after every single phrase is irritating
@az_spain
@az_spain Месяц назад
that's cool it avoids all of react's import export extra code and saves so much time... thank you for these videos, I'm loving them.
@kvelez
@kvelez Месяц назад
package main import ( "fmt" "net/http" ) func main() { fmt.Println("Server running at localhost:8080") http.HandleFunc("/", helloWorldPage) http.ListenAndServe(":8080", nil) } func helloWorldPage(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello World!") }
@ertugrulghazi334
@ertugrulghazi334 Месяц назад
I firmly despise Java.
@sen8078
@sen8078 Месяц назад
May give it a go. Sure hope i did not get rusty. See you next time
@paracha3
@paracha3 Месяц назад
My head started spinning towards the end
@nomadtrails
@nomadtrails Месяц назад
Best Java burn I have ever heard :)
@dawnrazor
@dawnrazor Месяц назад
This was a very interesting demonstration. I love functional programming but this is making me re-think the way I do things. It would be nice to know what is the cause of this overhead that is introduced by the functional approach. Also, I wonder what the difference would be in doing an experiment on release code as opposed to debug. You would have to change the way you perform measurements instead of using benchmarks as I assume that would be in debug mode. I wonder if the poorer performance would be down to the extra function calls and the associated cost of cleaning up stack frames, but perhaps there could be a way of optimising away some of this overhead. Great video and gives me a bit of inspiration to perform further research in this area.
@joynal-reestify
@joynal-reestify Месяц назад
coughrust
@skyeplus
@skyeplus Месяц назад
Re-invention of Rust's Result, C++'s std::expected, i.e. Either monad with syntactic extensions support, or better yet - algebraic effects support.
@ayushchothe8785
@ayushchothe8785 Месяц назад
The title should be: "Why are companies migrating from the worst programming language to the second worst programming language?" 😂😂😂
@FaustBusserl
@FaustBusserl Месяц назад
Great overview, concise and well explained!
@higiniofuentes2551
@higiniofuentes2551 Месяц назад
Is me, I know but why you don't use logical names instead of single character like in C/C++😢? At some stage I didn't know which one to use and their meaning like in the html file name everywhere, is the id, is the name😂, the value😅? Maybe I'm a newbie but for maintenance it will be a waste of time looking for those ...? Thank you!
@higiniofuentes2551
@higiniofuentes2551 Месяц назад
Thank you for this very useful video!
@higiniofuentes2551
@higiniofuentes2551 Месяц назад
The grey background band is not possible to do as well when the h1 tags has declared? Thank you!
@higiniofuentes2551
@higiniofuentes2551 Месяц назад
Thank you for this very useful videos series!
@shandilyacodes
@shandilyacodes Месяц назад
4:48 bro! Even my grandma won't develop a REST api like this in Java, even dumbledore now uses Spring Boot. I use both Go & Java, but for the sake of showing a contrast of verbosity this was a terrible Java example, lol. Good video though! Thanks
@andrewspourgeon
@andrewspourgeon Месяц назад
Totally agree lol , I was wondering the same 😂
@LHMATIAS
@LHMATIAS Месяц назад
Hey thank you for the content. I think it would be interesting to show go working with slice architecture given that both a re super minimalistic. Thank you again. Keep going :)
@ashishgupta8394
@ashishgupta8394 Месяц назад
gorm is very slow
@sc2unstable
@sc2unstable Месяц назад
Channel "Golang dojo " shitting on java, seems legit :). I can say there's probably no real reason for most changes in programming apart from personal preference of the people in change and maybe development time. Can you develop faster in GO? I really doubt it but maybe.. ))
@higiniofuentes2551
@higiniofuentes2551 2 месяца назад
Thank you for this very useful video! And is working like a charm!
@YazhShah
@YazhShah 2 месяца назад
Float 46?? Huh
@foodlfg
@foodlfg 2 месяца назад
what are you talking about?? we use GO for EVERIFING! games included. EZ
@joerivde
@joerivde 2 месяца назад
Very helpful, thanks