[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now closed. Thanks to all who applied!


[Advertise on 4chan]


File: YouTube.png (353 KB, 627x438)
353 KB PNG
our response, Gosisters?
>>
nil
>>
I don't have it on me, but there was a whole lainchan image series about how tarded go is. I used it recently because I thought it's "extensive standard library" fit a use I had. Little did I know that stdlib was barely more functional than just hand-writing me own formatting writer. It's a meme language with a dogshit type system and dogshit standard library.

I don't know sjit about this yt retard, so my response is don't listen to any yter retard.
>>
>youtubecancer
How about you Go kys yourself
>>
I don't care any more, I'm completely disensetized to programming languages. It's all the same to me. I used to care, but after seeing fanboys of different languages act like retarded fanboys that they are... just why? Fucking pick a language and write something useful and don't complain. And if it's your work making you write in it, then you'd be miserable anyway, no matter which language they'd ask you to write in.
>>
File: 1756283865896744.png (345 KB, 858x591)
345 KB PNG
>>109010777
I am done with you and Golang
>>
Thanks, but I'm sticking with C and Lua
>>
>>109011105
>Lua
Why? C cucks are always funny to me. Too bitch made to actually write real C and fuck to Lua for hard problems. You wouldn't need a faggy scripting language if you used C++ or Rust.
>>
>>109010769
>memelang
>googles whole backend is in it
lol
>>
>>109011341
No, you're thinking of C++.
>>
File: c-base.png (2 MB, 1408x768)
2 MB PNG
primodin argument clashes with opt-in nature of the feature. though, conceptually these kind of runtimes are unlikely to survive anyway, hehehe
>>
i don't know, seems like a problem for my agents to solve
>>
>>109010727
Who?
>>
>>109011391
he doesn't have a job and tries to stay relevant on youtube by making faces in thumbnails, reading blog posts other people with jobs wrote and interviewing other people that would rather talk about programming than do it. it's cancer
>>
>>109010727
Skill issue. Next.
>>
>>109011505
Yeah it's like those distro hopping people making videos every other week like ''why i'm leaving Linux Mint/Debian/Arch/etc'' every other week. It's useless shit but drives views and engagement

What is this dude even programming in Go anyway?
>>
>>109010769
>lainchan aka teenagerchan
>>
Fellow Go sissies, is it over?
>>
I'll never understand Go hype. It's everything bad about C, and it fails to leverage any of the positives enabled by garbage collection.
I can't imagine a circumstance where Go would be preferable to Common Lisp, except for taking little Timmy and trying to make him productive at BigCorp in the smallest amount of time possible.
>>
Since exactly zero ITT people actually have any idea what the video says, I'll summarize it.

Prime (says he) liked Go because it was retarded and predictable, perfect for the use cases it was designed for (simple CLI tools and services). Because Go was so restrictive, every Go codebase looked the same. You could read any Go project and immediately see what it was doing. It was consistently productive. His complaint is that allowing generic methods now opens the door to endless different ways of doing things which is going to kill the main thing that that made Go different and worth using over more complicated languages like Rust or Typescript.

Personally I think it's a premature reaction. Hard to predict how the feature will actually be used.

>>109011717
Better question is, what are you programming Go and what do you think about generic methods? It's funny how you faggots whine about twitter screenshot threads but would far rather gossip about ecelebs are doing than take any opportunity to comment on actual technology news, as if anyone cares that you finally noticed that influencers make videos that drive engagement.
>>
>>109012223
The problem with Lisp is well documented.
Because of its powerful macros / meta-programming abilities, every programmer ends up re-inventing what is effectively a dialect or even a DSL, and they rarely bother to document it properly (since it's not the fun part). It's a great language for a single programmer, but terrible for working in a team. Especially since Lisp programmers will be above average in skills, and thus opinionated about various things. A project with just 3 Lisp programmers will have 3 styles of code.

Go just looks like Go. To the point where it decides how the code is formatted, etc.
It's the ideal language when working with other developers, because it filters out their eccentricities.

The language is not perfect, but having programmed for two decades in C, C++, Java, C#, Python and a bunch of other languages, I find that in the past 4 years I've worked with Go professionally, I've rarely cursed the language. Sure, it has some limitations and various warts, it's not terribly elegant, but it does not give me any trouble. I don't need to focus on the language, I can focus on whatever problem I'm solving.

It's not a fun language or a cool language, but it just werks.
>>
>>109010816
trvth nvke. programming language bickering is almost as retarded as distro bickering, and the people who engage in it deserve to be called out as the nocoders they are.
>>
>>109012240
>eceleb whiteknighting
He's not gonna hang out with you bro
>>
File: 1769357828363829.jpg (57 KB, 610x810)
57 KB JPG
he's a bideo geym developer now
https://youtu.be/HwmqZTnb7Co
>>
go lost me at the part where
package main
import "fmt"
func main()
{
fmt.Println("Hello world")
}

won't even compile.
>>
>>109010769
checked nice haha
>>
>>109013250
>waaa I can't use my Allman braces

Your code isn't worth compiling
>>
>>109013250
isnt this a good thing tho, it forces you and the niggers who work on the same code with you to have certain coding style instead of fucking doing fuckin 10 meets per day on how we should name variables
>>
>>109013308
>>109013308
>enforcing an inferior indentation style at the compiler level is a good thing
Dilate
https://www.youtube.com/watch?v=ZACOc-NwV0c
>>
>>109012411
I disagree with this oft repeated view on Lisp. I believe the real problem is simply lack of 'batteries' forcing people to reimplement things and the rest is history.
>>
>>109010727
is he jeet with white skin,
>>
>>109013250
>the "hello i learned to code with c#" code smell
>>
>>109010727
>mullet
>mustache
when I go to my barber, what should I tell if I want this look? what is it called?
>>
File: file.png (21 KB, 1260x432)
21 KB PNG
>>109013250
works here
>>
>>109014267
Ever heard of linters and style rules, inbred? Nobody has this problem except go and (You).
>>
>>109013250
i see it now yes allman won't work here which is niggerlicious but i guess being gay today is a modern style for all programming languages.
>>
>>109012240
he's wrong anyway. go codebases all look different because people argue about how to handle concurrency correctly or don't know how to use it.
>>
>>109014476
What is Jai for?
>>
>>109014424
If I say "mullet and mustache", what kind of look would you think about?
>>
>>109010727
The entire region has become an active warzone, good on him for leaving the Golang heights before he got hurt
>>
File: file.png (50 KB, 1549x853)
50 KB PNG
>>109010727
how do you like my c# code sars ?
>>
>>109010727
Go can run natively on iOS, in the sense that you can take the binary created by
go build
and use it as the iOS app executable with no modifications
>>
>>109014476
> there's some other C offshoot I'm probably leaving out but no one uses it
You're right, it's objective C. Afaik macfags use swift these days.
>>
>>109014585
David Hasselhof?
>>
File: 1752687031743924.png (564 KB, 1467x834)
564 KB PNG
he should delete his Go courses from Frontend Masters then, but wait it's making money so he won't
>>
>>109012223
>I'll never understand Go hype.
Strikes a remarkable balance between simple, safe, consistent and productive. It's boring and can be tedious, but it's not hard and you can make steady, reliable progress toward a clear goal, achieve it in a predictable time frame with high confidence that the results will be at least pretty good. Competitive or better with Java for server performance and generally superior to Python and Ruby for CLI performance, with a far smaller and more easily-deployed runtime. It has a clear and straightforward build system, built into the compiler, that everyone uses in the same way. The build artifact is a native binary with minimal dynamic dependencies. Goroutines for lightweight multithreading. It has a "batteries included" approach with numerous practical libraries including high-quality http server, parsers for json, xml, and csv, regexp, and a lot more.

I think there comes a point in many programmer's careers where they realize that explicit, imperative code is the best way to solve a lot of common problems in a performant and long-term maintainable way. They want a reliable build system that doesn't waste their time with complicated bullshit and they want native binaries.

As a side note, this makes Go a very LLM-friendly language. Go constrains the LLM from doing some of the wacky unpredictable things that LLMs tend to do. LLMs also help making up for some of Go's shortcomings, like being so repetitive and verbose.

>I can't imagine a circumstance where Go would be preferable to Common Lisp
Common Lisp is pretty much diametrically opposed to Go, philosophically. Go makes everyone program the same, imperative way. Common Lisp is a "multi-paradigm" language that encourages every programmer to have their own personal customized way of doing almost everything.
>>
>>109014791
Cool story pajeet, tell us more.
>>
>>109011391

just like any fedorov
>>
>>109010727
I am done with PrimeTime (I never started)
this nigga fell off so hard it's surprising people still care to watch his slop
>>
>>109014642
Why would you delete something you already made years ago? Are you retarded? If you wrote a book about how good asians are and then started hating asians would you ask for people to burn their books? How dumb are you?
>>
File: 1641522157452.png (1.22 MB, 1096x960)
1.22 MB PNG
Go was never good.
>>
>>109011694
Reddit post. Next.
>>
>>109015403
>If you wrote a book about how good asians are and then started hating asians would you ask for people to burn their books?
yes, because my mind changed and my old ideas shouldn't exist anymore when I completely changed. how dumb are you?
>>
>>109014803
That's not an Indian post at all.
>>
>>109015916
OK ranjesh. What else is going on in delhi?
>>
>>109012240
>His complaint is that allowing generic methods now opens the door to endless different ways of doing things which is going to kill the main thing that that made Go different and worth using over more complicated languages like Rust or Typescript.
Generics in go are very restricted.
>>
>>109014642
>htmx
What a retard-
>>
>>109012240
>please don't talk about the cancer that's making every platform worse, feed and engage with the cancer instead
no
>>
>>109012240
I’ve been a C/C++ programmer for 30 or 40 years and recently picked up go last year.

I’ve dropped doing anything with C++ or using the latest ridiculous features. My C++ code looks more and more like the C subset. Same with my C# code.

I’m also stuck on go 1.20 for the foreseeable future, which is fine by me. Go has lots of flaws but nothing really bugs me about it to drop it.
Yeah, there will be idiots that re-write 3rd party packages using latest go features that will eventually stop working, but I don’t use (or froze) packages already. Just like idiots rewrite things in rust. Some things never change.
I just use generics to tweak it, like the well-known Must() function, the iif() function, a function to turn a bool that is true into a “1” so i can fucking do math on it, etc.
>>
>>109012240
her pronouns are she/her btw, prime is a transwoman
>>
>>109014791
>>109016874
Oh, and one more point about generics.
There were *many* times I just wanted to run my go code through the C pre-processor. Every day, in fact. So far I have resisted that urge even if it makes my fingers bleed. There is this gross hack in go called “stringer” which is not that much better.
But, generics are, so far, a lot better than some of insane shit I’ve seen (undisciplined, unmanaged, unmonitored) people do with CPP macros.
>>
>>109016874
Damn that's a lifetime of eating shit
>>
>>109016874
rewrites happen because shit like rsync becoming (more) buggy slop is reality.
I don't know why you filthy boomers can't accept your shitcode, is shit.
>>
>>109014791
I am sold.
>>
It's a web language. It's standard library is entirely web primitives. This retard thinks he's a game programmer now. It's the same as every other fucking "dev influencer". "oh I'm a game programmer now." Their opinions are entirely fucking invalid. 99% of actual game devs aren't using Go. 99% of web devs aren't using Jai, or Odin or whateve the fuck he switched too. He doesn't have to be productive or ship software. His "job" is literally reacting to news. His only other game dev experience was AI coding a fucking Lua Love 2D game. Why should we listen to anything he has to say?
>>
>>109010727
>primetroon
Mogged by some NEET dude in Russia
>>
>>109012240
>Complaining about generics
Lmao, what a 0iq tard. The lack of generics was so ass in go as you had to write min/max functions for every fucking type, as well as shit for collecting keys in maps.
>>
>>109010727
who is this 70s porn stache and why should i care?
>>
>>109014642
Purpose of grinding neovim for years if he only is web dev?
>>
>>109010727
He's totally right. It was actually pretty incredible how you could jump into any go project and just read the code with practically no warm up. My first open source contributions were made possible because of that.

If you want "magic" you'd be using C++. That's got plenty of that.
>>
>>109012240
Generics are fantastic for a very specific set of use cases. Outside of that, they just don't show up, or when they do, offer little of value compared to writing distinct code or using interfaces.

The main use cases for them are creating standard "container"-type objects and taking advantage of inbuilt type constraints like comparable in order to perform standard operations on simple types.

Obviously, this lets you deduplicate a lot of code. But the real advantage in my eyes is that any code that interacts with the generic code gets to reference types directly. If you use interfaces like any instead of generics, the consuming code is probably going to have to use a type assertion to convert an interface back into the real type. With generics, you're just using that type the whole way through, which is much more pleasant.

The one thing I really don't like about them is that they use interfaces to define constraints. This prevents using generic value fields on structs to automatically initialize stateful types to known-good zero values.

Example here, with comments: https://go.dev/play/p/TjLAqbpJ3tr

C++ wouldn't have been stopped by this, is all I'm saying.
>>
>>109011314
Fizzbuzzer detected. Lua and other scripting languages, but frequently Lua, are embedded in C and C++ for application scripting and hot configs not used for separate "hard problems". Fuck this board is so retarded.
>>
>>109012411
>The problem with Lisp is well documented.
>Because of its powerful macros / meta-programming abilities, every programmer ends up re-inventing
Utter bullshit.
You're repeating the article called the "lisp curse", written by a webshit that (surprise!!) had almost no experience with Lisp.

>The language is not perfect, but having programmed for two decades in C, C++, Java, C#, Python and a bunch of other languages
All common jeet languages. You've yet to exercise your brain.

> I don't need to focus on the language, I can focus on whatever problem I'm solving.
that's the whole point of using a powerful programming language you chatgpt-querying doofus.
>>
>response
Him and I have never been antiquated. I owe no response.
>>
>>109020951
>antiquated
acquainted even.
>>
>>109014372
Lots of other programming languages lacked battries and they caught on
Lisp is the only language that gives you essentially unlimited freedom
>>
>>109020959
When I say batteries, I mean batteries, not batteries included. The languages that caught on did so because batteries got built for them. They typically got built for them because the language had one killer app that caused batteries to be developed.
Lisp isn't even remotely the only language with unlimited freedom. If anything forth is a better example, and there are plenty others, not to mention you can use whatever language you want to write a dsl in or to generate code (for example in the style of fftw).
>>
>>109020973
>If anything forth is a better example
and the same is true for forth
these languages have been around for ages, they had plenty of time for this to happen, but it didn't
turns out people prefer structure and constraints than unlimited freedom
>>
>>109020979
Wrong.
>>
>>109020986
About what?
>>
>>109019537
cup o tea chad VS evil witchbrew virgin
>>
File: 04.jpg (302 KB, 1024x1024)
302 KB JPG
>>109010727
He does have a point, but I don't think it'll be as bad as he described.
I do like the simplicity of go too. I still havent used much generics in the first place anyways
>>
he took the odin pill
I think I might too
>>
>>109012223
Go is a DSL for web services
>>
File: bLHL75H_VEM-HD.jpg (58 KB, 1280x720)
58 KB JPG
>>109012223
Brother.
I have never used much lisp, but I get why it might be really fucking good.
At some point you just gotta accept that normies do not fucking want lisp.
A lot of normies still hate go for the expressiveness, but you can write up MICROSERVICES so fucking quick, it's really fun.
And it does leverage positives of GC. Just try to do some concurrency in an idiomatic way, then you might realize that go is fucking cool. It just works (tm).
>>
>>109010727
finally public projects using go will become unmaintainable
>>
I still find interfaces very weird to use. I don't know if it's because I did not have a CS background or if it's because it's actually a weird way to define contracts. A bit like duck typing. Also it's just not fun, good for a team but not for pet projects
>>
What does he even produce? Dotfiles?
>>
webdevs aren't programmers
>>
>>109019758
to look cool and impress zoomers and no-coders on youtube
>>
>>109021335
Go'ers were brainwashed by CSP, "P" stands for processes, but they do threads and basically they do threading model concurrency. they should have read CST instead, hehehe
>>
All the jokes and such are cringe and boring but otherwise prime has been pretty good for a programming content creator, actually talking about bloat and retardation and how you can avoid it
>>
>>109021819
>but they do threads and basically they do threading model concurrency.
but it's not threaded. It's multi-tasking, not multi threading. The runtime does the hw stuff
>>
>>109020945
>All common jeet languages. You've yet to exercise your brain.

I've learned Scheme, Eiffel and some domain-specific languages you probably don't even know exist (VHDL, GRAFCET).

But we're talking about commercial languages used in the industry, so meme languages are irrelevant in this discussion.
There is a point in your programming career where you discover some language and think you've reached a level of enlightenment beyond average programmers. But that point is typically when you're a few years into your career. Much later, you will reach a higher level of enlightenment (or not, if you're a retard).

So congratulations on being *that guy* in the office who swears by Clojure, Scala, OCaml, Haskell or some other faggotry he just discovered, while the rest of us are busy doing actual work.
Actually AI is great because now we don't have to rewrite your nonsense manually kek.
>Claude, this faggot finally resigned, can you convert the random bullshit scripts he wrote from Scala to standard Java? kthx
>>
>>109010727
yeah fuck this hyped shit
>>
>>109022164
You've already shown you have never had a job. There was no need to write so much text to double down on that notion. It's OK timmy, one day you'll learn to program. Any minute now!
>>
>>109010727
is he still screaming every 5 seconds in his videos being a loud obnoxious clown?
>>
>>109014599
Why aren't you using the Random.Shared property?
>>
>>109022164
The best thing about clojure is that when he quits, I can simply de-compile that shit back into java and delete the original crap and never look back.

In fact, a good chunk of the stuff i inherited from TATA I just de-compile and check in the de-compiled java right on top of the original java code written by them… written in java. The decompiled code looks cleaner, less lines of code, indented consistently, no comments are nonsensical lies to throw you off. Do likewise gents.
>>
>>109011378
Kys
>>
>>109010727
He said the same thing about heroin right?
>>
>>109011341
>Meme company uses meme language
Wowzers
>>
>>109023378
He's definitely not on heroin
>>
File: 1745612673804922.gif (344 KB, 500x491)
344 KB GIF
Gojeets BTFO
>>
>>109010727
This retard needs to switch to C, unironically. C is just a better version of Go, and he says he values simplicity. He would probably love it.
He has used C++ before but never tried C, judging by his ignorance on C topics whenever it comes up.
Now he's using a shitty language made by a bald person.
>>
File: 1764172483990844.png (109 KB, 400x360)
109 KB PNG
>>109012411
>lisp bad
>>
>>109023622
>using C makes you a badass
No it does not, go back to asking ChatGPT to do your CS50 assignments Pajeet Singh.
>>
>>109010727
Plenty of Go jobs out there. Who is this guy? And who cares?
>>
>>109024145
>Go jobs
Doing what, vibe coding jeetslop?
>>
>>109023333
>Clojure guy finishes work early, takes the afternoon off to bang your girlfriend while you make love to your IDE.
>>
>>109010816
>>109012788
>C# Devs:
>C# is great. I can do everything with it. it can run anywhere and everywhere. I am so glad I don't use one of those balls-sucking languages.

>All Other Devs:
>the programming language doesn't matter. They are all the same. I just use whichever language is best for the task at hand or ask AI to rewrite my code in a different language.
>no, i've never tried C# but it doesn't matter, I am sure it is the same as all the others.
>>
>>109014409
if he'd learned to code with C#
he'd still he coding in C#
>>
why techbros are gay /g/uys?
how the fuck will the knowledge go to the kids if the mofos don't reproduce?

the css guy in the pic should had been fucking the chink researcher that gave him the map distance area, instead of Tyson the nigger
>>
>>109021898
it is multi-treading, but Go'ers dont know when it goes multiple (OS) threads, the last one said runtime decides automatically. threading doesnt need "real" threads, those created by the OS, thats why its called "model", a concept, applied.
>>
>>109025037
They had special funds and special pushes for fags and troons because they wanted to do as much as possible to exterminate autists from the field. They operated on both ends but the dudebro mba retards in the workplace finished the job first.
>>
File: 1764805248294833.gif (709 KB, 220x220)
709 KB GIF
>>109010727
why does he have one of those icky indian turd moustaches it's so ugly
>>
>>109025643
It's what happens to people who use go. The terrible plague of indianism. Highly contagious.
>>
>>109014599
let's see....
no namespace
private variables are neither initialized at declaration nor in the constructor
a function named "Return" does not return anything
Random variable wasn't seeded
instantiates a variable with variable name one character in length
use of this. for no reason at all


absolutely terrible. stick with golang. golang was designed for stupid jeets.
>>
>>109024237
Meme developers never finish early because they spend their lives reinventing basic shit that other languages already provide.

>I'm so productive thanks to <faggotry> feature of that language! Deconstructed unions are such a game changer!
>OK, cool, but why are you writing a SAML implementation from scratch?
>Well, that <cool language> does not provide support for that, and the Jane Street people did not get around to write a library for me yet, so here I am! But it's so cool!
>>
>>109025037
Orange site. Please go back.
>>
>>109013250
Yep, the magic of not using ; has its price.

There are other hidden requirements to make go compile that bothers me like no unused variables.
>>
>>109026703
C programmer that adopted go recently here.
My go code is littered with ; everywhere… sometimes I go back to remove them but usually go doesn’t care. I can’t kick the habbit.
Maybe leaving them in is better… hmmm….
>>
>>109026703
lua doesn't need ; yet allows opening braces on separate lines.
>>
>t. guy that got into netflix via dei and abused meth to do his job, only to get fired
hes done with programming in general, hes a youtube opinion celebrity that shows people how to trannify their nvim setup
>>
>>109010727
No one cares what this FotM, language hopping faggot thinks.
>>
go is only great if you come from python. otherwise it sucks
>>
>>109025100
Aren't go routines just an abstraction around a threadpool?
>>
what the fuck even is go language and why wouldn't i just use C++
>>
>>109027457
Using C++ is a humiliation ritual at this point.
>>
>>109027460
just don't use all the weird shit? Idk I work with older C++ sometimes and i dont mind it

>>109027281
i fucking hate the whitespacing in python, is there python for C people
>>
>>109027466
python is C# for butthurt people who double down on missing out.
>>
File: 1701049289039464.jpg (116 KB, 600x800)
116 KB JPG
I am not touching a language that doesn't allow for allman braces
>>
>>109021393
Probably because they're implicitly implemented and so you don't have any useful codegen for it either. It's really retarded honestly.
>>
Does your language support functional programming? Then it's good.
Else it's shit.
>>
>>109027281
People come to Go from Java also.
>>
>>109028267
every turing complete language supports functional programming
>>
>>109010727
His voice is so annoying.
>>
>>109014791
>generally superior to Python and Ruby for CLI performance

Golang is compiled, dr.Shillmaster5000, you cannot compare quasi-runtime with a fully-fledged runtime. any quasi-runtime is inferior to normie runtime, no comarisons required.

>>109014791
>clear and straightforward build system

it doesnt build on win7, while clang builds. you can literally copy clang to a linux distro and it will run from that directory. Golang is inferior compared to C compiler i mentioned.



[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.