So I Tried Using Go Again...

  Рет қаралды 6,872

Ben Davis

Ben Davis

Күн бұрын

Пікірлер: 92
@jalalle1995
@jalalle1995 6 күн бұрын
boring languages let you focus on the right problems rather than being lost in the jungle of obscure features and tool chain fights
@SteveKuznetsov
@SteveKuznetsov 6 күн бұрын
Solve cool, complex and interesting problems, don't solve boring problems where you need to use complex languages to get your kicks!
@nikkehtine
@nikkehtine 5 күн бұрын
Golden piece of advice
@BasharAlkhalili
@BasharAlkhalili 5 күн бұрын
Finally! Somebody gets it!
@avithedev
@avithedev 5 күн бұрын
Well said
@younes_khx
@younes_khx 3 күн бұрын
the best thing i read today , i hate how everyone says golang is borring , bro just dont make a todo app then
@paca3107
@paca3107 Күн бұрын
​@@younes_khx excatly! imo frameworks such as next.js are much more boring because for most of the time you use ready solutions, instead of buliding your own.
@khan8719
@khan8719 6 күн бұрын
What people don't get is languages like golang, zig and c is about the simplicity of code that means you can open any external library and easily understand the code, since language is extremely simple and straightforward on the contrary open any rust, c++ JavaScript or java library and its extremely difficult to see what is going So those programmers who want to understand what is going on inside the library can easily do so.
@everythinggoes850
@everythinggoes850 6 күн бұрын
It's still boring
@paologaleotti8478
@paologaleotti8478 6 күн бұрын
@@everythinggoes850 Yes, and it's a good thing haha. You get work done, it's productive and it's a very "industrial" language. it just works without going crazy with 1000 npm modules and things that changes costantly. its boring
@guillemgarcia3630
@guillemgarcia3630 6 күн бұрын
I can understand how a dependency works in golang by just "goto definition" many times. It is impossible in typescript. For me that's a selling point.
@pookiepats
@pookiepats 6 күн бұрын
Golang is not great, my ass. Empty interfaces suck. //methods REALLY SUCK and this is a Go specific thing ! Wtf is this: Func (r Receiver) thisSucks() { //trash-code } Itoa & Atoi are trash substitutes for enumeration As is: Const = { Hell No No Thanks } Why suffer in a terrible “simple” language that doesn’t afford you legitimate type safety OR ergonomics There are so many misconceptions about Go and most are gracious, it’s not a very good language but has a good build system that is honestly its only real selling point
@user-eg6nq7qt8c
@user-eg6nq7qt8c 5 күн бұрын
@@everythinggoes850 The lang is boring, writing the code and building things is still a lot of fun.
@eugbyte1822
@eugbyte1822 6 күн бұрын
Go's simple code is a selling point, but the bad thing is that it results in more boiler plate code, e.g. filtering a list of numbers in Go vs JS / C#.
@nikkehtine
@nikkehtine 6 күн бұрын
I don't think that's really a negative because things like filtering a list are very simple, straightforward and fast to make, so in practice there is no difference
@paca3107
@paca3107 5 күн бұрын
I dont think so
@user-eg6nq7qt8c
@user-eg6nq7qt8c 5 күн бұрын
we have iterators now so that should be solved if you want map, filter, reduce type stuff, right?
@channyeintun6411
@channyeintun6411 3 күн бұрын
It's 2024. You can't say about boiler plate code in Go anymore. If so, may be skill issue.
@catofdeepblack
@catofdeepblack 5 күн бұрын
This is the difference between a real engineering and the content creation
@gunarcom
@gunarcom 6 күн бұрын
the way go's fmt does vertical alignment of structs is so nice.
@nasko235679
@nasko235679 6 күн бұрын
You bring up a great point about GO project structure. There are so many ways to structure a project, but what I've found is simply doing whatever feels intuitive to you is the way to go. I structure my GO projects a lot like a laravel project, because that's what I'm used to ,but you can even structure it similarly to a nextJS project in a lot of ways and it still works. Funnily the recommended go way of internal and package feels the least intuitive to me.
@ncpurge789
@ncpurge789 6 күн бұрын
THIS!
@CJS-r2l
@CJS-r2l 2 күн бұрын
"An idiot admires complexity, a genius admires simplicity" - Terry Davis
@RyoukenDofus
@RyoukenDofus 6 күн бұрын
The thing with ts and drizzle is that If I change something on the drizzle schema automatically vscode tells me if I mess up something even in the frontend, and thats someting very difficult to echieve in other techs. Literally the schema becomes the heart of your app
@bmdavis419
@bmdavis419 6 күн бұрын
Yea I did not get into any of it here but there are tons of things like this that make me prefer TS
@hamm8934
@hamm8934 20 сағат бұрын
You get the exact same thing with Go, SQLc, and Templ. The only difference is in this stack, your source of truth are literal .sql files. You change a table or query method in your .sql, and your IDE tells you immediately at every level of the app. When I see comments like this, I really think it's a case of people not adventuring enough. I'm pretty you get the same with livewire and laravel. Even Django and jinja templates with pydantic are pretty close to this today.
@FloodGold
@FloodGold 6 күн бұрын
I know from experience, crazy will burn you out fast. You are warned.
@swallace21
@swallace21 6 күн бұрын
go really needs a full featured liveview implementation on top of templ
@eligbuefelix7988
@eligbuefelix7988 5 күн бұрын
I think go is best suited for microservices and heavy backend computations. Exposing golang directly to the frontend can often be tough.
@siya.abc123
@siya.abc123 5 күн бұрын
The problem is that JavaScript developers love to be hand held with abstractions on abstractions on abstractions. There's nothing we can do about that 😂
@AScribblingTurtle
@AScribblingTurtle 4 күн бұрын
If you just want to screw around, that is fine. Getting sucked into that seemingly endless, black hole of the packages and node_modules can be fun. However, Clients don't pay to cure your "Boredom" they pay for results. In that regard. Having simple straight forward language like Go is awesome.
@minma02262
@minma02262 4 күн бұрын
Nah. Dont listen to this guy. Use boring stack so you can focus on the domain problem, and move on to other stuffs. Don't waste your life like this. If you experienced enough, structuring project is not a big deal, you know where the complexity will creep in eventually. Missing libraries and functions are a big deal.
@kode4food
@kode4food 5 күн бұрын
"Verbose and boring" is a feature
@massy-3961
@massy-3961 6 күн бұрын
Best full stack with Golang + Frontend is Connect RPC
@IamI16
@IamI16 3 күн бұрын
Want to try this out. Can you share your good and bad experience about this stack?
@massy-3961
@massy-3961 Күн бұрын
@@IamI16 Essentially is a typesafe Rest implementation. Learning the Buf CLI isn't the hardest thing, but its definitely isn't simple. Middleware are hard to target on a per route basis, but its an RPC so that's expected. Validation can be done in the protobufs but the API is a little annoying. But its definitely an amazing DX. Changing schemas affect the types of every language, and on RPC calls, its typesafe so you know what must be passed in and what you will receive without having to parse JSON and cast a type or use Zod.
@VIKTOR-pw8eu
@VIKTOR-pw8eu 5 күн бұрын
What's the VSCode theme looks so cool?
@jitxhere
@jitxhere 4 күн бұрын
Honestly its just the orms that I am not switching to go. I can write basic queries but I really want that magic that Drizzle and Prisma brings. Too dependent on it and their typesafety
@hazimdikenli
@hazimdikenli 4 күн бұрын
I think that Deno2 is going to solve most of the JS/TS Tooling issues, just need a year or two.
@ooijaz6063
@ooijaz6063 6 күн бұрын
Have you tried ent orm + huma to generate openapi definitions? Ent is kinda like type safe query builder and huma can generate automatically openapi definitions so we can have rpc on the frontend when combined with openapi-ts
@oumardicko5593
@oumardicko5593 6 күн бұрын
Honestly i felt like his(theo) hate for go was being seen cuz i couldn't understand why the heck graphql 🙃
@JagaSantagostino
@JagaSantagostino 4 сағат бұрын
Copilot make Go a brand new language for me, reducing the cost of all the parts I hated close to zero
@Beyram1501
@Beyram1501 3 күн бұрын
Golang gets the job done without having any issues whatsoever, and that's very boring hahahaha. That's why I only use it for fun stuff so that the fun part comes from the project idea instead of the code.
@AlexandrGakhov
@AlexandrGakhov 3 күн бұрын
What do u think about ts Effect lib?
@DuckyChannel
@DuckyChannel 5 күн бұрын
You should give Rust a go, if the project it right for it. Would love to hear your takes on Rust
@duongphuhiep
@duongphuhiep 2 күн бұрын
nutx, next.. is "backend for frontend".. while go is more suitable of a backend for backend, micro-services
@dandogamer
@dandogamer 6 күн бұрын
I mean you can do the crazy stuff you talked about in go, you would just have to do most of it yourself
@mariuscostache2681
@mariuscostache2681 5 күн бұрын
Go is the perfect language for me. I’m done fighting code complexity and I am no fan of the magic some modern frameworks are doing behind the scenes. Also, like someone commented before, maybe go is not the best tool for web development.
@Alex.Shalda
@Alex.Shalda 6 күн бұрын
Are there any performance gains on using go + react for a website, or just stick with typescript + go + nextjs? I mean, why should someone use go for a website?
@jed271
@jed271 5 күн бұрын
there is a performance gain and server cost reduction
@Malix_Labs
@Malix_Labs 5 күн бұрын
Golang is definitely "it works, it's right, it's fast, but it's boring" I think it kind of show that its design is almost perfect (error handling syntax aside), but if you're into fun stacks, Golang doesn't really fit
@alefumero
@alefumero 6 күн бұрын
If u had to redo a project because a dependency bump you should literally look for a new hobby
@bmdavis419
@bmdavis419 6 күн бұрын
Nah it’s not a redo it’s just copy pasting the code, it’s a very common thing in react native lol
@hectorcast943
@hectorcast943 5 күн бұрын
Basically why am burnt out on golang, file structuring a project just makes me eh
@tranquangthang8897
@tranquangthang8897 6 күн бұрын
go go
@hamm8934
@hamm8934 19 сағат бұрын
SQLc is the best way to do SQL in go
@Nuraddinhassan
@Nuraddinhassan 5 күн бұрын
boring is good, that mean is simple
@devyb-cc
@devyb-cc 6 күн бұрын
ben, try kotlin
@7heMech
@7heMech 5 күн бұрын
0:43 seems like a TS issue to me.
@gmonie619
@gmonie619 6 күн бұрын
complex is cool?
@everythinggoes850
@everythinggoes850 6 күн бұрын
Go's limited type system is boring
@codeline9387
@codeline9387 6 күн бұрын
rewrite project coz of package version bump, lmao
@bmdavis419
@bmdavis419 6 күн бұрын
NOT REWRITE, should have been more clear I just make a new project with the new deps then copy paste everything over and it works. Yes react native is that stupid
@codeline9387
@codeline9387 6 күн бұрын
@@bmdavis419 next time try to remove node modules and local cache/tmp/build folders
@_SaulDesigns
@_SaulDesigns 6 күн бұрын
@@bmdavis419probably deleting node_modules and package-lock.json followed by npm install likely would fix your issue
@codeline9387
@codeline9387 6 күн бұрын
@@bmdavis419 next time try to remove node_modules and local tmp, cache or build folders
@codeline9387
@codeline9387 6 күн бұрын
@@bmdavis419 lol, why I can't reply
@patriciohernandezballester2485
@patriciohernandezballester2485 6 күн бұрын
Si alguien tuviera la amabilidad de resumir un poco que dice ... pq no logro entiender casi nada, habla muy rápido y no vocaliza
@tranquangthang8897
@tranquangthang8897 6 күн бұрын
I think what he is trying to say is that go is simple/reliable/verbose which make it a little bit boring compare to nextjs and phoenix which have some exciting features. (I might get the wrong idea though)
@HoussamElbadissi
@HoussamElbadissi 5 күн бұрын
You can by the way turn on captions, they're pretty accurate, and you can even auto-translate them into your language.
@patriciohernandezballester2485
@patriciohernandezballester2485 4 күн бұрын
@@tranquangthang8897 Thanks
@npc-drew
@npc-drew 6 күн бұрын
Go language promises simplicity but delivers constraints: - String-typed APIs force unnecessary type conversions. - CSV parsing performs slower than Python's Pandas library. - Language ecosystem lacks mature libraries. - Developer freedom feels restricted. - Speed advantages diminish with real-world implementations. - Developer productivity suffers from missing tooling.
@AlexanderSuraphel
@AlexanderSuraphel 5 күн бұрын
What is you go to for API/web implementation?
@npc-drew
@npc-drew 5 күн бұрын
@ None, I use Ho for backend only, and the language provides the needed parts to build server.
@nikkehtine
@nikkehtine 5 күн бұрын
as a developer I never felt my freedom being restricted in Go so I don't know where that one came from
@npc-drew
@npc-drew 5 күн бұрын
@@nikkehtine that one wasn’t an individual point but frustrations from some of the others, why can’t I just define the incoming data as whatever type I want instead of receiving one type and converting it adding enough overhead that this part of the program is slower than even Python, and how come reading CSV is 10-20s slower than in Python too.
@paca3107
@paca3107 Күн бұрын
skill issue
@tawandagamedevs
@tawandagamedevs 3 күн бұрын
this video just wasted my time
@MarkVergelBanguis
@MarkVergelBanguis 6 күн бұрын
Go isn't for web development.
@saadhabashneh5587
@saadhabashneh5587 5 күн бұрын
For what then?
I built the same app with 5 different stacks
1:20:29
Theo - t3․gg
Рет қаралды 93 М.
My Initial Impresson Of Go
12:39
TheVimeagen
Рет қаралды 101 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 131 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,5 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 108 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 88 МЛН
The embed package is a lot more useful than I originally thought...
16:56
The Surprising Story of PHP
12:20
CodeSource
Рет қаралды 23 М.
OAuth2 Crash Course with Go
22:21
Matthew Sanabria
Рет қаралды 2,4 М.
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 132 М.
The Tech I’m Learning and Why
27:25
Ben Davis
Рет қаралды 11 М.
How and Why I Rebuilt my SAAS App
13:24
Ben Davis
Рет қаралды 22 М.
Need animations? Use this library.
12:24
Theo - t3․gg
Рет қаралды 64 М.
SENIOR on JUNIOR Javascript Developer interview
26:35
BELOV
Рет қаралды 351 М.
This tool annoyed me (so I built a free version)
19:38
Theo - t3․gg
Рет қаралды 154 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 131 МЛН