[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]

/dpt/ - Daily Programming Thread

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: 323
Thread images: 34

File: dlang chan.png (319KB, 470x545px) Image search: [Google]
dlang chan.png
319KB, 470x545px
Dead language edition

What are you working on, /g/?

Previous thread: >>60404110
>>
is it loon-ix or lie-nix?
>>
C++ is the Alienware of programming languages
>>
OOP is trash.
>>
Rust is the lian-li of programming languages.
>>
File: baka.png (510KB, 782x1238px) Image search: [Google]
baka.png
510KB, 782x1238px
OOP niggers out
>>
D fag here.

I forgot to git commit before upgrading my hardware :^(
>>
>>60415320
Lisp is the most powerful programming language.
>>
Oh I get it


Python and Javascript are excellent programming languages
>>
Like first you play it off because you are used to windows and you have no interest in Mac OS then you see a nice feminine penis on a girl (male) and you are like "w-well a taste doesn't make me REALLY gay s-so..." and before you know it your whole house is Linux and you aren't invited to Pastor Terry's barbeques anymore.
>>
>>60415370
So basically the best in his own class?

>>60415394
Not really, it can get in line with any other, otherwise better language with sufficient metaprogramming facilities.
>>
Has anyone here tried Crystal? I just found the website and it looks like a reasonably nice language, but it's pretty far down my "to try" list atm.
>>
60415504
>best
(you)
>>
i fucking hate anime
>>
>you will never be as autistic as failed-normies trying to shit up a place they dont belong
>>
>>60415579
ok reddit
>>60415605
*normalfags
>>
Dunno
>>
File: umaruic.webm (1MB, 640x360px) Image search: [Google]
umaruic.webm
1MB, 640x360px
/dpt/-chan, daisuki~

>>60415531
I tried and found a few bugs in the type system. Was some time ago.

>>60415413
Yes.

>>60415394
Lisp being a programmable programming language, it's everything you want it to be.

>>60415375
Objects are the most powerful abstraction technique.

>>60415320
Thank you for using an anime image.
>>
File: sue1 023fff.jpg (71KB, 430x282px) Image search: [Google]
sue1 023fff.jpg
71KB, 430x282px
I was trying my hand at SICP'ing awhile back and heard that MIT switched to Python in its introductory CS courses(not sure about what happened to the SICP course itself).

Is
A)That just a rumor
B)it that MIT has gotten dumber/lowered its standards
C)Python really just the language to learn(IE MIT decided Python is the new Lisp)

Which?
>>
>>60415646
how did such a cute anime go so wrong?
>>
>>60415667
a, b
>>
>>60415646
>Objects are the most powerful abstraction technique.
>>
>>60415667
they switched in 2008, if i recall correctly. the reason is to reduce cost and difficulty.
>>
File: c-sharp.png (5KB, 375x375px) Image search: [Google]
c-sharp.png
5KB, 375x375px
>>60415320
/dpt/, what's the shortest way in c# to compare 3 string variables if they are all non matching without writing 9 statements?
>>
>>60415702
>>60415667
misread your a, no they definitely did switch to python. doesn't mean you should too though, for gods sake don't go through sicp in python though
>>
File: 89209.jpg (297KB, 1200x614px) Image search: [Google]
89209.jpg
297KB, 1200x614px
>he uses ((((((((((lisp))))))))))))
>he watches chinese cartoon for pedos to escape reality
if i ever stumble across any one of you fags at the office, i am gonna end you i swear
>>
isn't it beautiful when you spend a few hours designing your code before working on it, and then everything works pretty much on the first try?
much better than the coding as you go headaches
>>
>>60415823
t. manlet
>>
60415823
Heres a normie general for you to shitpost, lad
>>>/int/brit
>>
>>60415844
Yeah it's a great feeling.
>>
>>6041576
if(A != B && B != C && C != A)
>>
>0.3426059320181566 / 35010 yields a positive number >1
why?
>>
>>60415891
because you didn't read the documentation
>>
>>60415891
CL-USER> (/ 0.3426059320181566 35010)
9.785945e-6
>>
>>60415921
>(((CL)))
Stopped reading right there.
>>
>>60415891
Because you're a baka who doesn't understand e notation?
>>
>>60415763
var mystrArry = new string[] { "one", "two", "three" };

var strCompareEnumerable = mystrArry.SelectMany(str => mystrArry.Select(strInner => new { Val1=str, Val2=strInner, AreEqual=str==strInner}));
>>
9.78594e-06
desu
>>
>>60415971
I would honestly prefer just doing the if statements
>>
File: 1460335482845.png (325KB, 640x360px) Image search: [Google]
1460335482845.png
325KB, 640x360px
>>60415677
It didn't!
>>
>>60415763
>>60415971

Let me fix that.

var strArry = new string[] {"one", "two", "three"};
var strCompareEnumerable = strArry.SelectMany((str,i) => strArry.Select( (istr,c) => new { Val1=str, Val2=istr, Index1 = i, Index2 = c, AreEqual=str==istr })).Where(x=> x.Index1!=x.Index2);

This eliminates comparing the same string.
>>
File: tumblr_inline_myxhb8ztqF1rc42co.png (276KB, 500x380px) Image search: [Google]
tumblr_inline_myxhb8ztqF1rc42co.png
276KB, 500x380px
I'm on my first month of programming on college
what are some good activities/projects online to do and learn?
>>
File: powerofrust.png (158KB, 1235x813px) Image search: [Google]
powerofrust.png
158KB, 1235x813px
>>60415763
I don't know C# at all but this should works
/*
* returns 0 if a = b = c. otherwise, returns a non zero value.
*/

int different(String a, String b, String c)
{
int ha = a.GetHashCode();
int hb = b.GetHashCode();
int hc = c.GetHashCode();

return (ha ^ hb) | (ha ^ hc) | (hb ^ hc);
}
>>
>>60416081
What is that fucking abomination?
Kill it
>>
>>60416085
First month might be a bit early but here's a list of random stuff you can work on: https://github.com/karan/Projects
>>
>>60416092
>>60416084
>>60415971
Thank you anons
>>
>>60416149
var strArry = new string[] {"one", "two", "three"};
var boolArry = new bool[3, 3];
for (int i = 0; i < strArry.Length; i++)
{
for (int c = 0; c < strArry.Length; c++)
{
boolArry[i, c] = strArry[i] == strArry[c];
}
}

Ones last one.
>>
>>60416167
much longer than a one liner, but thank you too anon
>>
>>60416092
I love F# but I only got to write one project in it, plus it's managed. What books do you recommend for learning Rust?
>>
>>60416191
You're welcome

These were me:
>>60416167
>>60416084
>>60415971
>>
>>60416203
i don't program in rust. sorry.
>>
File: summer-dpt.gif (57KB, 360x250px) Image search: [Google]
summer-dpt.gif
57KB, 360x250px
>>60416094
>fucking abomination
you misspell anime
killing it is good idea though
>been away from dpt for two months, come back
>no pointer fizzbuzz
>no C vs Rust debate
>boring irrelevant and ugly chinese cartoon everywhere
>then i realize it is almost summer
eбaть вac нeкoмy и мнe нeкoгдa
>>
wonder what jew magic mozilla is harnessing to get so many people to fall for the rust meme
>>
File: devenv_2017-05-16_01-37-00.png (4KB, 374x82px) Image search: [Google]
devenv_2017-05-16_01-37-00.png
4KB, 374x82px
>>60415763
>>
>>60415964
never learned it, i thought the e was generally capitalised though
>>
>>60416294
fuck I feel retarded now, thank you
>>
Im going to be beginning my last semester of college for cs in the fall and i have learned zero implementation. Like I can make a program do cool shit but it only prints to console and there isnt anything tangible to a person outside of computer science (not counting java swing). I also only know java

should i be worried
>>
File: devenv_2017-05-16_01-40-06.png (5KB, 603x89px) Image search: [Google]
devenv_2017-05-16_01-40-06.png
5KB, 603x89px
>>60416294
In a method form that supports a variable amount.
>>
>>60416329

I only know Java and Python, I feel ya.
>>
>>60416401
well thats one more thing that you know and i dont
>>
>>60416329
you should be doing personal projects
if you haven't started any, do so now
>>
>>60416258
Who are you quoting?
>>
whats a faster way to do

std::powf(value,2.0f/3.0f)

trying to speed up doing a 2/3-rd power
>>
>>60417247
while loop and keep multiplying by 10 is much faster than a floating point power function on any architecture
>>
You have 10 seconds to name a non-shit language for back-end development.
>>
Is rust a meme language?
>>
>>60417393
Pretty much
A mozilla power move
>>
>>60417391
>do my job for me

suck my dick
>>
Uhh guys I have to build a website for the NHS and I don't know anything about building websites.

What the fuck am I supposed to do?
>>
>>60417415
not apply for jobs you cant do
>>
>>60417411

It looks pretty memey with the whole declaring variables with "let"
>>
>>60417437

Wait what the fuck you aren't allowed to change variables in rust without adding a special flag to it.

WHAT KIND OF MEME IS THIS?
>>
Rust is the future of systems programming and the path of enlightenment
>>
>There are other good reasons to avoid mutable state when possible, but they’re out of the scope of this guide. In general, you can often avoid explicit mutation, and so it is preferable in Rust. That said, sometimes, mutation is what you need, so it’s not forbidden.

>Changing variables isn't something you need to do
>>
>>60417339
Fucking retard.
Read the posts you respond to before you respond to them
>>
>>60417413
it's just
>PHP a shite
>Go a shite
>Ruby a shite
>JS a shite

What else? Perl? Should I fall for JVM and get me some Scala?
>>
>>60417481
It's right
>>
>>60417538
Java or C# ?
>>
>>60417553

I can't think of any program that would consist of only constants
>>
File: mfp.jpg (169KB, 1838x428px) Image search: [Google]
mfp.jpg
169KB, 1838x428px
>>60417481
Immutability is believed to be the saviour of all programming these days. It's hard too grok for imperative bros, fp bros understand that amirite fellas *wink*
>>
>>60417594
java
>>
>>60417594

Java
>>
>>60417538
Why not python?
>>
>>60417644
>>60417647
Wasn't a question, but I find it interesting that you two responded with Java, seeing as most posters prefer C# and condemn Java with a passion.
>>
File: c propaganda.jpg (2MB, 2000x2610px) Image search: [Google]
c propaganda.jpg
2MB, 2000x2610px
>>60417672

>Slow
>Meme language

Hmm I wonder why
>>
>>60417702
>Meme
>plebbit spacing
>>>/v/
>>
>>60417688

Java is the best language by far. It's fast enough to be usable for pretty much anything, it's so popular that there are endless tools and libraries and it doesn't require autism.

And it has the perfect syntax with no memery.
>>
File: THINKING EMOJI.png (53KB, 256x256px) Image search: [Google]
THINKING EMOJI.png
53KB, 256x256px
>>60417719

>Hurr durr redditors are shitting up the site HURR DURR I'M SO SMART SO I'LL SHIT UP THE SITE

hmm
>>
>>60417393
>meme
>>>/v/

>>60417458
>MEME
>>>/v/

>>60417437
>memey
I don't want reddit stink nearby. Fuck off.

>>60417739
>Hurr durr
>THINKING EMOJI.png
If you're going to act like a redditor, go to fucking reddit.
>>
>>60417520
Wrong thread?
>>
>>60417753

You realise the whole language being a meme comes from here right? You fucking newfag lol I bet you saw me say it on reddit and thought it was from there.

You can taste the summer in the air.
>>
>>60417776
>meme
>plebbit spaces
Back to your subreddit.
>>>/v/
>>
>>60417616
>I can't think
I know.
>>
>>60417702
Calling it meme is the meme. How Is it slow? I'm used to process huge datasets with it.
>>
>>60417813

Come on then give us an example since you're clearly the smartest person where
>>
>>60417827
>meme is the meme
Go be retarded somewhere else, like at reddit.
>>
>>60417776
>meem
>>>/b/
>>
>>60417843
*sighs*
>>
File: slQydAMv.png (55KB, 976x976px) Image search: [Google]
slQydAMv.png
55KB, 976x976px
What is /g/'s opinion of CoffeeScript? I'm thinking of picking up a different way of working with JS and this looks like the best bet. I really like the functional aspects of it.

garbage or great?
>>
>>60417827

If IO is the bottleneck then you don't notice it but everything is much slower because it has to interpret things and work out variable types and everything all live as it's going
>>
File: g programming.png (74KB, 661x716px) Image search: [Google]
g programming.png
74KB, 661x716px
>>
>>60417879
Not programming. Ask on >>>/g/wdg/
>>
>>60417879
>I really like the functional aspects of it.
web """dev""" trash is neither functional, nor functional.
>>
>>60417879

F R O N T E N D D E V E L O P E R
>>
how can I run a program in a modern processor without an operating system?
>>
>>60417879
webdevs get wet about typescript these days
oh and something like elm/purescript for more functional shit
>>
File: 1494830017479.png (129KB, 314x278px) Image search: [Google]
1494830017479.png
129KB, 314x278px
I think that any language that fits into the "C, but.." category is doomed to fail.
>>
>>60417942
>>60417937
>>60417913

> WEB DEV REEEEEEEEE

jesus fuck didn't expect such a backlash

I'll go away now. Love you guys.
>>
>>60417688
no one here _prefers_ C-cage though. rather they were forced to use it at one point and now are having stockholm syndrome and try to meme others into using it, because its lonely at the bottom. i choose java to complement my js/python/c/cpp mostly because of android
>>
>>60417967
>spaces after '>'
>plebbit spacing
>incorrect use of "REEEEEEEEE"
If your post indicates that you're a filthy redditor, I'm going to tell you to fuck off.
>>
>>60417961
any language that has the letter c in it's name is doomed
c, c++, c#, common lisp, javascript, css, chinese
>>
>>60417885
Fair point, it's interpreted, not compiled. But then if one can process tons of data getting the job easily and quickly done how is it a bad choice?
>>
Is it a webdev thing to get pretentious about coffee and the color scheme of your editor?
>>
>>60417981
But one of the best languages has a 'c' in its name. Two even.
>>
>>60417981
This
>>
>wannacry devs STILL make money
lmao
>>
>>60418000
>x is interpreted, not compiled
>x is compiled, not interpreted
>>>/g/wdg/
>>
File: 1454990840383.gif (474KB, 500x383px) Image search: [Google]
1454990840383.gif
474KB, 500x383px
>tfw have had Qt Creator open for 4 hours
>tfw haven't come up with a single project idea
>>
>>60418001
nah
It's a common procrastination technique
In my experience vim boys tend to fall into it a lot
>>
>>60418032
>>60418038
>>60418040
Source? I can't find it.
>>
>>60417978
>>>/r/ebbit
>>
>>60418001
Ricing is for everybody (with no life or just trying to get a comfy workspace, I supose)

But I agree with the coffee thing.
>>
i spend couple hours yesterday trying to mask html5 video with inline svg logo and make it all responsive. no success. reading sedgewick algo books did not help. kill me
>>
>>60418000

I'm assuming you're doing a meme job or only a meme programmer who does it on the side because it just wouldn't scale to any large system
>>
>>60418057
Why do you keep denying being a redditor? Fuck off.
>>
>>60418055
read this sentence.
>>
>>60418068
>meme
>meme
>>>/v/
>>
>>60418072
Why do you keep denying being a redditor? Fuck off.
>>
>>60418089

Why do you keep denying being a redditor? Fuck off.
>>
>>60418090
>>60418072
>he complains on mainstream forum about other mainstream forum being mainstream
wew lad. you are the normiest of normies
>>
>>60418135
>"""normie"""
Now there is no doubt that you are indeed a plebbitor. Fuck off.
>>>/v/
>>
Gatekeeper fag, why do you keep forcing your meme with whomst and reddit/v? When you are not here literally nobody does this.
>>
>>60418068
Fortunately you are very very wrong. Also what's a meme job?
>>
>>60418180
>""Gatekeeper fag""
>meme
I want to see the reasoning why you're not from reddit, which you obviously are. Piss off already.
>>
Anybody done the switch from a text editor to vim? Did your productivity actually improve?
>>
>>60418205
sublime text masterrace.
>>
>>60418197

You're acting like this is some sort of secret club when in reality it's one of the most visited sites on the internet
>>
>>60418218
>""secret club""
Piss off. I don't associate with your kind.
>>
>>60418165
4chin is the new reddit, you normie scum.
now fuck off to >>>/g/wdg
>>
>>60418212

The aesthetic is definitely hard to give up
its just SO FUCKING GOOD looking
But all the best programmers I know are using vim
>>
>>60418228
>>>/r/abbit
>>
File: 1391465830553.png (103KB, 500x336px) Image search: [Google]
1391465830553.png
103KB, 500x336px
>people actually using Python or java
>>
>>60418205
vim is a meme.
any IDE now has vim-seque options without the trudge of VIM.
>>
>>60418229
>""normie""
So you're admitting that you're a redditor then.
>>60418242
Piss off already.
>>60418245
>meme
I don't want reddit stink nearby. Fuck off.
>>
>>60418234
you use the best tool for the job

you're not going to use vim because you saw other people use it.


you use what you feel comfortable with


>inb4 i just want to fit in
>>
>>60418180
Thank you for that. I'm the python dude and was out /g/ for like 3~4 years. Back then python was indeed a meme on dpt and everyone kept telling everybody to gtfo to reddit or /v/

Anyway, if there's just one autistic here doing this I may stick around for some long.
>>
Recommend me some good computational geometry books /dpt/ please
>>
>>60418255
piss off reddit
>>
>>60418255
>spend hours googling around for basic rc stuff
>spend another few hours figuring out commands for new buffers, etc
>spend another few hours setting up your language-specific things
>stumble through the bindings and editor modes like youre learning to type again
>bloat your rc and reset it atleast 9 times a week

Vim is trash and i can get the power in other things without the drawbacks.
>>
>>60418265
>you use the best tool for the job
>you use what you feel comfortable with
This is a contradiction.
>>
>>60418309
I don't care about vim. I just don't want your reddit kind around. Piss off.
>>
>>60418255
>So you're admitting that you're a redditor then
ok you got me lad. good one there faem. i must admit a course on logic would be beneficial for you. now fuck off, you dickcheese eating normie scum
>>
>>60418328
i already told to go back to plebbit , red**tor
>>
>>60418332
>course on logic
What kind of logic?
>""normie""
Only an obvious redditor would say it this way. Fuck off back to your subreddit.
>>
>>60418284
computational geometry is not programming
off to >>>/g/wdg boi
>>
>>60418372
>computational geometry is not programming
I don't want reddit stink nearby. Piss off.
>>>/v/
>>
alright lad, its a nice gimmick and all but can you stop now.
>>
File: 3.jpg (1B, 486x500px)
3.jpg
1B, 486x500px
>every other post is this autismal fuck
>>
Is redditry decidable?
>>
Jesus, this autistic thinks he's a fucking router to other boards and websites.

Iptablefag, stop it already. we got it, let's get back to programming.
>>
>>60418364
>>60418391
fuckoff normie scum, you are not welcome here, you should stick with normies like you. it means fuck off
>>
File: changing the face of coding.jpg (299KB, 1400x814px) Image search: [Google]
changing the face of coding.jpg
299KB, 1400x814px
>>
>>60418437
>""normie""
Only a subhuman redditor would say this.
>>>/v/
>>
I have a meeting at 8:30am and it's almost 2am

The question is, do I go to sleep?
>>
>>60418454
>chicano studies
kek
>>
>>60418464
and this, fellas, is why you should use condoms. so you wouldn't give birth to normies that shit up my comfy /dpt/ threads
>>
>>60418509
>""normies""
>comfy
>>>/t/witter
>>>/v/
>>
File: license.jpg (435KB, 1200x1500px) Image search: [Google]
license.jpg
435KB, 1200x1500px
>>
>>60418494
Bonglad?
>>
>>60418535
nah, New zeland
>>
>>60418509
>3DPD
>>>/b/
>>
>>60418556
But it's midday in NZ right now.
>>
>>60418528
why you posting urls normie? don't you have anything to say? is this it? is this how you gonna spend your normie life? wew lad, better fuck off you normie scum
>>
>>60418556

Oi what the fuck don't reply to them as me you fucking pleeb
>>
Aw fuck it. This router is out of control.

>>>/lain/ for me. I'm done.
>>
>>60418583
>why you posting
Oh, so you're non-white. That explains a lot.
>""normie""
>wew "lad"
>>>/v/
>>
>>60418584
Are you a bonglad, lad?
>>
>>60418556
>>60418576
>>60418584
Do you also use "mate"?
>>
>>60418608
wew lad, you totally got me normie. reely reely. good point, son. also nice contribution to programming thread. really normie of you. now fuck off
>>
>>60418653
I'm sure he's a bot and you're ddosing it now.
>>
>>60418677
good point, son. totally got me
>>
>>60418629

Oui
>>
>>60418653
>wew lad
>normie
>>>/v/
>also nice contribution to programming thread
Learn to speak English before coming here, retard.
>>
>>60418677
>bot
>passing captcha

hmm
>>
File: programming humor.jpg (51KB, 640x474px) Image search: [Google]
programming humor.jpg
51KB, 640x474px
>>
>>60418696
What do you think you're doing playing silly buggers at this time of night, lad? Get thee in bed.
>>
File: dolphin.png (68KB, 629x541px) Image search: [Google]
dolphin.png
68KB, 629x541px
>>60418715

>You can pay shekels to bypass the captcha
>>
>>60418711
engrlish is like cursing to me aniwais, i will disrespect and abuse it as i please. now go back to normieland and post your links there
>>
>>60418715
Let's pretend this is a /dpt/, shall we?

https://east-ee.com/2017/02/28/rebreakcaptcha-breaking-googles-recaptcha-v2-using-google/
>>
What CS class (if any) teaches you about inter-process communication?
>>
>>60418773
Operating Systems
>>
>>60418757
>""normieland""
>>>/v/
>disrespect
You can't disrespect a language. You can prove beyond any doubt that you're a retard though.
>>
File: dlang_chan.jpg (139KB, 470x545px) Image search: [Google]
dlang_chan.jpg
139KB, 470x545px
Threadly reminder that dlang-chan is not dead; she's going to have her GC tumor removed (eventually); she's not for bully; and she's super duper cute and easy to prototype in! Say something nice about her, /dpt/!
>>
>>60418792
you seem like a knowlejewable normie. tell more what anon can and can't do. or save the trouble and fuckoff back to normieland you normie scum
>>
>>60415320
Why haven't you learned Go yet?
These people think that Go is better, in some way at least, to other programming langs: https://github.com/golang/go/wiki/FromXToGo

Start here:
https://tour.golang.org
https://www.golang-book.com
>>
>>60418811
Fuck you D is shit
>>
>>60418824

Because it's probably a meme language
>>
>>60418811
Stop talking like a faggot
>>
File: C9Kso0SWAAAsmb0.jpg:large.jpg (133KB, 1394x884px) Image search: [Google]
C9Kso0SWAAAsmb0.jpg:large.jpg
133KB, 1394x884px
>>60418824
Because it's garbage designed for idiots. We've been over this countless times already.
>>
>>60418837
>meme
>>>/v/
>>
>>60418811
Did you not see the OP?
>>
>>60418837
>probably
so you won't even try learning an easy language that would take you a few hours or days at most

>>60418865
yeah, we've been over this, you are the idiot here. keep trying anyway
>>
>>60418824
Rob, just get some decent meta-programming and Go will stop being as big a joke.
>>
>>60418883
>you're the idiot because you want a language that has parametric polymorphism!
>>
>>60418883
And it would take me seconds to cut my dick off with a butcher's knife, but it doesn't mean I should do it or that I will get anything useful out of it.
>>
I'm developing a modula 2 program and I'm thinking more and more about how different the world of cs would have been if modula 2 and it's clean and accurate syntax would have become the paradigm for OOP instead of that shitty bloated Java
>>
>>60418934
In both cases you won't use it anyways.
>>
>>60418934
how many seconds?
>>
>>60418979
What are you, a monk?

>>60418983
Probably 20 at most.
>>
>>60418890
>>60418912
>>60418934
lots of people and companies think Go is far more productive and uncomplicated than other langs, plus some think, and say so in the articles linked in that github wiki, that you don't even really need generics in Go
you, OTOH, don't even give valid arguments, other than "Go is bad!11"

of course, I'm sure the elite programmers in /dpt/ produce a lot of useful software...
>>
>>60418968
Anything OO is by default shit, so your post holds no weight.
>>
#60419027
>unironic GOogle shills
Go was made by retards, for retards, to save google money, it will never be relevant outside of there
>>
>>60419027
I'm sure Go is the least bad choice for companies that only hire morons.
>>
>>60419014
you could probably do it faster with a heavy axe.
we only live once - try it. you would probably get a better dick once we reach singularity, and until then having no dick will help you stay focused on doing meaningful work
>>
>>60418883
judging from what I see it's only worth to grasp the basic logic concepts to get started into programming without being overwhelmed with complex functions but you'd still have to move to a different language to get into serious business
>>
>>60418883
There's no Go library that I want to use, that isn't just a wrapper for a library written in a less terrible language.
>>
>>60419075
I'm including the time to get up, walk to the kitchen and find the knife. Going out to the garage to get my axe would take longer overall.
>>
>>60419107
I dont use go but why would you care about implementation details of any library you use?
>>
>>60419076
have you tried teaching Go to a programming noob?
hint: they won't understand shit, and that's not even considering channels / concurrency
Go is not really designed for noobs (sadly)
>>
>>60419140
I guess it's designed for nobody, then. A pointless language that nevertheless has had countless man-hours of wasted effort poured into it.

Who am I kidding, it's designed to feed Pike's ego.
>>
>lookup go complaints
>most popular ones
>"no OO"
>"lack of syntactic sugar"
>"stuck in 70s"
>"no generics"
>"has pointers"
looks like literal shit languages hipsters complaining about actual good things lmao

wtf I like go now and unironically gonna try it
>>
>>60419170
go is designed by google to produce pajeets fast because at one point they didn't find enough cheap java pajeets
>>
>>60419224
Go is unironically made by Google and nothing good is made by Google.
>>
>>60419254
but what about Google Wave?
>>
>>60419170
so pointless, that I'm using it in my openwrt router, because it's almost as fast as C, while I don't have to care about shitty C libs, or any other bullshit

anyway, keep hating it. more money for me. retard.
>>
>>60419254
google.com though
>>
>>60419283
Nothing that comes out of Google is good.
>>
>>60419295
>>60419254
>>
>>60419308
shitpost all you want, there is literally no search engine that tops google.
All others run through google.
also maps.
those are the only two good things i can think of
>>
>>60419301
i call it Marissa Theory
>>
>>60419329
Except their search engine is what fuels the machine known as Google. Their search engine is good but it is always what lets them keep a near monopoly on the internet. Adsense is literal cancer as well.
>>
>>60419345
>stop using static typing.
That would be impossible.
>>
>>60419353
quality =/= morality, you melon
>>
>>60419345
Maybe it's because he's not as dumb as you. Seriously, just stop programming.
>>
>asm is #8 in may 2017 on tiobe, higher than php
wut
>>
>>60419345

Eh, plenty of decent programming languages are statically typed. What's wrong?

>>60419357

He could switch to Python...
>>
>>60419224
There are issues with Go, but yeah, those aren't some of them.
When will these fags get over their OOP delusions?
>>
>>60419390
>plenty
name 5
>>
>>60419390
Ruby, if you mention the P word again I'm going to have to ask you to leave.
>>
>>60419402
Pick any 5 languages you want. Every single one of them will be statically typed.
>>
>>60419353
>>60419357
>>60419390
its an edit from /agdg/
>>
>>60419434
>go into exam
>asked a question
>reflect question back at examination paper
>>
>>60419134
Because if the language is so inexpressive that it deters library writers in the domains that interest me, why would I want to use it?

Why would I want to move to a less expressive language, to spend all my time calling libraries from a more expressive language? That sounds utterly backwards.
>>
>>60419460
Are you retarded? I gave you an algorithm for determining at least 5 decent statically typed languages.
>>
If it doesn't have dependent types then I'm not interested.
>>
File: glmmlm.png (932KB, 926x456px) Image search: [Google]
glmmlm.png
932KB, 926x456px
>>60419357
>>
>>60419528
I mean you're not even the person I fucking asked
>>
>>60415763
In lisp, this is just
(defun strcmp (&rest strings)
(reduce #'(lambda (x y)
(if (string/= x y)
(return-from strcmp) t))
strings))
>>
>>60419578
I don't get it.
>>60419580
Why does it matter? You aren't on your home website right now.
>>
>>60419602
Are you drunk or something?
I asked someone else a question and you're fucking pestering me.
I don't give a shit about what you have to say.
If you reply again, I won't be replying to you.
>>
>>60418454
>chad
>>
File: 1492592774373.png (32KB, 256x256px) Image search: [Google]
1492592774373.png
32KB, 256x256px
>>60419563
If it can prove the law of the excluded middle, I'm not interested.
>>
>>60419712
If it's Turing complete then I'm not interested.
>>
>Coworkers complain whenever I write a function with more than two generic type arguments

Literally why?
>>
>>60419745
Generics are a cancer, and lead to more problems than they solve.
>>
hey guys, if you would interview at google for programming job, how would you explain all the shit you posted in dpt?
>>
>>60419758
>Hi... you want sum Lisp?
>>
>>60419758
>i-i-it was j-just b-banter!
>>
>>60419724
If it can't solve the traveling salesman problem in polynomial time I'm not interested
>>
>>60419754
t. failed generics in high school
>>
>>60419758
>how would you explain all the shit you posted in dpt?

I wouldn't because they wouldn't ask about it. Have you never worked at Google?
>>
File: 1494345309127.jpg (85KB, 1280x720px) Image search: [Google]
1494345309127.jpg
85KB, 1280x720px
>>60419805
What about the laughing salesman problem in polynomial time?
>>
>>60419402

C++, C#, Java, Ada, Rust.

>>60419429

Penis!

>>60419434

Ruby, Python, JavaScript, Lua, and Scheme are all not statically typed; they are dynamically typed.

>>60419754

So you would prefer people write the same functions over and over again with different parameters? Sounds like a lot of typing and copy pasting.
>>
Are generics just a java word for true polymorphism like in haskell and lisp?
>>
import "fmt"

func main() {
ch, stop := make(chan string), make(chan string)

go func() {
for {
ch <- "hello world!"
}
}()

a := ""
for {
select {
case a = <-ch:
fmt.Println(a)
default:
}
}
<-stop
}
>>
>>60419805

If you believe that TSP or TSP-Decision can be solved in polynomial time, I'd love to see a proof.
>>
R*st was a mistake
>>
>>60419849
>Ada
You've still got four more to go
>>
>>60419886

Haskell, F#, Go, D, Fortran

Like any of those?
>>
>>60419883
REST? I quite agree.
>>
>>60419849
>So you would prefer people write the same functions over and over again with different parameters? Sounds like a lot of typing and copy pasting.
This is a solution to a non-problem.Very rarely does a function need to support a wide variety of parameter types.
It's really a symptom of people trying to solve all of the world's problems with their code. Just solve the fucking problem at hand with the shit you need. There is no need to pile on a bunch of complexity and bloat to solve fucking nothing.
Writing truly general code is hard, and just slapping on some generic type parameters isn't going to make your code actually general.
>>
>me: i wrote a very small program that can factor any number smaller than java longs max value
>other person: why?
>me:

i wish i could write something meaningful
>>
>>60419911
I guess since I only said "decent" then I guess Haskell and Fortran are ok

two more
>>
>>60419916
t. brainlet

Ever heard of DRY?
>>
File: happy_language.jpg (59KB, 339x339px) Image search: [Google]
happy_language.jpg
59KB, 339x339px
>>60419911
>D
Yes!
>>
>>60419936
Yes. Generics do not solve that.
>>
>>60419927
Idris, Agda, PureScript
>>
>>60419945
They do. Were you fed bleach as an infant?
>>
>>60418811
>>60419941
It's so fitting that you chose that character, since she's doomed to failure.
>>
>>60419927
CoC, CIC
>>
>>60419965
Chinatsu is forever, anon. Even when she finally loses, at least she won't be terrible like Akane. This is all that matters.
>>
>>60419948
>>60419980
I don't see a tripcode
>>
>>60419992
Have you ever sucked a dick to get a fix?
>>
I want to create a simple SMS bot to send out messages to a list of numbers (members of a club). I can do this in C# but I'd like to practice a new language.
What language would be best suited for this task?
>>
>>60420010
Lisp
>>
>>60420004
What?
>>
>>60420010
how is this even doable? wouldnt spammers have done this already?
>>
>>60420033
Spammers can't do it cause it is illegal. You sending automated messages to people who agreed to let you send them messages isn't.
>>
>>60420042
yeah but then how is spam emails allowed
>>
>>60420068
Spam email isn't illegal. Or is hard to prosecute due to borders. Sending messages across borders is too expensive and sending them within the countries makes you liable to getting prosecuted.
>>
>>60419992
So? Please explain your reasoning.
>>
I'm porting my game from C++ to Rust right now. Everything was written with singletons before, and now I want to kill myself, never should of listened to that book
>>
What's the encoding for the metadata for file information on Linux?
>>
>>60419863
>chan
: 3
>>
>>60420154
not to mention that rust-sdl2 v0.30 just broke basically every example I had managed to find on how to do this properly
>>
>>60420123
I wasn't asking either of you.
>>
>>60419927

Hrm... I sense you prefer older statically typed languages, so...

Plain old C, Pascal, and ML.
>>
About to start learning C, two questions:
1. Where can I learn C with musl libc instead of standard library?
2. Does musl libc work with windows? I mean if I develop stuff with musl would the binary work with non-POSIX systems like windows?

Also, Does the C versions affect my choice of stdlib? I don't really want to use c89 here
>>
>>60420436
>About to start learning C,
don't
learn Go instead
>>
>>60420457
Slow. I am going to use C for a very different reason, anon. Hence I chose musl
>>
>>60420436
>1. Where can I learn C with musl libc instead of standard library?
musl IS an implementation of the standard library.
>2. Does musl libc work with windows? I mean if I develop stuff with musl would the binary work with non-POSIX systems like windows?
No. You don't seem to understand what a standard library actually is. It's very OS-dependant.
Binary compatibility across OSs just isn't going to work. Recompile your shit.
>Also, Does the C versions affect my choice of stdlib? I don't really want to use c89 here
Every libc worth giving a shit about supports the latest C standard. Some optional features aren't supported by everything (basically just C11 threads), but the essentials are there.
>>
>>60420353
No.
>>
>>60420436

>1. Where can I learn C with musl libc instead of standard library?
Musl is just another implementation of the standard library. You're not really learning the language differently. If you want to know how to link against musl instead of the libc that ships with your system, try checking out their website.

https://www.musl-libc.org/how.html

>2. Does musl libc work with windows? I mean if I develop stuff with musl would the binary work with non-POSIX systems like windows?
By the looks of things, it is specifically made for Linux. There should be other non-standard libc implementations on Windows.

>Also, Does the C versions affect my choice of stdlib? I don't really want to use c89 here
Musl is fully C11 compliant.
>>
I want to learn Assembly and I'm starting to fuck around with NASM. Is there good resources out there to learn that language from scratch? So far, it seems kinda difficult to find learning materials about assembly coding in Linux.
>>
>>60420528

Well then, aside from some derivatives of languages I've already mentioned, I can't think of many other statically typed languages that I'd find good. So I guess just Ada, Fortran, and Haskell? You have some odd tastes.
>>
>>60420552
https://pacman128.github.io/pcasm/
it's a really good (basic, entry level) book IMO

not sure if there is something more advanced, I'd ask https://webchat.freenode.net/?channels=%23%23asm
>>
>>60420556
Then I guess you were wrong
>>
>>60420503
>>60420530
Thanks anon. Going to start with C soon
>>
>>60416117
thank you, I'll give it a try
>>
>>60420627

I guess you just have shit taste in statically typed languages. What the fuck do you do all of your programming in?
>>
>>60420702
Indecent statically typed languages
>>
>>60420722

You do everything in Ada?
>>
I want your honest opinion on mobile development.
>>
File: 5802129_orig.jpg (54KB, 846x530px) Image search: [Google]
5802129_orig.jpg
54KB, 846x530px
What are the ways you would "kill" portability?
>Platform dependent libraries
>Usage of specific compiler features
>Calling particular shells
>Creating objects with filenames that contain special characters
>Make unique syscalls to allocate memory in certain ways
Now I need some really smart ways.
>>
File: rails install.png (97KB, 656x417px) Image search: [Google]
rails install.png
97KB, 656x417px
What am I missing?
>>
>>60420804
I don't do anything in Ada
>>
>>60420979
Use Python
>>
>>60420982
never mind, forgot to install ruby-dev
it's a good feeling when you only make stupid mistakes sometimes
>>
>>60420982
>>60421074
Not programming.
>>>/g/wdg/
>>
>>60415342
lih-nucks
>>
new thread
>>60421332
>>
>>60415375
Such a bad meme
>>
>>60415346
Is there anything wrong with Alienware?
Thread posts: 323
Thread images: 34


[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.