News for hackers. Stuff that matters.
Re:I would like a job writing Haskell by rr808 on Tuesday February 08, 2022 @08:56AM (#30258387)
One issue is if smart people are more trouble than they're worth. I've seen too many 'smart people' drop in and do a bunch of fancy stuff that no one understands before leaving again because they're 'smarter' than everyone else. I'm still not sure if they were smart or just thought they were.
Re:I would like a job writing Haskell by dimitrios1 on Tuesday February 08, 2022 @09:37AM (#30258863)
This has been my exclusive experience with all the "smart" FP developers who just couldn't help themselves into dropping FP libraries or concepts all over our node.js serverless backend every chance they could. One even quit because he couldn't use purescript on the frontend.

Had to show another the door because he was so disgruntled that we were coding in a paradigm so beneath his intelligence that his toxicity and moping permeated across the entire team.

Like dude do you realize what we are doing here...

If they were that smart I don't think they would have ended up here next to me programming CRUD backends for a mobile app.

Re:I would like a job writing Haskell by whatshisface on Tuesday February 08, 2022 @11:43AM (#30260662)
I have had a hard time figuring out how to phrase this, but I think the problem is that everyone wants to be smart, and sometimes that subconsciously gets turned into "smart people are better," but what we really want other people to be is aligned with us. How capable they are is just the length of the vector, which could even point in the opposite direction making intelligence detrimental.
Re:I would like a job writing Haskell by Taylor_OD on Tuesday February 08, 2022 @03:26PM (#30264125)
I don't think everyone wants to be smart. I don't give a shit about feeling smart or being smart if I get paid well and I'm happy.

I think many folks in eng are used to being told they were smart either in high school or college or an early job and it became part of their self image. They might be smart but they are tossed into a field of people who come from similar backgrounds and now they are average which just doesnt fit with their self image.

Re:I would like a job writing Haskell by whatshisface on Tuesday February 08, 2022 @03:43PM (#30264376)
Nothing you value can be obtained without your brain, although you might use words other than "smart" to describe the abilities involved.
Re:I would like a job writing Haskell by nextaccountic on Wednesday February 09, 2022 @01:58AM (#30269772)
Being hardworking is also an ability of the brain, but distinct from being smart.
Re:I would like a job writing Haskell by NikolaNovak on Tuesday February 08, 2022 @03:44PM (#30264400)
"Smart" also can have a lot of different meanings/outlets/vectors.

First 10 years of my career, I felt bearded Unix Sysadmins were the smartest people I knew :->, whereas I was fully Dilbertian in view of The Evil Pointy Haired Management.

I've been trying to develop "PeopleSmarts" or "Soft Skills" or "Emotional Intelligence" or whatever we call it last 5+ years, and it's... just as much harder and more challenging than technical skillset, as my mentors always told me and I never believed. It's a far fuzzier, squishier, less certain set of problems, and there just isn't O'Reilly-quality literature out there :P.

I have confidence that given time I can learn technical concepts or figure out technical issues.

I think path in front of me to be soft-skill-savvy, emotionally intelligent, is going to be long and hard.

So, how to properly setup LUNs on AIX or optimize a SQL statement or design an ERP architecture is one kind of smart; how to work with your own team to figure out productive way forward is another kind of smart; how to work with client and business and management stakeholders to satisfy their actual needs is another important kind of smart.

Re:I would like a job writing Haskell by upwardbound on Tuesday February 08, 2022 @11:57AM (#30260907)
Agreed. You might be interested in reading about AI alignment which is this concept applied to non-human intelligence, and like you said the same principle holds among people too. https://en.wikipedia.org/wiki/AI_alignment
Re:I would like a job writing Haskell by allemagne on Tuesday February 08, 2022 @01:10PM (#30262078)
Then is the goal of "preventing bad AI outcomes" at any level just a bit absurd? Or at least as absurd as "eliminating alignment issues among humans", or maybe even "bug-free code" if you apply the principle towards relatively simple programs?
Re:I would like a job writing Haskell by upwardbound on Tuesday February 08, 2022 @02:29PM (#30263297)
It is equally challenging as both of those examples, but it's very very important so it's worth working on despite the intractability.

In terms of alignment among humans, most (but not all) human governments agree on certain principles, which are encoded in international law and negotiated within the United Nations.

E.g., most (not all) people agree that torture and slavery are unacceptable.

Thus, it is possible and important to get AGI to abide by these high-level human values. E.g. if an AGI system is put in charge of maximizing the GDP of a nation, it should do so in accordance with generally recognized principles of human rights and human dignity.

There's certainly a lack of agreement among nations but at least we mostly agree on some things and getting AI to agree with us on the things we agree on is important.

If you like podcasts, here's a great podcast episode which explores a philosopher's perspective on how to make moral decisions (e.g. should abortion be legal) in a situation of moral uncertainty:

https://futureoflife.org/2018/09/17/moral-uncertainty-and-th...

Re:I would like a job writing Haskell by cogman10 on Tuesday February 08, 2022 @09:47AM (#30258995)
A smart dev is someone that learns new paradigms and concepts and the applies them only where they make things easier to understand/maintain.

It's not enough to learn about higher kinded types, you've got to know when forcing them into a place is a bad idea.

I've seen a bunch of devs that can't help but write unmaintainable code because they learn a new programming concept and decide to shoehorn it in everywhere. This happens even with basic concepts like generics.

The same thing happens to devs that aren't curious. If they never learn newer programming concepts then every problem looks like a nail and inheritance is the hammer. Those systems equally become unmaintainable because clearer programming paradigms would make the code more readable and maintainable.

Re:I would like a job writing Haskell by imoverclocked on Tuesday February 08, 2022 @01:22PM (#30262260)
Contrast that with walking into a codebase in a statically typed language that uses String as the predominant type with little to no effort spent on sanitizing the data in those Strings.

It’s understandable in pieces… but also really hard to scale/refactor/replace after it has grown enough.

Re:I would like a job writing Haskell by cogman10 on Tuesday February 08, 2022 @01:57PM (#30262786)
I think I covered that case in the end of my comment.

> The same thing happens to devs that aren't curious. If they never learn newer programming concepts then every problem looks like a nail and inheritance is the hammer.

Stringly types or the overuse of Dictionary/maps in a statically typed language are extensions of this concept.

Re:I would like a job writing Haskell by e12e on Tuesday February 08, 2022 @02:22PM (#30263197)
> A smart dev is someone that learns new paradigms and concepts and the applies them only where they make things easier to understand/maintain.

I think we put a little to much stock in "smart" developers. What you describe sounds more like a "wise" developer - as in "a clever developer knows how to map-reduce, a wise developer knows not to put it in a fruit salad"...

Re:I would like a job writing Haskell by cogman10 on Tuesday February 08, 2022 @03:23PM (#30264086)
IMO, there's no difference. There are few concepts in programming that are really unknowable or ungraspable. Anyone that can program can misunderstand and misuse programming concepts.

The only wisdom is asking "should I"? And that, to me, is being smart and cleaver. Cleaver people don't write hard to understand/maintain code. Cleaver people write code that anyone can come to and understand. They write elegant code.

Re:I would like a job writing Haskell by duxup on Tuesday February 08, 2022 @10:16AM (#30259335)
Flexibility + smart is the ultimate smart.

It’s hard enough to figure out who has smarts, let alone real flexibility:(

Re:I would like a job writing Haskell by AceJohnny2 on Tuesday February 08, 2022 @02:15PM (#30263086)
Sounds like a type of Bikeshedding: providing contribution (that's more noise than value) just to prove you're contributing.

https://en.wikipedia.org/wiki/Law_of_triviality

Re:I would like a job writing Haskell by ndneighbor on Tuesday February 08, 2022 @02:41PM (#30263468)
As someone who was a little misguided in my early programming career, I think what attracted to me about the FP community is the general enthusiasm that they have in their craft. I don't think it's about the axis on whether if someone is "smart" or not, but if the problem space is interesting enough to devote a whole career to.
Re:I would like a job writing Haskell by imcotton on Tuesday February 08, 2022 @11:23AM (#30260333)
> If they were that smart I don't think they would have ended up here next to me programming CRUD backends for a mobile app.

Good for him.

Re:I would like a job writing Haskell by vp8989 on Tuesday February 08, 2022 @09:35AM (#30258835)
Effectiveness at work from what I have observed is mostly about pragmatism and willpower to do what needs to be done in that context. You need some baseline amount of mental horsepower but in most pursuits it's not that high.

Really smart people can be some combination of idealistic, lazy or simply in a context that diminishes their willpower. Therefore their smarts don't really "manifest" in that particular context. I've worked with lots of people who I thought were bozos because they sucked at their programming job but they were clearly smart about other things.

Re:I would like a job writing Haskell by albrewer on Tuesday February 08, 2022 @10:57AM (#30259940)
In my experience there's a difference between smart and clever, at least when it comes to writing code.

Clever people implement solutions nobody else can - they know the tools they're using inside and out and can do amazing things.

Smart people realize the things they build must last longer than themselves. They implement solutions those that come after them can understand and maintain. Sometimes those solutions are clever. If the problem domain is hard, then the solution is necessarily clever.

Re:I would like a job writing Haskell by dkarl on Tuesday February 08, 2022 @05:13PM (#30265565)
People can be smart and selfish at the same time. I've worked with some extremely smart people who realized that what made work satisfying to them was getting paid to be clever all day. Being smart, they found ways to do that, at the expense of their employers and coworkers. I wasted an hour of my afternoon writing a long and angry screed about my professional experience with functional programming (in Scala) but at the end of the day, sadly, it can be summed up as that, smart people scamming companies for the opportunity to be clever all day. I see mainstream programming benefiting more and more from the influence of functional ideas, so I still think that FP might become the default for professional programmers at some point in the future, at least for some kinds of work, and I think the work I've invested in it has made me a better programmer, but I'm fed up with the kinds of people I've found myself working with along the way.
Re:I would like a job writing Haskell by jimbokun on Tuesday February 08, 2022 @09:50AM (#30259022)
In order to get real value out of a "smart person", I think you need a sufficiently challenging problem for them to work on.

Yes, giving them a CRUD app where they build their own frameworks because they're bored and something about the existing frameworks is sub-optimal probably will end up adding net negative value as they introduce complexity all the other developers now need to understand.

But if you have a ton of PHP code and running at such scale that you need to create a new PHP engine to optimize all of your existing code and save millions of dollars on your infrastructure costs, a "smart person" just might fit the bill.

Re:I would like a job writing Haskell by ska on Tuesday February 08, 2022 @01:25PM (#30262318)
> I think you need a sufficiently challenging problem for them to work on.

One important thing to realize is that the challenge doesn't have to be in the obvious place.

Having a smart person who is really interested in solving the business problem you are trying to solve will make things better all over the place.

Having a smart person who is uninterested in the business problem you are trying to solve and looking for intellectual stimulation in the technical stack - well, if you aren't doing something "interesting" it's probably going to go poorly.

Re:I would like a job writing Haskell by benreesman on Tuesday February 08, 2022 @10:17AM (#30259359)
The original HHVM team were in fact… legends. :)
Re:I would like a job writing Haskell by smasher164 on Tuesday February 08, 2022 @01:26PM (#30262321)
On the flipside, the usual argument around "simplicity" and "readability" is just code for "familiarity". A Haskeller used to composing a bunch of folds has no obligation to transform their program into something readable by Python programmer, unless of course, they were the only Haskeller.

But I agree, there's a difference between code that veers towards obfuscation and code that employs techniques someone just hasn't learned yet.

Re:I would like a job writing Haskell by sangnoir on Tuesday February 08, 2022 @06:31PM (#30266399)
> On the flipside, the usual argument around "simplicity" and "readability" is just code for "familiarity"

I found this resonating with my own thoughts towards LeetCode questions, which are at odds with most on HN. Unfamiliarity makes people dismiss them as requiring rote memorization, where's most of them are a matter of figuring out the nature of the problem space, and choosing the right data structure and algorithms

Re:I would like a job writing Haskell by bydlocoder on Tuesday February 08, 2022 @01:49PM (#30262665)
Haskell is much more than folds, maps and monads.
Re:I would like a job writing Haskell by smasher164 on Tuesday February 08, 2022 @01:58PM (#30262795)
I agree. I'm just presenting an example where patterns that one camp deems as "too clever" are normal to another.
Re:I would like a job writing Haskell by bcrosby95 on Tuesday February 08, 2022 @12:17PM (#30261193)
The smart people I know write simple solutions to hard problems.

But if you stick a smart person on a boring problem they'll probably write clever solutions for the boring problem.

Re:I would like a job writing Haskell by outworlder on Tuesday February 08, 2022 @06:49PM (#30266540)
> . I've seen too many 'smart people' drop in and do a bunch of fancy stuff that no one understands before leaving again because they're 'smarter' than everyone else.

Eh, they are not really 'smart' now, are they?

Sure, they may be mathematically gifted or what have you. But if your definition of 'smart' includes the individual's performance when responding to their world around they, they definitely were not :)

The 'smartest' (according to my own definitions and biases) developer I know also happened to write the most beautiful and easy to understand code. He could write clever one-liners. He knew better not to.

Re:I would like a job writing Haskell by benreesman on Tuesday February 08, 2022 @11:52AM (#30260817)
IMHO when someone looks at a problem and sees some outlines of mathematical structure and thinks “C++ is overkill performance-wise and I don’t want to take the incremental maintenance burden, but Python is so friggin slow that it matters for even this”, they’ve got a few options. If you’ve already got a JVM in your stack, that’s probably the call. If you’ve already got Cargo in your stack, also reasonable. But if you don’t and are unlikely to, well you kinda go the Haskell/ML route or the Go/Node route.

And as much as my personal spiritual home is the MEAN stack, the Haskell/ML route seems to attract more people who know heavier CS than I do.

Re:I would like a job writing Haskell by yowlingcat on Tuesday February 08, 2022 @12:23PM (#30261295)
"Python is so friggin slow that it matters for even this"

Why wouldn't they use Cython, any of the scipy/numpy ecosystem, or Numba?

"the Haskell/ML route seems to attract more people who know heavier CS than I do"

Why is someone else knowing heavier CS than you do a good heuristic for a tool being the right long-term solution for a job to be done?

Re:I would like a job writing Haskell by benreesman on Tuesday February 08, 2022 @05:06PM (#30265497)
Because I want to work with people more capable than myself for at least two reasons:

1. I’m likely to learn a lot from them.

2. The harder the problem is that the team can realistically tackle the more likely the team is to do something novel/interesting/beneficial/profitable, ideally all at once.

Re:I would like a job writing Haskell by yowlingcat on Tuesday February 08, 2022 @07:48PM (#30267087)
I didn't ask you why or whether you want to work with people more capable than yourself (on that, I'd agree with you, striving to work with people more capable than oneself is generally desirable).

Would you mind answering the question I asked rather than an unrelated one? Maybe I can be even more clear than in my original question:

What does someone else (who knows heavier CS than you) liking some tool have to do with that tool being the right long-term solution for any particular use case?

Re:I would like a job writing Haskell by anm89 on Tuesday February 08, 2022 @02:14PM (#30263065)
Yeah, I totally acknowledge that most of the people I know that like Haskell are probably a lot smarter than me from an IQ perspective and yet if I was running a company I wouldn't hire a majority of them. Most of them seem to lack pragmatism.

I think intelligence is as much a choice as it is a built in trait in many ways and the people who like Haskell are the ones who enjoy solving very difficult abstract problems over just getting stuff done. The world needs some people like that but most projects don't.

Re:I would like a job writing Haskell by daxfohl on Tuesday February 08, 2022 @12:56PM (#30261869)
This reminds me of Dan Abramov's post about identifying when not to be smart. https://overreacted.io/goodbye-clean-code/
Re:I would like a job writing Haskell by andai on Tuesday February 08, 2022 @09:48AM (#30259000)
That's the difference between understanding the machine and understanding people (and understanding that most people do not (really want to) understand the machine).