Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Bloody
Mar 3, 2013

you seem oddly angry about fp what makes you angry about it

Adbot
ADBOT LOVES YOU

HoboMan
Nov 4, 2010

MononcQc posted:

I have a job with a functional language AMA

what does your lab research?


e: ^^ mad because bad ^^

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

HoboMan posted:

what does your lab research?

before this gets answered i would like you to tell me what erlang was developed for

Bloody
Mar 3, 2013

i think you may actually need to get out

Jerry Bindle
May 16, 2003
lol you're mad because you don't know what you're talking about, makes sense

Bloody
Mar 3, 2013

do you think php is a functional lang

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison

Barnyard Protein posted:

lol you're mad because you don't know what you're talking about, makes sense

internet.txt

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer
god, i dont want to be a dick but hoboman seems especially dedicated to refusing to learn absolutely anything. like you fully admit you have almost no idea what youre doing and are trapped in a hell of ancient bad code, and your response to everyone itt is basically "shut up i dont want to get better". enjoy your future cirrhosis buddy.

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison
butt.map(fart)

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

uncurable mlady posted:

butt.map(fart)

fart . map . butt

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison

Captain Foo posted:

fart . map . butt

oh yeah :(

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope
farts.reduce(function() {return "toot"})

Bloody
Mar 3, 2013

for(int i = 0; i < butt.Length; i++)
{
fart(butt[i]);
}

JawnV6
Jul 4, 2004

So hot ...

HoboMan posted:

e: all you functional programming people crying about how you can't use a functional language to get a job makes feel me good about loving hating it
:raise:

where has anyone done this? regardless, you're kinda veering off course from the purpose of the thread. there's plenty of other space to go a punchin', we can keep this one nice

Bloody
Mar 3, 2013


unemployable.png

HoboMan
Nov 4, 2010

JawnV6 posted:

:raise:

where has anyone done this? regardless, you're kinda veering off course from the purpose of the thread. there's plenty of other space to go a punchin', we can keep this one nice

oh god, i should have proofread that edit. that comes off all wrong

e: "people complaining you can't get a job with a functional language makes me feel better about being bad at functional programming" is what i meant

HoboMan fucked around with this message at 16:24 on Apr 14, 2016

Bloody
Mar 3, 2013

u know all the good parts of c# are stolen from functional langs right

triple sulk
Sep 17, 2014



Bloody posted:


unemployable.png

they're definitely employable langs but you could never pay me to write scala again

there's also the matter of how many of those positions actually exist

simble
May 11, 2004

i write everything in butt (AWS, GAE, Azure, etc.)

Jabor
Jul 16, 2010

#1 Loser at SpaceChem

simble posted:

i write everything in butt (AWS, GAE, Azure, etc.)

funny, everything i write comes out of there

Flat Daddy
Dec 3, 2014

by Nyc_Tattoo
the whole React.js communty / style of programming is all FP and there's a poo poo ton of jobs for it

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.

Captain Foo posted:

before this gets answered i would like you to tell me what erlang was developed for

oh man I actually know this one

VikingofRock
Aug 24, 2008




Bloody posted:

like i just wanna get this file into ghci as a string so i can poke at it interactively better but noooooo

You can do that by typing this into ghci:

code:

contents <- readFile "MLP_erotica.txt"

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Captain Foo posted:

fart . map . butt

(map fart butt)

Bloody
Mar 3, 2013

VikingofRock posted:

You can do that by typing this into ghci:

code:

contents <- readFile "MLP_erotica.txt"

tyvm

MononcQc
May 29, 2007

HoboMan posted:

what does your lab research?

I write, maintain and operate application-level tls/tcp/http routing and logging infrastructure for a platform as a service ~in erlang~

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

HoboMan posted:

i mean doing a thing in a pure functional language can be a fun puzzle and can make you feel clever as gently caress, but gently caress ever having to modify it ever

how do you know this? like i find refactoring and modifying stuff in elm (a pure functional language) is way way way easier than doing the same in javascript, because elm code easily ends up being modular and composable and the compiler is v helpful

Luigi Thirty
Apr 30, 2006

Emergency confection port.

hackbunny posted:

cooperative multitasking is easy, AMA
(I wrote the first implementation of fibers for ReactOS before alex ionescu came and rewrote it in a way that was suspiciously close to the decompiled code of the windows implementation)

hmm. well i have food poisoning so i'm not at work so i'll see what i can cook up today

Illusive Fuck Man
Jul 5, 2004
RIP John McCain feel better xoxo 💋 🙏
Taco Defender
terrible programmer report:
when i first found out my employer doesn't allow c++ exceptions, i was like 'sure thats reasonable, whatever'
the more code i write, the more and more loving annoying this limitation is. it's so bad. it makes it impossible to write clean code.

qntm
Jun 17, 2009

Illusive gently caress Man posted:

terrible programmer report:
when i first found out my employer doesn't allow c++ exceptions, i was like 'sure thats reasonable, whatever'
the more code i write, the more and more loving annoying this limitation is. it's so bad. it makes it impossible to write clean code.

aren't you essentially writing C at that point

Notorious b.s.d.
Jan 25, 2003

by Reene

qntm posted:

aren't you essentially writing C at that point

c with classes

and smarter pointers

Notorious b.s.d.
Jan 25, 2003

by Reene
every sane c++ shop chooses a subset of c++ to work with

your subset is just highly restrictive

creatine
Jan 27, 2012




am I a terrible programmer if I program stuff to do terrible things

more like dICK
Feb 15, 2010

This is inevitable.

Pumpy Dumper posted:

am I a terrible programmer if I program stuff to do terrible things

join the club buddy :getin:

gonadic io
Feb 16, 2011

>>=

Bloody posted:

like i just wanna get this file into ghci as a string so i can poke at it interactively better but noooooo

Probably late, but

str <- readFile "butts.txt"

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

Luigi Thirty posted:

hmm. well i have food poisoning so i'm not at work so i'll see what i can cook up today

probably some code, tbqh

gonadic io
Feb 16, 2011

>>=

MononcQc posted:

I have a job with a functional language AMA

Same, also am not a libertarian

quiggy
Aug 7, 2010

[in Russian] Oof.


Bloody posted:

for(int i = 0; i < butt.Length; i++)
{
fart(butt[i]);
}

nah now it's

code:
for (std::Butt::iterator it = butt.begin(); it != butt.end(); ++it) {
    fart(*it);
}
(ok or you just use auto in c++11 and up)

gonadic io
Feb 16, 2011

>>=
Otoh I will probably try to avoid Scala when looking for future jobs. Not too dogmatically though given that it forms the majority of my commercial experience.

Adbot
ADBOT LOVES YOU

Illusive Fuck Man
Jul 5, 2004
RIP John McCain feel better xoxo 💋 🙏
Taco Defender
its just so dumb that every time i want to say
code:
DoThis();
DoThat();
instead it has to be
code:
result = DoThis();
if (!result.ok()) {
  return result;
}
result = DoThat();
if (!result.ok()) {
  return result;
}
even though its doing the same thing, my eyes fuckin glaze over with the second one.

  • Locked thread