Go is officially a meme language

go is officially a meme language

Other urls found in this thread:

github.com/golang/net/blob/cd69bc3fc700721b709c3a59e16e24c67b58f6ff/http2/gotrack.go#L51
tiobe.com/tiobe-index/
twitter.com/NSFWRedditVideo

that's in master, committed a week ago..

github.com/golang/net/blob/cd69bc3fc700721b709c3a59e16e24c67b58f6ff/http2/gotrack.go#L51

discuss

I don't know what any of that does.
Can you explain it to a C user?

golang developers don't want to expose goroutine id's due to their design philosophy, but they needed it for their http2 package so they cooked this abomination up

it uses the runtime library to write the current stacktrace to a buffer, which it then attempts to parse in order to get the goroutine id

But if you can do that isn't the goroutine id's exposed just in a roundabout way? The fuck is this autism?

they don't want to give you an int since that makes it too easy, so yea

>// Defensive debug-only utility to track that functions run on the
>// goroutine that they're supposed to.
>debug-only
confirmed for stirring shit over literally nothing

the fact that they violate their own design philosophy in the std library means nothing to you? ok

How the fuck is this any different than using reflection in Java, for example?

Reflection is a feature not a hack

java is also a meme language

It's very widely used in large companies, especially ones that don't follow every shitty hipster trend. It's the anti-meme language if anything.

public static main (string args[]) {
poo.in(loo)
}

>no return type
>string
>s
>no class declaration
>class name in lowercase
1/10, see me after class.

Loopost all you want, won't change the fact that Java's here to stay and is far more of a stable technology than hipster shit like Node.
I work at a company that still uses COBOL for their core business systems. Huge businesses, especially financial ones, need technology that will stay in support for 20+ years.

What isn't a meme language you fags? Assembly?

>being this much of a brainlet

The one I use, obviously.

If you're a programmer, the best thing you can do for your career is to not listen to Sup Forums.

Everything useful is a meme. Anything that breaks some autistic minute detail in a language's design philosophy means I should never use it and throw it in the trash.

c is more readable than this lol

I use quite a bit, but java is on the way out ...
It has been bleeding market share for 15 years.
source:
tiobe.com/tiobe-index/

>still #1
>easily has at least 15 years left
>every so often, something like Android comes along that pumps new life into it
My point stands

if you think this is bad, you should see the shit they let into the node.js standard libraries