The Best Golang Book | Prime Reacts
HTML-код
- Опубликовано: 26 июл 2024
- Recorded live on twitch, GET IN
/ theprimeagen
Become a backend engineer. Its my favorite site
boot.dev/?promo=PRIMEYT
This is also the best way to support me is to support yourself becoming a better backend engineer.
Reviewed video: • The Most Useful Book f...
By: / @inelpandzic
MY MAIN YT CHANNEL: Has well edited engineering videos
/ theprimeagen
Discord
/ discord
Have something for me to read or react to?: / theprimeagenreact
Kinesis Advantage 360: bit.ly/Prime-Kinesis
Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
turso.tech/deeznuts - Наука
The author of Learning Go has reached out to let me know that his book is not teaching you if statements, but about creating idiomatic ago. Just in case there was any confusion
I’ve reviewed Learning Go book as well. 2nd edition. Agree he focuses on idiomatic go not the silly if statement concept
wut
'Author of book says book is not bad, more at 11'
idiomatic ago :P
@@robonator2945that is not what was said…
Book Mentioned:
100 go mistakes and how to avoid them - Manning Publications.
the other referenced :
Concuurency in GO - Oreilly publications
Zero To Production In Rust - Luca Palmieri
personal mention:
Learning GO edition 2- Oreilly pub.
Learning Concurrent Programming with GO - Manning Pub.
“Mastering GO” is a great book for senior programmers who want to understand how to write good GO
Fully agreed all the above are good.
Which was the rust book he mentioned?
Thank you for this list!
updated with rust book@@ajml_hnter
Only Prime can make a 4 minute video into a 15 minute one.
you may haven't seen other react streamers
@@gcxs I am a DarkViperAU enjoyer. Prime is the only "reactor" I watch.
And I love it, it's the best thing about him
Extract max value
The long man could make it work
Thanks for recommending the Rust Zero to Production book so much.
I picked it up a few weeks ago w/o any real Rust experience, and it's been great.
The best part about it is how he typically shows you the naive approach, then shows you how to refactor it into idiomatic Rust, and THEN how to refactor it even more so using the community libs.
The HttpResponse coercion / into Error stuff has def been my favorite part so far.
I used to hate reading programming books, but as I gain more experience, I come to learn that I really cannot trust some random internet dude's blog posts. Books aren't perfect, but they have heavily vetted information, they are well edited, and theres a standard of quality when it comes to book writing that you rarely see on the internet. SO when i jump into a new language for the first time, i generally try to look for a book that will teach me everything i need to know, and also act as a good reference for when i am actually writing code.
It's not even that its vetted, its that its they often vet the person writing the book. A book that has a physical print copy means the publisher vetted the guy that wrote that book, they have some example of the experience that person has and are often industry names regarding the language in question. They need to know thay guy's book will sell for them to front original printing costs.
Meanwhile a blog or an ebook only programming book has zero up front risk and you can self publish for zero dollars, so there is no need to vet you and often you are really just the writer "vetting" themselves.
This! The quality of content in books is often SO much higher than what is available online, written by people who actually know the subject - not people who are just learning about the subject.
The folks that fancy themselves as Content creators are either regurgitating other influencers down the pyramid shit chute or they’re at least pulling their info straight from Books. Books are the true source for most , supplemented by Research Papers imo
SOOO true
@@jibbscat5146
I fully agree. I have 7 years experience in software engineering and still struggle with CSS because there is so many BS toy examples how to make a round button but not that many how to position stuff properly on the page if you want X, or "do instead of because ".
I gave up on frontend because of that.
CSS is so illogical and inconsistent at times, I understand why people love Tailwind.
To be fair that's a CSS problem, there is no way around it until it's replaced with something else.
I do have a recommendation here. It's unfortunately a little costly, but by god is it good. CSS for Javascript developers by Josh W. Comeau. This guy made an incredible interactive course that goes over absolutely everything you need to know in a way that makes it easy to understand and fun to complete. I still look up things I learned regularly, it's a great resource for high-level concepts.
I know everyone and their dog sells courses on everything now, and at least 95% are absolutely useless, but this is one of the few ones that are absolutely worth the money they cost.
@@ivanjermakov I tried tailwind, but I think I am missing a piece to make it work consistently to do what I want. I have no problem doing that with anything backend really... Good to hear I am not dumb lol
Yeah it's probably because the people who actually get good at CSS speak it like a foreign language, or are like mathematicians where they don't bother explaining all the steps because they are "self-evident"
The pipeline from Java to Go looks real to me. I know a bunch of people that switched from Java to Go and have no interest in Rust. Go just seems to be a good match for Java programmers.
I'm java dev and I cant stand go. Its is poorly designed language in my opinion
@@jacekkurlit8403elaborate
@@jacekkurlit8403 says the java dev
@@jacekkurlit8403the Future is Now Old Man
@@jacekkurlit8403 Sounds exactly like what a Java dev would say.
Packt is THE publisher that seems to allow anyone to fulfill their dream of writing a shit of a technical book just to tick the box of writing a technical book.
i agree, i like nostrach more because they full of hobbyist.
Packt full of s. I have gotten two bundles of their crap through Humble Bundle... and honestly, I should have been wise to it from the first bundle. But they are phenomenally cheap, so I will survive, despite the blow to my ego.
This is not a Packt book.
@@mantaxxxxxxxx No, but if you had bothered to watch the video you would know why this comment chain got started.
@@mantaxxxxxxxx yours is not a relevant reply
Loving all the Go content lately🔥
BEST BOOKS FOR LANGUAGES:
Go: The Go Programming Language by Alan A. A. Donovan and Brian W. Kernighan
Python: Fluent python by Luciano Ramalho
Rust: The Rust Programming Language by Steve Klabnik and Carol Nochols
Haskell: Programming in Haskell by Graham Hutton
TO LEARN:
Do a passion project
'didn't just give us the tip, full shaft learning', never change Prime, never change.
"think there's going to be a swell of available go jobs" sounds like another blue hair bet to me
One of the interviewers in an interview I recently had made fun of me for having a personal go project on my resume.
That'd be great. But until then we'll keep on suffering
@@MemeConnoisseurwas he regarded ?
I’m seeing people dip into go and htmx simply coz they’ve seen Primeagen videos.
@@MemeConnoisseur I don't see a reason to "pick" on a language. Maybe if it's a basic project he may have not appreciated the "complexity" it was missing but laughing at a programming language, you probably dodged a bullet
Go will probably be next for me. Balls deep in Rust right now. Working on a startup and Im thinking the products we offer will be built in Rust but in the dev services we offer a lot of time using Go makes more sense and it might be easier to find Go devs.
I've dipped my toes in the Go pool a couple of times, but I think I am feeling it a lot more now. Probably because senor prime mans keeps yammering about it. 😄
"I think your hair was green in the previous"
innit
Fresh Prime upload, nice.
Would love to see a programming book tier list with you and TJ!
there's a book store in my country that is specialized in niche programming books they're categorized by language and all the books are very specific niche topics
I literally went on a search for book recommendations for GO yesterday, the Timeagen is real
This is one of Prime's best take, I need a book that tells me how others do stuff in this language cause it differs from language to language and not how to do if statements
I bought a physical copy of the Real World Ocaml book cause I wanted to support the work that goes into the learning resources of Ocaml, and I like a physical reference for me I tend to remember what place in a book I've seen a thing Im trying to remember so sometimes when Im blanking on terms/specific concepts and looking them up is hard I rememeber where I saw it and a physical book is easy to know where to find it again on my shelf behind me.
I saw that zsa voyager box on this guy’s shelf and knew I could trust him
Get book. Speed read. Make mindmap of architecture, dos and donts and capabilities of language/library/framework. Start project. Read documentation for implementation details.
Learning from a book is 100 times more productive for me than from a video.
1. Read
2. Explain to yourself in your own words
3. Instantly transcribe to paper or a text editor to test what you've read
A video, for me, is much more cluttered. I believe reading transports your brain to a learning state much more easily because it's much harder to do so passively without realizing it compared to watching a video.
In the video, there are many elements instead of just you and what you have to learn.
The best programming book I ever got (haven't bought any in ages) was Core Python by Wesley Chun (but it was for Python 2.5 then the hot new thing). However it did a great job of explaining mutability and differences between the core data types. At the time there wasn't a lot of explanation in a single place, and I was pretty new.
The only problem of course is that like all tech books - they expire. I don't need to use it, but I kept it because I think it's that good as a tech book in itself. Was a great reference. Served me better than a lot of "in a nutshell" series. The Rhino book was another that had the same depth.
"Gather round kids, we our Borland C++ compiler came with 10 books of reference - we didn't have an internet to look it up..." And now nobody buys books because of the speed of it being out of date. And the fact a lot of them are just written very poorly.
You speak from my heart man... Do you have any suggestions for good wisdom-books? Thank you, sir!
More golang stuff!
"Give me a book about wisdom…" 100% agree. One of my fav. Chris Coyier quotes: "The most important decisions transcend technology."
I need to read more books.
The O'Reilly framework/library books I saw literally copy pasta'd the official documentation.....
I haven't read may Golang books but I'm currently reading Ultimate Go Notebook and it's great, specially if you want more in depth understanding of the language.
More full shaft learning please.
6:10 Java is getting better. I can't stand pre-8 Java but with lambdas, streams and switch expressions it is a great language to work with.
This.
I however have to say, I have been hating java for the last few days. Not because of java, but because of GraalVM native compilation.
We decided to compile our code into a native image, and it's being a PITA. Tbh if you want native just chose a language that supports native easily, like go.
@@ficolas2 I heard a lot of good things about GraalVM, what particular problems you've faced?
The biggest issue I've always run into is how hesitant anyone is to use newer versions. But yeah, Java 21 is pretty nice. I'll still opt for Kotlin at the moment for a handful of reasons, but it's so much closer than it was even a few years ago.
this is a great book
This was so enjoyable to watch at 1.5x speed, especially that ending 🤣🤣
As someone with 5+ years experience who wanted to learn Go in a structured way that didn’t get too into beginner-level territory, Learning Go has been a great resource
Not a programmer by trade, but once and a while I write stuff to solve little tasks here and there at home. Its typical for me to look at code i wrote a month ago and say "what the fuck is this, who wrote this garbage? Oh I did".
Your comments about skipping basic language syntax/logic I really agree with. I guess I dont mind if its in the book, but maybe 1-2 chapters at most.
The thing I'm most interested in is designing a medium-difficulty program from scratch, using whatever language, with a breakdown of how that looks, what design patterns would be used in specific parts of the program, and why. Something with real world use, possibly using a database, or an external source, even cloud stuff. As someone who just cobbles together random shit tier code, this would help me immensely.
The Go Programming Language by: Alan A. A. Donovan, Brian Kernighan. This book is heavy on wisdom, from the creators of go, and not mentioned here.
Additional note: book doesn't cover new go updates like Modules and Generic
full shaft learning indeed
The book I picked up for Go syntax is based on learning “An Idiomatic approach to real world Go Programming”
I use the books mostly to read as supplementary to a course when I get tired of hearing someone talk.
I also had a couple flights I was taking and 30$ for a book was better than 16$ for internet
1:00 I hate it when I remember that the instructor at the college teaches the "if statement" in every new programming language lecture.
Right because it’s not like the if statement works exactly the same in every language
I think 'learn python the hard' way is the quintessential beginner programming book. Assumes the reader is literally starting from zero and is structured as a series of exercises.
Underrated now.. IIRC the author ran into some wild C programmers who savaged him pretty bad. He's never been same since.
damn i am currently planning to learn C the hard way and i kinda agree with prime "intro to __ lang" is kinda bs since it's just syntax i actually wanna know how to go to 0 to production in that lang which i think this book will help me in
the ending though
I wheezed so hard
I would participate in a tech book club... Sounds awesome
Definitely keep reading the book - it gets better with every problem.
And yeah, I'm also Java expat. ;)
I'm curious on suggested books for learning how to think like a programmer..??
I'm working through the book Let's Go (I tried Go Web Programming and it was too high-level for me) and the author explains 'what' a website needs to work (i.e., the handler, the server and the router). Just knowing those three 'minimum requirements' was extremely eye-opening. Without knowing how to think like a programmer, I find coding to just be a bunch of functions, if-statements, etc. with no understanding of how to tie any of it together
I don't think I would have transitioned professionally into writing Go without going through The Go Programming Language. Perhaps it was in parts too simple but it was a good start to a new way of thinking about programs coming from nodejs.
Reason to buy a 'how-to-progam-in-go'. You want to use dead time, as commuting, or even before sleeping, and you dont want to be reading from your micro tiny mobile phone.
lololol the low KWALITEE bnook tour!!!!!
Out of curiosity.
When does reading a book on a specific topic or a language bring benefit the most?
Say, I am learning through doing projects to get the feeling of the language and how to apply certain concepts in the way of the language. Between this and reading a book, which is the right moment to switch?
There are advantages to having a hard copy of a book that contains conditionals, structs, AKA what you might find for free on the internet. I'm more inclined to want to take a book to the park than my computer (and I'm more inclined to need a break from my computer than from a book).
Nothing beats Kernighan's "The Go Programming Language" for me!
I literally ordered “Introduction to Go” yesterday. Why? It was only $20, and O’Reilly books are generally ok.
I will pick up Effective Go as well, but boy I wish I had seen this video yesterday. 😂
There was a time when we had to buy a book to "look it up".
Love your videos, has anyone told you you look like Freddie Mercury? LOL
my first programming book was Mark Lutz about Python. I am not sure if that book slowed me down on my way to become a programmer, I guess it did...
Look at the documentation for the syntax
I really like K&R-style books. Works better for me than figuring out on the go. I'd rather sit down, read the whole book and wrap my mind around the language than figuring it out on the go.
any book you suggest for production like application (REST api, folder structure, dev tools e.g AIR, ORM, queue system...)
I did learned by book "The Go Programming language" by Donovan and Kernighan, because a) I had to learn go in two weeks, before I go to new job; b) I wanted strong foundation and ensurence for myself. I don't believe, that I could get b from any other resources, that would be as fast, as from book. So I read the book in two weeks, got hands dirty with my pet project, and was satisfied
what is a good 0 to production book for go btw? can someone recommend pls i am really tying to get into go
Gemini - won't write it for you it could be dangerous XD
PHP was so worried about books being written for the unreleased PHP 6 they named the new release PHP 7 instead. (PHP 6 was scrapped and never got released)
FULL SHAFT LEARNING
hello sir, please make a video what are the new technologies or innovations in web. i hardly search it to implement it in my thesis because my university ask the students to implement new technologies or ai. for now i'm planning to implement ai in web, but before it i want to gather is there something in pure web first before i combine with ai
About the book for absolute beginners. I hear you Bookagen. But, can you, or anyone reading this comment, recommend books that deal with absolute fundamentals of programming? Like:
- How is data represented on hardware
- What is CPU instruction that programming languages deal with
- What are types and why are they useful
- What are databases and why is there a need for them
- How do programming languages interact with databases
- What is server?
- How computers interact, i.e. what are protocols
etc etc.
I can't give a book for each topic, but here's my two cents: read Wikipedia for a broad overview of computers. If you need more details, then try one of the listed references. Otherwise, I'd recommend learning Linux and reading "The Linux Command Line" (available online for free), to learn basic commands and those will eventually teach you a lot of other things about computers, imho
Well, that's basically a 4 years of CS degree. I can recommend Computer Organization by Hennessy for some of the things you are looking for.
The start of this is Prime just banging out facts about learning.
"Idiomatic" is a very popular word nowadays. As for me: it is really doesn't matter how your wrote your program as long as it works correctly and fast. Even fast is required only for certain type of programs, but correctness required for most.
That is true if you are like a one-man team, but for almost everyting bigger then that, the idiomatic is really important.
We devs can have different views on what is good or clean and so on, but we need to have something that we can agree on.
@@inelpandzic A good point.
Please do that book review of 100 mistakes of Go
A list of book recommendations by language could be helpful too.
For web development, I have to recomment Let's Go and Let's Go Further by Alex Edwards
I kind of got used to the blue hair and now I think you should have kept it
I started programming with Python the Hard Way and it was fantastic.
What is best book to transition from Frontend React to GO
06:15 wait for Dart to come available on the server, Java devs will love it.
TGoPl, next question.
IMHO: The best book for any programming language is the book which covers native approach to the language. I don't care about what is common for all compiled languages, I need what is specific for Go and all comparisons are only to catch how the approach differs. In example we have pointers, so most important for me was they are slightly different than in C and C++. So I know how to use them but the most important is that I mustn't do pointers arithmetic in Go like it was possible in C/C++ etc.Cheers!
Ok, What is the actual book lol , the title is never stated and I was tapped to write a book on Golang
Grande Sergio Lago! O acompanhava desde as excelentes narrações no Canal Speed. Vamos acompanhar essa temporada da Nascar na Band. Grande abraço.
What about the 📘 (the blue book)?
"htmx design patterns" book
That little gopher on your book makes you look 10x more intelligent
Where’s the best place to learn Go for free?
Concurrency in Go is an awesome book
Yes! But I’m just wondering why the author didn’t talk about the memory model. It is like a corner stone of the concurrecy model.
It is a tricky topic, but even just briefly talking about is would be great so people not familiar at least know that go has it.
Sometime you just buy a book for the same of reading in the park, on a walk, entertainment, etc.
Exactly man I hate it to wander the internet to find a good course or a book on specific topics and not find those .. simply because it is easy to convince yourself you are an author by writing a book on how to write if and for statements but it is dannng difficult to address the real meat
Lets hope however that this doesn’t turn into the new open source PRs thing 😂
Someone please give me a list of topical books so I can understand what to look for
you prime do you read e-books or paperback ?
Excited to see everyone learning go recently
Until they find out about the dark sides of Go's simplicity :)
@@ITSecNEO C is also simple, and the ENTIRE world is written in it
@@catto-from-heaven If C is simple, I'm Obama
@@ITSecNEO Hi Obama!
@@MaxJM711 Nice you got me
I read the idiomatic book. It’s really good. I don’t want to search every five seconds for how to … I like to read from paper instead of a screen. But I am not a pro dev so probably that is the reason. But I do believe a lot of shitty code is being written by devs who never read any book and always find their stuff on the internet. I have bought a book on Rust too. But I gave up on that. Too difficult and I don’t see any reason to learn it - no usecases…
Weird video, no idea which part exactly was about the Learn Go book rather than comparing the other two lol
hey prime, i truly need ur answer and help here, plz answer, what is the BEST BOOK to learn programming concept?
What do you mean by programming concept? That's very vague, explain more
Introduction books are very good to gain some extra bucks, nobody born with a knowledge, even to find the basic concepts on a documentation.
I hate reading but your same argument can be made to start learning a programming language. I mean if u really want to u can find any information for free (introduction or expert level), but some people prefer reading it (some people understand better by reading) and if so why not let them just buy a book and learn (of course they need to write code too)
Beginner books can be terrible. I look for that second book, the intermediate thing that teaches compiler process, memory allocation, threading models, scm, etc. I will buy a focus topic for another language just to get perspective. It took C to learn custom memory allocation (it's not bad in Rust). I found the Rust Performance Book online to be the type of knowledge I needed. I think making a beginner's book is difficult. Daunting when you dig into low level, but still confusing when you are too abstract. For example, the Rust Book tells you about shadowing, but then leaves you hanging on why shadowing. Re-address it later type of things. If I didn't learn C first with low level topics, I would have zero angle on these newer languages.
Anyone know which book is the concurrency book he was talking about?
Hey, it is a book called Concurrecy in Go, good book.
Agree. well you have kotlin..
This rust or go dilemma got me all roughed up. I can work my way around python and JavaScript decently but I really want to add another language under my belt and want it to be statically typed language.... arghhhh . I just don't know what i want both look appealing snd i definitely don't have time to learn both together.
I had a similar choice to make for backend development and I chose Go, because Rust is just too hard. I want to have stuff done quickly with the least amount of problems. A year later I am happy with my choice and would not want to write Rust. I've read a whole ton, took tutorials in both languages. What made me decide is the simplicity of Go, and also a seeming lack of problems and of stuff just working. I've read, maybe not horror stories, but quite a few negative stories about Rust such as slow compilation times, problems deploying in Docker etc. So I thought to myself I don't want those problems and chose Go. My backend compiles in 3 seconds. I highly recommend the book Let's Go Further by Alex Edwards (his 2nd book). For backend. Make sure to know a lot of Go before doing the book.
@@johanneswelsch I spent the last few hours finally confronting the dilemma and made a decision. I think Go is what's best for me right now
The only language that doesn't bore the shit out me is Haskell
#remindme 1 month from now. Theprimagean book review of 100 mistakes of go.
I buy intro books because I prefer to read paper books rather than reading on my screen
Do 100 go mistakes live