← Home ← Back to /g/

Thread 107158329

22 posts 8 images /g/
Anonymous No.107158329 [Report] >>107158427 >>107158648 >>107158828 >>107159841 >>107160654 >>107164191
me when i if err != nil {
return err
} AAAAALLLLLL over you
Anonymous No.107158380 [Report] >>107158828 >>107164226
>no! don't make me check the heckin errors!
Anonymous No.107158382 [Report] >>107158828 >>107162100
Man, the post quality is extremely bad today.
Anonymous No.107158427 [Report] >>107158828
>>107158329 (OP)
result = risky_function() rescue default_value
mogged by ruby
Anonymous No.107158648 [Report] >>107158786 >>107158828 >>107160588
>>107158329 (OP)
>no built in slice.filter or slice.map functions
Fucking useless
Anonymous No.107158786 [Report] >>107158806 >>107158828
>>107158648
Just use a for loop lil brah
Anonymous No.107158806 [Report] >>107158817 >>107158828
>>107158786
Shouldn't have to
Anonymous No.107158817 [Report] >>107158828
>>107158806
You are why we can't have nice things.
Anonymous No.107158828 [Report] >>107162132
>>107158329 (OP)
>>107158380
>>107158382
>>107158427
>>107158648
>>107158786
>>107158806
>>107158817
Fucking ready to worship and sing praise, for his big black nigger master. And his nigger master's big black superior dong. Fucking popping up now, please sir. *sniffs popper* Ahhh.... Fuck. This fucking white faggot, craves and lust for your big nigger meat, sir *sniffs popper*. Fuck! All want to do is fucking expose myself. Fucking sing praise, fucking worship, fucking cry out to everyone, what a big fucking white faggot nigger loving white faggot I am. FUCK! I love nigger cock. *Sniffs popper* ahhh... Fuck sir, you are the supreme black nigger master. You fuckin' own this white cracker cunt.
Anonymous No.107159841 [Report]
>>107158329 (OP)
sounds like a loads of boilerplate just to mean "return err iif err"
Anonymous No.107160588 [Report] >>107161115
>>107158648
thank fucking god. That shit abstracts modifying data structures to retardation. Under the hood the compiler uses a for loop, learn to fucking code and write a for loop.
Anonymous No.107160654 [Report] >>107160694
>>107158329 (OP)
faggot, the real way is
if err != nil {
panic(err)
}


Simply put? Don't have errors in production.
Anonymous No.107160694 [Report]
>>107160654
networking code has non critical errors all the time.
Anonymous No.107161115 [Report] >>107161205
>>107160588
Are you for real? These are the most universal operations available in basically any language. It is clear that both would not make any modification to the original list.
Anonymous No.107161139 [Report]
can someone post the gopher chudjak? thanks
Anonymous No.107161205 [Report] >>107164367
>>107161115
>The most universal operation in any language
Bullshit - you just pulled that out of your ass. Just off the top of my head arithmetic, bit shifting, allocating memory, conditionals etc etc. What you are describing as universal is a (shit) wrapper around a for loop or recursion. If you want that sort of shit use a lisp which at least gives you complete control over the iterator used by the fold/filter/reduce etc operation which in practice, means they basically re-implement the full fat for loop.
Anonymous No.107162084 [Report]
Anonymous No.107162100 [Report]
>>107158382
>Man, the post quality is extremely bad today.
it's monday
Anonymous No.107162132 [Report]
>>107158828
best post on /g/ right now
Anonymous No.107164191 [Report]
>>107158329 (OP)
Fr
Anonymous No.107164226 [Report]
>>107158380
>noooo dont use exceptions or Expected<T, E> like normal languages, you must travel back fifty years and return error codes and manually check them after every function call, saar!!! go are wonned bechod!!!!
Anonymous No.107164367 [Report]
>>107161205
Sorry, I forgot about the operations performed by the unemployed