[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1694022947484.jpg (29 KB, 820x364)
29 KB
29 KB JPG
Redpill me on go
I just saw a bunch of job openings requesting Golang programmers
>>
>>100180517
Golang is a shit globohomo language made by Google, it was made as a criticism of C++ yet fails to surpass C++ in any capacity
It is just an inferior language overall
>>
its like the SSRI of programming languages
you won't want to kill yourself like with javascript, but you wont ever feel good coding either
just numb
>>
The only people I've seen praising golang are former python devs who have battered wife syndrome from dynamic typing
>>
>>100180517
I like it. Easy to shit stuff out and move quickly. Goroutines and channels are based.
>>
>>100180751
people who can't deal with DT are just dumb
>>
>>100180605
This, but there's money in it
>>
>>100181089
>i never had a problem with types in my toy projects
>>
>>100180517
you don't need frameworks when you use it for webshit
>>
>>100181145
I don't care about your NEET problem, lil bro.
>>
>>100180517
Kino syntax and sane features out of the box. Basically halfway point between C and Python.
>>100180605
It wasn't designed to replace low level systems programming. It was designed to be a decent language for backends and services instead having to work with either C++, Java, or Python. On top of that, it was made by unix boomers that praise C and hate C++.
>>
>>100180733
Pretty much this. You'll get shit done, though.
>>
>>100180733
Exactly this. Great for working with retards in a professional setting since its focused, simple, and prevents you from shooting yourself in the foot. There are more fun languages for personal projects, but Go is hard to pass on for web servers and CLI tools due to its performance, tooling, and ease of use.
>>
>>100180517
it forces you to keep things simple, which is good for team projects. it's popular among web devs and cli devs, and to a lesser extent devops infrastructure people (kubernetes & docker are both written in go iirc). solid career option. that being said, it's boring as shit.
>>
>>100181182
I'm sold, thanks.
>>
>>100180517
go
>>
>>100180751
Accurate.
Python is also garbage and people who use it don't know anything about how a proper language is designed.
>>
I don't hate the language, but I hate the compiler.
It tries to connect to the internet, and google tried to add analytics and shit.
Thank god for gcc go, it compiles smaller binaries but lets you keep the option of static linking if you want.
>>
File: 1549728912917.png (107 KB, 661x483)
107 KB
107 KB PNG
>>
>>100180605
>fails to surpass C++ in any capacity
This is your brain on sepples.
>>
>>100180517
don't learn OOP programming. Learn C, Lisp, FORTRAN, etc. All programming languages are the same, but the ones with namespaces (read objects) tend to encourage braindead abstraction based design.
>>
>>100180517
Don't
https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride
>>
>>100185888
>By now, everybody knows Go doesn't have generics
that's old
>>
>>100180517
good standard library that contains everything you need. Lots of community libraries that further enhance and integrate very well with the standard library you can swap most things and it will just work. No bullshit compilation although I did have troubles with modules but nearly every language has some bullshit about package management only D seemed sane so far. Nice single binaries you can bundle html templates as well.
Error handling sucks dick I really want something like rusts shit. Very strict with some bullshit. Poor docs in some places once you start digging no idea if that improved. I hate their doc site as well its garbage.
>>
>>100180517
you can "learn it" in an hour
"learn it" and then just apply
>>
>>100181370
>Basically halfway point between C and Python
/thread
>>
>>100185881
>tell me youre unemployed without telling me youre unemployed
>>
>>100185881
Shut the fuck up boomer no one likes to lose brain cells trying to figure out ancient technology
>>
>>100185742
cry about it
>>
>>100180517
>redpill
Good enough for 90% of the web, but then it reaches the edge case of scalability in the cloud, where it gets utterly destroyed once some CFI figures how much you're paying for all that ram. As a webshitter it's a pretty solid job right now, especially in smaller companies.
>>
>>100183278
Can you just do this?
$ gcc -o main main.go;
>>
>>100180517
last I checked all the Go jobs were either exclusively for senior DevOps guys or located in China. It's not irrelevant but unfortunately it seems to be in a specific niche. I wish there were more Go webshit jobs
>>100180733
>battered wife syndrome
this is the best way to describe Go, it's the language you settle for because you think (or maybe know) that it's the best you can hope for in this garbage industry. I like it, not due to what it is but what it's not. It's mediocre in pretty much every way, but at least I don't have to deal with IAbstractPojoBeanFactoryRepository. Yes, there are better languages out there, but they are niche and reserved for the really smart people. I've accepted I must settle for less.
>>
Go is pretty nice. Keeps easy things easy, complex things more complex, unlike Java etc that makes easy things difficult and complex things easy. Very similar to nodejs in a way.
Ogen makes openapi nice, gqlgen makes graphql nice. Pgx is good postgres. Has the important packages. Go pls for vscode works very well.
Main thing that feels bad is awful lambda syntax and very verbose error handling. I would go nodejs all day every day if not my ocd thinking of the ram and cpu usage.
>>
Can you use gopls with gcc-go?
>>
>>100186712
>last I checked all the Go jobs were either exclusively for senior DevOps guys or located in China. It's not irrelevant but unfortunately it seems to be in a specific niche. I wish there were more Go webshit jobs
So 2019? Go jobs are all over the place literally everywhere. Senior doesn't mean jack shit anymore but "not a complete moron", weigh by salary instead.
>>
>>100180605
it was made because junior devs are too retarded to write C++
>>
>>100180733
can you overdose on it?
>>
>>100187050
yes, become a cnile who programs in Go, double the brain damage
>>
>>100187067
oh boy, I might recreationally abuse the go language
>>
>>100187025
What's hard about C++? Are you working with non whites?
>>
>>100187450
>C++ is ezpz
I think you might be nonwhite
>>
syntax fairly acceptable but the morons forgot to build a decent dependency manager. therefore I use rust
>>
>>100180517
youre more likely going to work on greenfield projects, if you get a go job
>>
>>100187525
> C
Made by whites
> C++
Made by a white
>>45 years of non jeet related software development
C++ and C are fine
>> Introduce jeets, women and niggers to the industry
NOOO YOU CAN'T JUST MANAGE MEMORY YOURSELF. Programming in C++ is not a problem for the white man.
>>
>>100187551
>go
>needing dependencies
doing it wrong
>>
>>100187765
Yeah just Ctrl+C Ctrl+V like a good gopher
>>
>>100187603
>there's nothing else but memory
midwit
>>
Im a POSIX shell scripting TWM Linux autist, should I rewrite all my scripts in Go?
>>
>>100186484
>cry about it
I'll laugh about you instead.
>>
>>100188115
if you're truly autistic then GO with Haskell or Raku
>>
File: 1713861086013185.gif (3.24 MB, 360x360)
3.24 MB
3.24 MB GIF
>>100180605
>the seeplesples schizo at it again
>>
>>100186696
compile gcc with golang frontend support, use gccgo
>>
>>100187551
The module system works fine, it pulls straight from github repos containing Go code.
>>
>>100188971
The module system sucks for local development.
>>
>>100189023
>local development
uhhh just run a local nginx server routing the meme golang directives for modules to your git server?
What do you mean you have neither at home?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.