[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
i love go
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 27
Thread images: 1
File: Cbcx15qUcAUChGH.jpg-large.jpg (136 KB, 1024x1024) Image search: [Google]
Cbcx15qUcAUChGH.jpg-large.jpg
136 KB, 1024x1024
i love go
>>
That's nice, retard.
>>
GO IS GOD
>>
>>54778549
./thread
>>
>>54778539
>unused as errors

>remove a bit of code to test things out

HURR DURR UNUSED VARIABLE

no thank you
>>
>>54778539
My condolences
>>
>>54779095
>unused as errors

That's some full retard shit right there.
>>
Go really marks unused variables as errors?
>>
>>54780041
Yes. I didn't believe it either after reading this...

>>54779095

but I did a search and found the complaints and the retarded reasoning behind it.
>>
>>54780041
Unused variables and imports are the bane of compiling time
>>
>>54780139
Off yourself
Comment it out if you are not using it

This is how large code bases decay
>>
>>54780156
You first, shitlord.
>>
>>54780041

Yes. So? It makes perfect sense.
>>
>>54780178
This is what monGOloids actually believe.
>>
>>54780203
What does an unused variable do to your code? Lmao brain dead retard
>>
>>54780219
There isn't a single answer to that question, brain dead retard.
>>
>>54780219
People write outlines of their program which have unused variables until they go back and flesh everything out. I would understand an unused variable warning but an error? Why should I be prevented from compiling to test out my program?
>>
>>54780281
You'll understand when you write more than bank manager apps for your first year c++ class.
>>
>>54778539

>Readable code is reliable code.
>Rob Pike
>>
>>54778539
I tolerated it long enough to ship a a couple projects. It's good enough I guess, but at the end of the day it's nothing more than PHP for retards so yeah, so long and thanks for all the unchecked {}interface.
>>
>>54778539
Me too.

>>54780281
The rationale is that unused variables are indicative of bugs. I've found this to be the case. I'm not particularly thrilled at it being an error but it's not a great hindrance anyway.
>>
>gophags are desperate to justify their shit language

top kek
>>
>>54781348
>"ship a a [sic] couple projects"
>gets the empty interface wrong
>complains about the empty interface
nah
>>
Fuck off already Google
>>
>>54780303
thats not an argument
>>
>>54780281
[coded]
unused, err := os.Open("nig")
unused = unused
[/code]
>>
>>54781348
PHP is the PHP for retards you idiot. And no one forces you to use empty interfaces{} anywhere.
Thread replies: 27
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.