News for hackers. Stuff that matters.
Re:Opinions on functional programming and OCaml by madhadron on Saturday December 23, 2017 @12:31PM (#15995165)
I also work at Facebook. These comments do not reflect any internal wisdom at Facebook. The article should probably be retitled "...from a junior front end engineer."

Facebook uses Haskell internally for a handful of projects[0] and its C++ library, Folly[1], uses a lot of functional programming idioms (which are actually used extensively internally).

[0]: https://code.facebook.com/posts/745068642270222/fighting-spa... [1]: https://github.com/facebook/folly/tree/master/folly

Re:Opinions on functional programming and OCaml by johnmyleswhite on Saturday December 23, 2017 @12:44PM (#15995249)
Christopher Chedeau's original post clearly doesn't represent Facebook's official stance on functional programming (nor does it ever purport to do so from what I can see), but I'm not sure that describing him as "a junior front end engineer" is appropriate either.
Re:Opinions on functional programming and OCaml by madhadron on Saturday December 23, 2017 @12:48PM (#15995276)
> I'm not sure that describing him as "a junior front end engineer" is appropriate either.

What else would you call someone five years out of college and working on the front end the whole time?

Re:Opinions on functional programming and OCaml by magnito2123 on Saturday December 23, 2017 @12:59PM (#15995325)
This goes into a bigger problem in the industry. I see people with inflated titles because they have X years of experience. But if you delve deeper, you will realize their knowledge of programming hasn't really improved in X-1 years. They were never curious enough to learn outside their comfort zone, like how a crawler works, how distributed transactions are handled, and why FP offers a different approach to programming. They are comfortable in their little dugout.

They will ace the interviews because they remember all those algorithms by heart and know the right people. Its just a sad state of affairs. There are more qualified people out there that just don't have the same opportunities because they didn't start their careers at the "right" firm or go to the "right" school.

Re:Opinions on functional programming and OCaml by kgraves on Saturday December 23, 2017 @01:07PM (#15995374)
To be honest, it's just the way it is and nobody wants to change it.
Re:Opinions on functional programming and OCaml by chatmasta on Saturday December 23, 2017 @01:38PM (#15995524)
Pretty sure he’s one of the original creators of react. Does that make him a junior engineer? You tell me.
Re:Opinions on functional programming and OCaml by madhadron on Sunday December 24, 2017 @12:44PM (#16000433)
I'd say yes, but I don't understand the enthusiasm around React. It solves a very specific problem for Facebook: it prevents the refresh rate of a page generated from many, independently developed pieces from getting clobbered by one misbehaving piece. If you don't have that problem, classic MVC or full FRP are preferable.
Re:Opinions on functional programming and OCaml by chatmasta on Sunday December 24, 2017 @01:57PM (#16000759)
Regardless of your personal thoughts, it’s one of the most widely adopted open source projects of all time. And yet you’re asserting that one of its original creators (to say nothing of his other projects) qualifies as no more than a junior engineer?
Re:Opinions on functional programming and OCaml by madhadron on Tuesday December 26, 2017 @11:56PM (#16012930)
> it’s one of the most widely adopted open source projects of all time.

Nope. The BSD network stack? The Linux kernel? Apache? React is part of the small, insular world of frontend development, where there are very few that aren't junior engineers.

So, yes.

Re:Opinions on functional programming and OCaml by chatmasta on Friday January 05, 2018 @03:08AM (#16077282)
Depends how you define "adopted." In this case I personally was defining it as how many people are touching the code. You seemed to define it as how many systems rely on the code.

At the end of the day, we are all people using computers. We interact with code at all levels of the stack. In any given request cycle, a person is interacting with the hardware layer, application layer, operating system layer... and those of dozens of other external systems connected to the internet. Each layer, each system, is just as important as the others. Together they form the experience that is delivered to the user by the computer.

So I don't think you can place a value on the "importance" of a piece of software; all software should be created equal, so to speak. Therefore you cannot evaluate the "adoption" of a piece of software based on some multiple of its importance. You can only rely on the number of people that touch that software as an indicator of how many other people, or systems, might rely on it. If many people, and therefore systems, rely on a piece of software, then I would consider it "widely adopted."

Software has developers and consumers. Both are important.

React, Linux, BSD, Apache... they are all software projects. You cannot compare them based solely on what type of software they are. You need to look at the codependencies they create and the value they provide. Their value comes from the product that developers create, and consumers use. Their codependencies arrive when the consumers are also developers, who incorporate the code into their own project with its own consumer users.

Software with developer consumers is not necessarily more important than software with end user consumers. Neither can exist without the other.

So I guess I'm saying it was presumptuous of me to describe react with the superlative of "most widely adopted" software project (of all time), but I would put it in a class parallel to that of those projects you mentioned. Really, in one class -- software.

Re:Opinions on functional programming and OCaml by thesmallestcat on Saturday December 23, 2017 @01:28PM (#15995470)
A front end engineer.
Re:Opinions on functional programming and OCaml by WhitneyLand on Saturday December 23, 2017 @10:51PM (#15997830)
When I first came out of school and resented such condescension, I wondered if it was something that would seem more acceptable later in my career, instead it now only seems more clear.

Meritocracy is one of the things that makes our field special. Its not perfect, we have our biases, but wearing shorts or tennis shoes to work is not a statement of rebels. It’s a statement, in my view, about less respect for formalities and most respect for people who think, do, innovate, and advanced the state of something.

Those people, a lot of times they are the senior and experienced ones, but it’s really not much of a surprise when their not.

Re:Opinions on functional programming and OCaml by true_religion on Saturday December 23, 2017 @12:58PM (#15995318)
Not junior. They hate that since resume wise they have 9 years experience including school.
Re:Opinions on functional programming and OCaml by IncRnd on Saturday December 23, 2017 @01:08PM (#15995378)
I welcome madhadron's clarification as to the provenance of this advice.
Re:Opinions on functional programming and OCaml by yawaramin on Saturday December 23, 2017 @12:40PM (#15995215)
Not to mention, OCaml in a bunch of places. Most significantly, the Messenger.com frontend codebase is about half OCaml and their bug reports dropped significantly since the conversion.
Re:Opinions on functional programming and OCaml by cies on Saturday December 23, 2017 @01:31PM (#15995486)
With the ReasonML syntax and tooling :)

https://reasonml.github.io

Re:Opinions on functional programming and OCaml by WhitneyLand on Saturday December 23, 2017 @03:46PM (#15996180)
It shouldn’t read junior engineer, it should read one engineer’s opinion. It’s your argument that’s weak, if you must resort to using his rank as a point of persuasion.
Re:Opinions on functional programming and OCaml by vjeux on Saturday December 23, 2017 @02:06PM (#15995677)
Hey, I'm sorry I misrepresented Facebook here. This was a small rant I did in response to a comment on my latest blog post. This is not extremely well thought out.
Re:Opinions on functional programming and OCaml by dbnoch on Saturday December 23, 2017 @02:49PM (#15995915)
IMO don't apologize. OPs comment is meant to discredit you and is rude for someone WHO WORKS AT THE SAME COMPANY.

There is a larger issue where the use of "junior front end engineer" means "Don't take this persons opinion seriously".

Your are 1. an engineer 2. work at Facebook. There are far better ways to say "there are other opinions at our company too"

Re:Opinions on functional programming and OCaml by d0m on Saturday December 23, 2017 @06:07PM (#15996824)
I didn't even know you were at Facebook, it wasn't mentioned in the gist so I don't think it's fair to say you've misrepresented Facebook.
Re:Opinions on functional programming and OCaml by detaro on Saturday December 23, 2017 @06:21PM (#15996893)
The submitter originally added that to the title, it was removed later.
Re:Opinions on functional programming and OCaml by camus2 on Saturday December 23, 2017 @03:03PM (#15995979)
Don't apologize, you have the right to have an opinion. What is not normal here is people attacking you on that very thread for your seniority (or lack there of), this is absolutely shameful.

Bon courage, tu n'as rien fait de mal. Je pense que ce genre de "rant" est mieux adapté à un blog ou il est clair que c'est juste ton opinion et pas celle de l'employeur.

Re:Opinions on functional programming and OCaml by ConAntonakos on Saturday December 23, 2017 @06:11PM (#15996839)
Do not apologize. You did nothing wrong. You explored your curiosities and are learning like everyone else.
Re:Opinions on functional programming and OCaml by stablemap on Saturday December 23, 2017 @02:43PM (#15995887)
It was the submitter who invoked Facebook.
Re:Opinions on functional programming and OCaml by jonesy_hayhurst on Sunday December 24, 2017 @02:21AM (#15998442)
Chiming in with others that it's not worth it to apologize. I appreciated the points in your post, and the comment you're replying to is just ridiculous. Differing opinions are one thing, condescending trash isn't worth anyone's time.
Re:Opinions on functional programming and OCaml by madhadron on Sunday December 24, 2017 @12:39PM (#16000402)
The submitter's problem, not yours. I apologize if I you were hurt by my comment on it.