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

ITT: annoying || not fun languages

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 47
Thread images: 9

File: 1501449980991.png (25KB, 300x441px) Image search: [Google]
1501449980991.png
25KB, 300x441px
>>
File: R*st.png (5KB, 144x144px) Image search: [Google]
R*st.png
5KB, 144x144px
Good idea OP I'll start.
>>
File: 1499965176430.png (47KB, 1045x440px) Image search: [Google]
1499965176430.png
47KB, 1045x440px
>>61984379
>>
File: 1500232934506.jpg (100KB, 600x800px) Image search: [Google]
1500232934506.jpg
100KB, 600x800px
>>61984412
>I'll start.
Why didn't you start then? Let me finish your job.
>>
>>61984433
>It's real
lmao
>>
>>61984433
is this c++ primer?
>>
File: tmpbuf.png (223KB, 2302x1294px) Image search: [Google]
tmpbuf.png
223KB, 2302x1294px
>>61984450
Oh my god
>>
File: get_temporary_buffer.png (37KB, 784x720px) Image search: [Google]
get_temporary_buffer.png
37KB, 784x720px
>>61984433
>>61984450
>>61984673
>>
>>61984433
>>61984450
>>61984673
>>61985125
You are brainlets and the author is a retard. This is the standard way to do shit like this.

Function that requires input size but the returned error code doesn't tell you how big? Make a loop and double/half the parameter until it works.. yadda yadda.. there's no way to do it differently.

https://www.gnu.org/software/libc/manual/html_node/Host-Names.html#index-gethostbyname_005fr
>>
>>61984379
I like Golang but damn I wish they'd ditch that fucking stupid logo.
>>
>>61985269
You fucking stupid nigger...
If at least it used dichotomy, the function would have been correct, but it doesn't, so it's not. Come back when you have graduated from your Java bootcamp.
>>
>>61985269
standard =/= good
>>
>>61985269
It's good that you tried to contribute to the discussion. But in the future, try to make sure you understand the problem in question before offering your insights. In this case, you could read over the original image again: >>61984433

And remember, if you aren't sure, it never hurts to ask!
>>
>>61984379
P H P
H H
P H P
>>
>>61984433
So...this is the power of C++...
>>
>>61985325
>>61985360
Kek. Feel free to say in simple English what is wrong [spoiler](actually nothing)[/spoiler] or fuck off
>>
>>61985351
Better than 10,000 buggy lines of platform depended code accessing the file system and parsing /proc and what not to get the parameter right on first call
>>
What is wrong with Golang?
Hard mode:
>sjw is not an argument
>bot net is not an argument
>>
Java
>>
>>61985608
>if you ignore the flaws it's flawless
>>
File: jsfatigue.png (186KB, 512x450px) Image search: [Google]
jsfatigue.png
186KB, 512x450px
>>61984379
fucking javascript and its 50 thousand frameworks a month
>>
>>61985608
Not a serious problem but the binaries it produces are fuckhuge
>>
>>61985647
Those are not flaws with it though, just the people around it. Does it have a bad syntax system? Poor memory performance?
>>
>>61985608
>strong static typing without generics

>>61985665
They're fat binaries, aren't they?
>>
>>61985661
you dont have to use those frameworks fag
>>
>>61985700
you don't have to use javascript with framework x for every fucking thing just because you're too lazy to learn proper languages
>>
>>61985661
do people still use bower?

god i hope not.
>>
>>61984379
Javascript

>>61985608
GC
>>
>>61985737
https://www.youtube.com/watch?v=b2F-DItXtZs&t=36s
>>
>>61985826
>GC
>bad

k kid
>>
>>61985770
Depreciated.
But I still think some like polymer use it.
>>
>>61985700
good luck telling this on a job interview
>>
>>61985826
why the fuck do you want a language without GC in 2017? even embedded systems use it now
>>
>>61985861
Good luck getting an English speaking job.
>>
>>61985889
>even embedded systems use it now
how horrifying
>>
>>61985608
no generics, interface nil bullshit.

brainlet language though really. that's the real reason.

>>61985911
>having memory management that generally does a better job of actually making sure shit gets freed and allocated correctly compared to stupid humans is bad.
>>
>>61985911
nobody cares about your autistic manual memory management orgasm, it's all about money and development speed
>>
>>61985661
>not using elm
You won't make it buddy
>>
>>61985608
Bad support for abstraction. See: lack of generics, "if err != nil { return err; }"
>>
>>61985608
I actually use Go at work so I can answer.

>No generics, which means you lose type safety for common things like using non-builtin collections. And the language designers keep coming up with bullshit excuses for why they don't add it to the language.

>No collections API. No filter(), map(), reduce(), firstOrDefault() etc. You gotta write plain for loops instead. Or roll your own, but again no generics so either write specialized ones for each type or use interface{} runtime type assertions.

>Returning nil might not actually be nil when you check it: https://play.golang.org/p/obzPy1bwhY

>No fine visibility scoping. Everything in PascalCase is public, camelCase is package-level. There is no other. So if you're working on a package, you need to use discipline to know when you shouldn't touch a structs field. IDE autocompletion can become unruly as lines of code grows.

>No immutability (except for consts which are limited). Go is supposed to use message-passing for concurrency so I can understand this somewhat.

>No enums. There's a different pattern which achieves the same thing, but they're just public const's dumped into's the package scope.

>Package management is shit. There's 3rd party solutions, but that's not good enough. They seem to be fixing it with godep.
>>
File: 1502405105763.png (8KB, 615x425px) Image search: [Google]
1502405105763.png
8KB, 615x425px
>>
>>61986047
Rust doesn't solve this with generics either. They have a macro and a compiler builtin.
>>
>>61985889
>even embedded systems use it now
No, they don't.
>>
File: 2352313.jpg (100KB, 658x439px) Image search: [Google]
2352313.jpg
100KB, 658x439px
>>
>>61986310
why everyone hates python?
>>
>>61986045
>yet another transpiler shit lang

I thought GWT pretty much was all the proof to you retards that this shit does not work and is not a viable long term solution.

stop being a fucking cuck and just use JS or jerk yourself off to your shitty transpiler aids that will be deprecated when ECMAwhatever releases and adds all the useful bullshit form your meme language in js and no one uses it ever again.
>>
>>61986638
because it's mediocre made only useful due to large user base and the various C bindings written that make it not slow.
Thread posts: 47
Thread images: 9


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.