You have 10 seconds to explain why you aren't using Go for your next project.
You have 10 seconds to explain why you aren't using Go for your next project
i'm not
Because it's a language that should "Go" in the trash.
it doesn't have any library/framework remotely as productive as PyTorch
I am..because its my job.
>we took epoll and made it language lmao
Because I use C++.
With the time I save using C++ to do generic programming I go troll Go threads on Jow Forums
But I'm making a small android game using Go's Ebiten library, it's pretty good.
Not close enough to a true systems language.
I still use it a lot for other projects though, it's a very convenient language and generally fast enough, especially with how easily it threads.
With the time you spend metatemplating your templates you could've written the entire thing in audited, secure raw C code.
Go doesn't have reliable native GUI framework libraries
Go doesn't have that much support for embedded systems stuff.
If err != nil
{ Return "nice catch bro"; }
Everywhere.
>direct error handling is bad
>exceptions are good
If you don't want to err != nil then just _
Because there is no good discord library for go in my opinion
I like type safety and since Go doesn't have generics, type safe go stops at containers.
Also arrays and slices are hideously inconvenient to use, forcing you to remember shitty oneliners instead of just providing ready to use functions or operators.
How would I time myself for this post? Would it be 10 seconds after you posted? 10 seconds from when I saw it? 10 seconds from the start of my typing? How would I time it? Would I need a partner to time me? OP your thread sucks and I hope you die with your dads cock in your hands.
It's not fun, nor is it the best at anything.
what kind of projects should I even make with Go?
im a webdev who wants to learn a proper language but no idea what to make
When is Go2 going to be released?
My new project need generics
Golang is a work of ugliness and retardedness, it just works tho especially if you're a noob developer, but if you're really an experienced programmer who dealt with patterns, functional programming, code organization, dependency mangement, etc... you can easily understand how mediocre this language is
err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil err != nil
Because like productive people I use Erlang.
look at rust's error handling
i use go at work and i want to fucking kill myself every time i write `if err != nil`
can't you just do if !err return;?
I am forced to for my job and I hate it.
Then you lose the error.
realistically you should not be making dangerous calls all over your program just as you don't have exception handlers in every function.
Surely it would make sense to have helper functions to avoid all the error checking in your business logic. [your code] -> [helper function] -> [failure probable API call]
Very based
because I'm using c# (not on windows btw)
>need generics
brainlet
Because I need:
* zero-cost abstractions
* move semantics
* guaranteed memory safety
* threads without data races
* trait-based generics
* pattern matching
* type inference
* minimal runtime
* efficient C bindings
you can just run it in a container
>* guaranteed memory safety
>implying any language but asm actually does this
camelCase
WTFHappenedHerecase (Println, why not PrintLn)
And because I can just use Erlang or something else instead.
If it was my job then I might learn it but I won't learn go for hobby projects at the very least because I don't want to have to spend all day typing camelCase.
Yes, I'm "this autistic" about naming schemes, go fuck yourself, camelCase alongside OOP have honestly been the two biggest fuck-ups in recent programming history and have made 90% of programming into misery.
another C++ tears thread, theyre so afraid of Go as it will replace C++ in certain uses cases and waaaaah about how no one wants to use their shitty templates
Because I refuse to use stiff made by G*ogle.
t. Illiterate retard.
And what is this "brilliant language"?
You mean the time you spent waiting for your C++ templates to compile.
Rob Pike literally designed Go while waiting for C++ to compile.
>templates waste time
>copypasting c code doesn't
Wew.
A majority of languages are memory safe.
>mkdir nodeproject
>cd nodeproject
>npm init -y
>touch index.js
>subl index.js (sublime)
>???
>node index.js
why would I use anything else?
Because they decided on rust right before I got there
Go is designed to meet the needs of a massive corporation, which I am not.
fuck off web hipster-fag
based and Rustpilled
Why do you use a GUI for embedded?
based
dumb nodev frogposter
Because I'm not using meme languages forced by Google shills