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

Functional programming

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: 125
Thread images: 5

File: 1481938747132.png (36KB, 2000x1412px) Image search: [Google]
1481938747132.png
36KB, 2000x1412px
Is functional programming the next big thing?
Between Haskell, OCaml and a Lisp, which one is worth learning?
>>
no
logic programming is
check the tiobe index
fp is neat and definitely something of value, but the more you look into it the more you find out that a majority of the benefits show up at a point that's basically just imperative programming with functional abstractions.
>>
All of them?

But lisp is trash.
Go OCaml then try a few times to learn Haskell.
>>
>>61452798
>logic programming
Prolog?
>>61452819
>All of them
I mean relatively to their real-world applications.
I know OCaml is used in finance. Not sure about Lisp or Haskell.
I'm interested in Lisp though because I've heard of its syntactic "minimalism" and it seems very interesting.
>>
>>61452686
I think most programming languages that people actively discuss are worth screwing around with for a few hours, FWIW.

Lots of great programmers respect Haskell and Lisp, and not because they're used heavily. Very strict static typing and learning to write stuff without side effects is really neat. So is the homoiconicity of lisp.

Just play around with them and if you feel it, make something cool!

Probably not the "next big thing" considering these have been around forever. People are rediscovering static typing though, just look at typescript.
>>
>>61452965
>Probably not the "next big thing" considering these have been around forever
Sure, but ML is starting to take off.
>>
>>61452686
No
As a person who worked in a company where FP was used actively.
Development time was incredibly slow with most of our good programmers debating for hours on end how a 4 line function should be written.
Worse even being that introducing a new developer to our code base would take weeks if he/she was decent at the language at hand.

Not to speak of the horrific pain if one of those functions needed to change or god help you if you needed to refactor something.

After 1 whole year of this the CEO had enough of it because the development speed was so slow and hiring standards got to insane levels.

>junior position
> 3 years Haskell expirience
> masters in CS
> Must be currently employed
>1 year building enterprise level code
> capable of doing full stack aswell
>must be willing to spend 9+ hours a week on company projects in spare time.

After the CEO said no, the CTO and 5 others were fired.
Now they run on C++ and things are running smoothly from what i heard.
>>
>>61454066
How do places like Jane Street manage to use it (very) effectively? There must've been something you guys were missing.
>>
>>61454154
Money.
If you can pay for enough good functional programmers, sure it will work out in some way because you can elevate slow development time by having a large amount of programmers.

The company i worked at simply didn't have the money to afford that number of programmers to make it worth while.

And as functional programmers tend to be a bit full of themselves, they could affort 3 c++ developers at senior level for 1 medior haskell developer.
>>
>>61452926
>I'm interested in Lisp though because I've heard of its syntactic "minimalism" and it seems very interesting.

Lisp is definitely interesting and fun.
As a suggestion, try a more FP oriented lisp (like Scheme or Clojure).
>>
>>61454431
That implies that they would make the choice of using FP despite it being sub optimal. Yet JS allegedly has very good results with OCaml.
>pay enough for good functional programmers
As far as I know, they don't require their developers to have experience with OCaml specifically, or even FP (as stated on their interviews blog). As for the number of programmers, less than 500 people work for them worldwide and most of them are researchers, not programmers.
Of course JS might just be an outlier, but even then it's an example of FP being used in a successful company.
>functional programmers tend to be a bit full of themselves
Is there a reason for this?
>>61454434
Is Common Lisp less pure than Scheme?
>>
>>61454066

>Must spend 9+ hours a week working in your spare time.

What the fuck? Isn't this egregiously retarded?
>>
>>61454496
>Is Common Lisp less pure than Scheme?

Well, all lisps are technically impure.

The thing is, it's very easy to write imperative code in CommonLisp.

You'll definitely find yourself writing more FP in Scheme and Clojure.
>>
>>61452686
>which one is worth learning?
Idris
>>
>>61454574
>all lisps are technically impure.
Is Haskell the only truly pure functional language?
Is it impossible to program imperatively in Haskell?
>>
>>61454781
>Is Haskell the only truly pure functional language?

Well no, there are others, such as Idris.
But, Haskell is the only one that is known by more people than the author and his pals.
>>
Best logo in the history of tech.
>>
>>61455219
That's not the Knights of the Lambda Calculus
>>
If you learn a Lisp, learn Clojure. F# is worth. Haskell is good for learning core concepts, but I wouldn't spend all day in a production environment fighting it.
>>
What are some actual fields that make heavy use of functional programming anyway?
Even machine learning uses mostly C++ and Python.
>>
>>61454496
>is there a reason for this
As FP requires a lot more thinking about code than actually writing it, thus making them think that they are up there with people like mathematicians and the like, and will demand to be paid like them.
>>
>>61455305
CS probably
>>
>>61455471
CS is vast. That's like saying "engineering".
>>
>>61452926
>Prolog?
FUCK
PROLOG
SHIT
HNNFPPFFF
>>
>>61455521
What's wrong with it?
I don't know much about declarative languages. But Prolog seems to be popular in AI.
>>
>>61455549
>What's wrong with it?
that my assignments are due Aug. 20 and I'm not even 10% in, it's obscure, it's shit, I hate it
>>
>>61455549
>But Prolog seems to be popular in AI.

LMAO. Maybe in undergrad AI courses. Nobody is using fucking Prolog for real AI/ML research.
>>
>>61455577
What are you studying that requires Prolog?
>>61455582
Why is that? What's Prolog useful for aside from education then?
>>
>>61455305
Functional programming languages are just general purpose languages.
Haskell for instance is a general purpose language with a really strong type system and makes functional abstractions on top of operations with side effects. That's every good for when you want something to work correctly, as a lot of problems are caught on compile time.

Facebook for instance use Haskell for their spam filter. They also made Haxl a Haskell library for data access on remote server and Hack (runs on HHVM, written in OCaml) which is a fork of PHP with Haskell inspired features.
>>
>>61455577
lel one of my former professors once implemented a model checker in prolog TWICE
>>
>>61455627
>What are you studying that requires Prolog?
It's just a BSc in general CS (dev-oriented, not meant for research), there's a course about every paradigm ever, we're doing CLisp/Python/C/Prolog/OO C++/PHP&JS...

Yes it's shit but can't get employed without at least a bachelor here
>>
>>61455655
Huh. Why would they teach Prolog instead of SQL for the declarative part of the curriculum? Seems odd since the latter is much more useful generally speaking
>>
>>61455670
Because they probably have a course dedicated to the mathematical theory and practical implementation of databases.
>>
>>61455670
well there's databases 101, 102, 201 and 202 also
there are almost no mathematics (high school level calculus mainly but I still struggle) nor science so they overload with random IT courses, it's a bachelor for math retards

It's more an IT bachelor than CS, they make no distinction here ("Informatique")

t. Frenchman
>>
>>61455725
>Frenchman
What school are you at if you don't mind telling?
Given how low in math most CS programs are in France, how do students manage to build the necessary foundation for graduate computer science if they wish to pursue a master's/PhD?
I worry I'll be unable to apply for grad school because of that shit.
>>
>>61452686
Lisp has been dead for the last 40 years.
OCaml is decent but no multithreading.
Haskell is the most promising choice. But functional programming has also been the "next big thing" for a while now and nothing came from that so you're better off learning what everyone else uses instead
>>
>>61455787
>What school are you at if you don't mind telling?
paris 8 (saint-denis of the ghetto)
>Given how low in math most CS programs are in France
that's not true tho, most of them are more or less math bachelors with slight programming topping
I struggled hard to find one without maths, had to search 600km away (I'm not from Paris)

I don't really care becoming a java test monkey, I just don't want to wash dishes in restaurants or deliver pizzas anymore
>>
>>61452686
So lisp is a functional programming. language? Well then, since lisp came out in the early 1960s, functional programming is not the next big thing. It is the fifty years ago thing, lol.
>>
>>61455860
You deliberately chose the program with the least math? Though I guess that makes sense if you don't care much for theoretical CS.
>most of them are more or less math bachelors with slight programming topping
Fuck. I'm going to Niel's meme school in a few months, so I'm basically fucked aren't I?
>I don't really care becoming a java test monkey
The job market in France is really different from the US.
You can make it pretty easily by doing fullstack web dev from what I've seen.
>>
>>61455952
>I'm going to Niel's meme school in a few months, so I'm basically fucked aren't I?
nah the maths are light there but I couldn't make it to 42, I have to work aside to pay rent (I had my Bac 7 years after dropping school, free candidate) and they study 40-60h a week, but I would have loved it

Indeed you may struggle for hardcore CS research masters but you'll have no problem getting into a software dev master IMO

good luck with 42

>You can make it pretty easily by doing fullstack web dev from what I've seen.
Yeah I'm learning some PHP and Java EE on the side, preparing certifications (Symfony/EE/Zend), we'll see

Still washing dishes in restaurants as we speak so anything would do
>>
>>61455998
That's too bad. The 40-60 hours thing is probably heavily dependent on your prior experience with C though.
>hardcore CS research masters
Well I want to study AI. 42 says they have classes on that subject but I don't know if they're good.
And thanks m8, good luck to you as well.
>PHP and Java EE on the side
Yeah that's cool. French developers are getting on the "JS for everything" trend as well, so maybe that could help if you want to be as employable as possible.
In which year are you in your bachelor's?
>>
>>61455952
>>61455998
If you are in France, some of you know if private schools like Efrei, Epita, Epitech are worth? Is it a meme too ?
>>
>>61456460
42's model seems very similar to Epitech (intensive C and C++ courses being the most obvious example) except the latter has professors.
Epita is an actual engineering school and it seems pretty well-ranked.
Though for CS the best is probably Dauphine
>>
>>61452686

FP is a bunch of shit

> muh purity
> muh side effects
> "it is very easy to prove a functional program"

These are reasons only an academic would think of.

C/C++ just let you do whatever you want. The only proof I need is if it does what the fuck I want it to do.
>>
>>61456585
As long as it doe- Anon received signal SIGSEGV
>>
Should I clojure?
>>
>>61456659
No. 99.99% of Clojure work is just dealing with horrible Java libraries and Clojure's terrible error messages. Most of these "hosted" languages are fucking garbage in real world use.
>>
>>61452686
All the OOP languages nowadays are taking ideas from FP.
OOP itself is something of a clumsy mix of procedural and functional programming.
So it's good to know, you'll be writing better code if you learn a functional programming language. But I don't think it'll ever take off entirely.
>>
>>61452686
All of them are. Haskell has the least practical use though. I'd suggest learning Haskell last.
>>
>>61457098
How does Lisp have more practical use than Haskell?
>>
>>61457126
You can pimp your Emacs with it.
>>
>>61457126
At least you can use it to rice Emacs.
>>
>>61457126
>>61457147
Fug, the text box went out of focus when I pressed enter.

Lisp has cool macros (I think it's worth learning just to see how awesome they can be) and can be used as a scripting embedded language (see GNU Guile). If you want to have a scripting language inside your program, I think that some kind of Lisp would be the best choice. It's easy to parse (like, you just parse parentheses) and can do pretty much anything you want. Even if you make a specific dialect for your program that doesn't do what the user wants it to do, he can just implement his Lisp in your Lisp with macros and do whatever he wanted to do.
>>
>>61456659
I used it for a couple of months until I gave up. It's the worst Lisp out there.
>>
>>61452686
>next big think
>haskbell and lisp died probably before you were born
>OCaml is a joke

yea
>>
>>61457254
>haskbell
>>
>>61457147
>>61457169
I've never seen a productive programmer use either vim or emacs.
The only time I've seen them used in a professional environment was by a sysadmin who did jack shit all day.
>>
Haskell is a meme and wont win any traction out of academic environments.
Granted it makes things shorter but also more dense. A good language for algos, but bad for anything useful.

Its also quite verbose. E.g.: try to parse an integer
>(read 5)::Int

I'm hating it more and more.
>>
>>61452686
For a beginner I'd recommand elm

It's practical (you can write web applications with it), simple (not many features) and pure.

In a way it's like Haskell but simpler and actually useful.


I'd also recommend elixir if you want to do anything on the backend.
>>
File: 1500090992550.jpg (120KB, 500x371px) Image search: [Google]
1500090992550.jpg
120KB, 500x371px
>>61458054
> using dynamically typed anything in 2017
>>
>>61458137
elm is statically typed, not sure what you mean?

If you meant elixir, then yeah, that's my biggest issue with it as well
>>
Is Erlang a meme?
>>
>>61458267
Pretty much.
>>
>>61458004
That example isn't good. You need to tell that you want to read something and you need to tell that it's supposed to be an int. The alternative in other languages could be something like
> readInt "5"
> Read.Int "5"
> Integer.read "5"
I don't think any of those is better in any way. I find the Haskell way the cutest.

And actually, I think that Haskell syntax is pretty compact.

I'd agree that it's difficult to make actually useful programs in Haskell though. I wouldn't say it's bad, but just difficult. I think that Haskell is a very good language for research and thus it has many libraries that implement pretty new ideas and are difficult to use due to unfamiliarity and sparse resources to learn from. If you want to make a program with GUI, you probably would want to learn FRP (which I really like so far) and that's just another thing to learn on top of base Haskell and that's where I see the difficulty.
>>
>>61458267
No.
Erlang is pretty cool. It's the only concurrency model that actually works well in practice.
If you don't like the syntax, check out elixir
>>
>>61458279
Wait a moment, let me correct myself. I realized that the Haskell way is actually better because you can skip the type annotation if it's known from the context. Damn, that was obvious.
> read "5" + 1
>>
>>61452686
No, functional programming is a pure meme.
>>
>>61458320
you should never use read in practice, see:
Prelude> read "a" + 1
*** Exception: Prelude.read: no parse
>>
>>61458054
>be supposed to make a presentation about FRP for a seminar
>the professor suggested Elm or Reactive Banana
>pick Elm because it looks simpler
>read the official Elm guide, make some examples myself, do the presentation
>some time later want to check out FRP in Haskell
>see some presentation on FRP from one of the Elm creators
>it actually is much deeper than what I saw in Elm
>it's what I saw in Reactive Banana
>now my presentation appears so shallow
I thought that an official guide to the language made around FRP would cover the concept well. It was a shameful mistake. I think they didn't want to scare away the webdevs.

That being said, Elm is pretty comfy indeed. I agree that it feels kinda like simplified Haskell. And apparently it does allow the "deeper" kind of FRP, it just wasn't covered in the guide.
>>
>>61458529
This must have been some time ago. Elm is no longer based on FRP.
This changed in elm 0.17, you can read about it here:
http://elm-lang.org/blog/farewell-to-frp

It's still a reactive programming model, but not FRP.
The change was really good for elm, it's now even simpler without sacrificing power
>>
>>61456089
>In which year are you in your bachelor's?
Well I had my bac in 2014, made a year in LEA because I can into English (thanks 4chinz), dropped because it's shit and then I'm in my 1st year at age 25. I know it's pathetic but hey, better late than never.

>French developers are getting on the "JS for everything" trend as well
Well I wouldn't mind a test job in some ESN/SSII so Java/PHP it is but yeah I use JS for various APIs anyway, I could learn some Node

>>61456460
They're great but I don't have the funds
>>
>>61458649
Well, fuck, so that's why. It was after that update. Yes, it did feel much simpler than FRP libraries and yet very capable.
>>
Also, reminder that compilers transcribe everything into ASTs
>>
>>61458697
Oh well, then you were badly advised by your professor
>>
>>61458758
He himself said that he didn't really know much about FRP and that it would be cool if he could learn something about it. The seminar as the whole was about handling side-effects in functional programming.
>>
I love Ocaml. Favourite language by far and now with bucklescript I can use it instead of disgusting JavaScript.
>>
>>61458815
Yeah, except you don't know OCaml, yet alone use a transpiler to JS.
>>
>>61458800
Well the way elm handles side effects is also really interesting, so I'm sure you learned something new along the way.
It might not have been helpful for learning FRP, but knowing elm is a useful skill to have, as it gives you a sane alternative to JavaScript.
>>
>>61458859
You are not making any sense. They just said they loved OCaml, but you claim they don't know OCaml? Why would you claim that?

Also, every compiler is a transpiler...
>>
>>61458859
>except you don't know OCaml

Odd assumption to make.
>>
>>61458911
because no one does OCaml

>Le StackOverFlow Poll :DD Most xX::PoPuLaR::Xx Language??? ToP 5 : Le HASKELL !! xD le OCaml not that far !
>Github : OCaml and Haskell repos : none also no stars

yeah 4chan and its permanodevs are experts in these nolibs languages I bet
>>
>>61458963
>>Le StackOverFlow Poll :DD Most xX::PoPuLaR::Xx Language??? ToP 5 : Le HASKELL !! xD le OCaml not that far !
Do you need an ambulance?
>>
File: 2017-07-19-201930_717x672_scrot.png (39KB, 717x672px) Image search: [Google]
2017-07-19-201930_717x672_scrot.png
39KB, 717x672px
>>61458978
>>
>>61452926
>I know OCaml is used in finance
Yeah, right. Two companies using it is huge, unlike haskell which almost every finance institute uses to some degree.
OCaml is worth learning not because of its use in the industry, but because it's a pragmatic approach to functional programming and it feels fucking amazing. Also because of things like Coq and HoTT. I personally use it for scripts that run as root and few tools that were trivial to write with the module system and GADTs.
If you really, really want to learn lisp (worth it imo), go with scheme.
>>61452965
It has been used in the industry since it was released. That you don't see it being as popular as java is not evidence of it not being used. The reason for that is, that when you hire an ocamler, you hire him for life and, that the projects we work on are not as trivial as "airbnb for washing-machines". If you had been anywhere near avio, astro or finance, you would have known that functional programming is very well-established in the industry. Here at well full of honey, we use Coq and have a team that writes OCaml extensions to it. I have been pressing the management to contribute to open-source, but the company is very hostile towards it in the higher management. We also do most of our specs for the C guys in haskell. But of course, you won't usually see us hiring for these positions, you have to work up to it and it's a lifetime commitment. The other issue is, almost everyone here has a PhD in either applied math or CS, so it's pretty restrictive. But that's the thing, you don't need 500-man team to do the work, we barely have 20 people and we're among the most productive departments in our branch of company.
>>
>>61459002
>smalltalk
thinking_emoji
>>
>>61459118
>PhD in either applied math or CS
You work in quantitative finance?
Are PhDs unofficially mandatory in your field?
>>
>>61459118
>unlike haskell which almost every finance institute uses to some degree

Not really. Like Ocaml, the amount of Haskell used in finance is greatly exaggerated. Even C.S. has basically stopped using it and moved to F#.
>>
>>61459234
I thought the most used languages in finance were C++ and Python, followed by R, MATLAB, and then OCaml/Haskell.
>>
>>61459258
Ocaml and Haskell are still very rare. Like most of the industry, C, C++, Java and C# are the most popular by a massive margin. Python, R and Matlab are used quite a lot as well but usually just for quick problems and quick exploration of a domain.
>>
>>61459336
>Ocaml and Haskell are still very rare.
Is it because only the top firms use them? Or just because more popular languages are simply more adapted to the task?
>>
>>61458871
Indeed. But just getting to work with the events gave me some insight on how to approach FRP.
>>
>>61459345
Most of the top firms don't use them. It's usually smaller players like Jane Street that do.

> Or just because more popular languages are simply more adapted to the task

I think it's mostly just inertia. Software development in finance isn't really that much different than it is elsewhere. Easier to hire people, better library support, good performance, good IDEs, debuggers and profilers etc.
>>
>>61459563
>It's usually smaller players
Is there a reason for that? Why would they choose to use those languages if, as you say, it's easier to use the more popular ones?
>>
>>61459170
Not anymore. I began my career there, i've been working in avio and aero for the past 5 years. PhDs are not mandatory in the field, but in my department of formal methods, they are. As for finance, MSc in applied math is satisfactory for most positions.
>>61459234
At the time i was working in finance, which isn't that long ago, most banks here in europoor were using haskell to some degree. I agree the amount of code is small, but again, that's because of the efficiency of the paradigm and that finance is pretty much the best-case scenario for functional. We rewrote 740k loc java monstrosity to roughly 15k in haskell, but that's an extreme case and the downside is, no one without a firm grasp of haskell and some type theory will be able to work on it.
>>
>>61459591
Smaller players can afford high-riscs experiments. It's that simple.
>>
>>61459596
What pushed you to change careers?
>applied math
Is CS fine? I've seen some job offers on indeed be explicit about them wanting a PhD, so it seems common.
>>
>>61459591
Some of the places have highly respected programmers like Yaron Minsky that will really push for their pet language. He pushed hard for Ocaml and it worked out so they continued using it.

Most places don't have someone like that and most programmers will continue to use what's popular because pushing for something that's niche is extremely risky career wise.
>>
>>61459633
I felt i didn't really put much use to my mathematical skills in finance. Of course in higher positions, i might get to use some graduate-level methods but, getting there takes too long. Working in aero i get mathematically challenged almost every day. We have to wade through a lot of research because, developing an environment around proof assistants calls for it. For example, we're working with IAS on applications of HoTT. That alone is PhD-worthy project but, we just started last year and the work has been feeling pretty much like i'm back in academia. I love it,there's no way i would have been able to work with higher mathematics in finance, unless i got to work for rentec or somesuch. Even then, my opinion is that HoTT is much more involved than some novelties in anal and measure theory.
Asfor CS, it depends on the field. For finance, you're going to be handicapped. For aero, you're probably going to be favoured if you want to get to formal methods- you guys have things like temporal logic and hoare mandatory, afaik. It was just skimmed over in applied math. For the low-level guys, most of them are CE or EE masters, but CS is no handicap there.
And don't take PhD requirements too seriously, i've applied to such position with BSc during studies and they took me. No idea why it's there when the math is undergrad-level.
>>
>>61459856
>didn't really put much use to my mathematical skills
What position did you have that didn't require much math? This is surprising since quant finance is usually described as math applied to finance, even for developer jobs.
>no way i would have been able to work with higher mathematics in finance
What is the reason for how long/difficult it is to get to the same point in finance? I mean aeronautics/aerospace is a pretty critical field as well.
Do you work for a contractor?
>rentec
Are they overhyped?
>For finance, you're going to be handicapped
Why? Even for front office dev jobs? As I understand it there's a gap in knowledge (and pay) between researchers and developers in quantitative analysis
>i've applied to such position with BSc during studies and they took me.
Are you from an elite college?
>No idea why it's there when the math is undergrad-level.
They say it's because working there is similar to working in a research environment, and a PhD proves that you're able to handle that. What do you think of this statement?
>>
>>61457875
Top tier shitposting.
>>
>>61452686
Learn how make proof,solve problems, real analysis,abstract algebra,category theory and then functional programming.
>>
Actually /dpt/ doesn't seem to love FP so much so let me ask here (perhaps there will be someone more interested here):
How do I dynamic typing in Haskell? I need it for command input from user. I looked through Data.Dynamic and wrote a simple stack calculator that can also hold functions (it doesn't apply them immediately). However, the biggest limit I see with Dynamic is that I can't use polymorphic types (which makes sense) so I can't for example use a polymorphic list constructor. I could however specify it to any type and then use it, but I would limit list construction to prespecified types. Any ideas how could I make it more generic? I've glanced through some articles on generic programming and polytypism in Haskell, perhaps those could help here? Although when thinking about it, it makes sense to limit dynamic interaction to prespecified types - as in: it is probable that the compiler would need to know what can be encountered in the dynamic part beforehand. I'm not really convinced it is the most I could get though. Perhaps I could try making a special wrapping type for the functions that would consume Dynamic instead?
>>
>>61460464
It cannot do dynamic typing. If you want to do a comman input from users, then you should look into parsec, which is a parser combinator library.
>>
>>61460072
Research.Not that it didn't require math but, the math was mostly undergrad-level. I didn't study math to be a glorified statistician (not to shit on measure theory or anal, but i like math for the more abstract parts of it).
Well the guys in higher positions were regularly using differential topology in their work. But these were people who got that position after 20 years in company. When i was there during studies (7 years total), i didn't really need much more than anal, measure theory and a bit of differential geometry. I think getting up there could be done in 15 years or less if someone liked you enough, at least in the institute i worked for.
As for aero/avio, i pretty much got hired right into the best department i could have, worked for a year on implementing the specs, regularly socialized with the formal methods team and they transfered me there the next year. If i was ultra-autismo and didn't try to get there, it might have been 3 to 5 years. But everyone with math background ends up in formal methods at some point. Or has the choice to go there. The company is Honeywell, in central europoor. But i've been stationed overseas for some time. And as for the math, well i pretty much transered right into their endeavors in algebraic geometry. So that alone surpassed any math i did in finance.
About rentec, i have no idea because i didn't work there and people who did can't talk about it, but i think that they are pretty much the best finance has to offer, math-wise.
And even for a dev job, applied math is more sought after.
I went to Lomonosov Moscow State University. You be the judge.
Well it is similiar in some way, but i think it doesn't compare to the pressure of PhD. My current work is much closer to research environment than my work in finance was, in fact it might actually be more challenging. But i guess that's a good reason, the outliers who can handle it without experience will be immediately obvious.
>>
>>61452686

Dataflow Languages are the future
FP went full retard when it wants to "abolish state"
>>
>>61457875
wat
where do you work?
>>
>>61460741
>people who got that position after 20 years
Does your seniority affect the work you do to such an extent that the guys with experience were working on completely different stuff?
>formal methods
Isn't that very similar to systems architecture?
Why do people with mathematical backgrounds tend to end up there?
>applied math is more sought after
With a focus on stats or probability, or is that irrelevant?
Do they avoid hiring CS people because of the lack of emphasis on stochastic calc and other finance-applicable math?
>You be the judge
You did your master's there too? I guess that shows that those firms aren't as elitist as they're often portrayed.
>the pressure of a PhD
How cutthroat is it in reality?
>>
>>61454781
Haskell has I/O operations which are by definition impure. The only purely functional language is Lambda Calculus.
>>
Learn Racket
>>
>>61461328
Is this a bait?
>>
>>61452819 <-- this is how a faggot looks like

Just learn some Lisp. Both OCaml and Haskell are a joke/try-hard memes mostly used by scholars to create toy languages.
>>
>>61461328
This is incorrect. In Haskell operations with side effects are completely wrapped to keep the language purely functional.
>>
Erlang is the king of FP languages today.
>>
>>61461286
It's because with higher positions, you get more responsibilities, not just research but also decisive work.
Not as far as practiced here. It's really just as academia here, very interesting stuff and you can explore anything really if you feel like it. You don't get to do much programming here or anything like software architects do. It's mostly math, a little bit of specifications and the rest is done by the implementation guys.
They don't really look that much into i in your average institute, but it is a bonus. It's not that they avoid them, they hire people with suitable skillsets, which in this case is mostly applied math. All applied math programmes have some mandatory programming, moreover learning a language is matter of weeks, while learning a topic in math is a matter of months. From the syllabi of some CS programmes across europoor, it seems measure theory is not taught very thoroughly.
Yes, all my time in academia was on MSU. But there aren't many Stanford grads in europoor anyway and as far as european universities go, in math our only rival is École Normale Supérieure.
There is a really high pressure on you to publish. From my colleagues i know it's even higher in western universities than it was at MSU. But unlike there, here they refuse to accept your paper if it's deemed insignificant. So many people spend 5 years or more on their PhDs here. I was lucky to get a very strict advisor so he guided me towards my PhD quickly. On average, i got to sleep once in two days and any time not spent on research or teaching was spent on food, excreation and sleep.
>>
>>61461774
>you can explore anything really if you feel like it
Even though it's a private company with projects and deadlines? That's pretty cool. Is aero like that in general?
>the rest is done by the implementation guys
Is their work interesting as well or is it just applying in practice what research comes up with?
>your average institute
How much more lenient is your average institute in its hiring process, compared to the firms everyone talks about and wants to work for?
>measure theory is not taught very thoroughly
How feasible would it be to be self-taught in the relevant areas of applied math?
>in math our only rival is École Normale Supérieure
Oh, so it's still a very renowned department in math. How difficult was it for you to get accepted into the PhD program compared to the master's?
>really high pressure
It does sound harsh, though that's to be expected.
Is work ethic the most important thing?
>>
>>61458402
Read is fine...
It is a function of type String -> a, so it can read Int or whatever type you want. In your example, you don't give a an explicit type, so it infers the type of (+ 1), which is why it can't parse "a" -- it's not an Int.
>>
>>61455305
Web development. JavaScript is FP language.
>>
>>61452686
>Between Haskell, OCaml and a Lisp, which one is worth learning?
Haskell, m8...

OCaml is great and all, but you can write totally imperative code in it. It's like writing Java and thinking that you know FP because Java has closures now even if you never use them.
>>
>>61462123
That's how our team works. Can't talk about other companies though colleagues that did work there say it's not that benevolent there. So we might be an exception.
Well i found it interesting, you can learn a lot just by reading documents around the specification, they are very well-detailed when it comes to math. But yeah, it's pretty much just doing what the spec says, running it through the toolchain and making it say: this code is ok.
Not much i imagine, they were trying to get the best candidates like IMO attendants and such. But it's still a far cry from rentec that almost requires a fields medal.
Well if you demonstrate adequate skills, you're good to go. Most people who don't have the required depth of these subjects and get hired anyway do have to supplement it during the training period.
Yeah the department itself is among the best, it's alma mater of people like Kolmogorov or Zorich. I don't like the rankings because they are just masturbatory devices for the already prestigious, they say nothing about how the subject is taught there or quality of the staff. From people out of ÉNS who went to do their PhD in MSU, they said teachers are better here, give much harder take-home excercises but the finals are easier. Considering Zorich routinely gives freshmen undergrads open problems as a take-home excercise (mandatory to take finals), i wouldn't argue with that. Getting accepted to the PhD was, for me, not very difficult because of my prior work with the department. I started research projects in 2nd year BSc and continued it all the way to PhD where i had to pick new topics. I think work ethic is 80% of it, you obviously need some intellect and some passion, but you won't become PhD just because you love math. We've had an MIT guy that was hospitalized because he couldn't handle his paper getting rejected. PhDs here are required to produce top-notch research, it doesn't matter if it is small. In the west, the emphasis is on quantity.
>>
I've been learning Scheme (dialect of Lisp) for a minute now. I really like how simple and clean it is, and the homoiconicity is really fucking cool. I'll probably learn some ML and Haskell too at some point, but Lisp seems like The Big One as far as FP goes.
>>
>>61454496
My friend got hired by JS. He knows a lot of math and some CS, but I don't think he has much experience with FP. I was under the impression that part of the reason they use Ocaml is because people without much FP experience can read and produce clean code in it without too much hassle or training.
>>
>>61455839
>Lisp has been dead for the last 40 years.
[citation needed]
>>
File: 1434856777137.jpg (35KB, 327x285px) Image search: [Google]
1434856777137.jpg
35KB, 327x285px
>>61454066
It honestly sounds like the company is being run by people who change their mind more than their underwear.

FP languages are good at describing what things are, which makes them resistant to serious refactoring when compared to an imperative or event based language.

Hell, even super strongly typed languages like Ada are a bitch to handle when you have empty suits that treat software like a finger painting exercise rather than the feat of engineering it is.
>>
If I want to learn a Lisp, it seems like Scheme is one that most people recommend. What about Clojure?
>>
>>61452686
FP will never take off with the masses. It's too complex.

You can teach a high school drop out imperative programming. Some can learn it on their own.

FP is harder, to really understand it and use it well you need to be familiar with the theoretical aspects of it.

I'm a mathematician and I enjoy using Haskell, but I can see why it would be hard for an engineer to get it without a formation like mine.
Thread posts: 125
Thread images: 5


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