News for hackers. Stuff that matters.
Re:Weird Languages by jstx1 on Saturday August 28, 2021 @06:24AM (#28336975)
> Pick a language that most programmers consider weird but whose median user is smart

This just comes across as arrogant. You can neither know how smart the median user is, nor does it say much about the merits of the tool. It encourages some weird sense of superiority by putting yourself in a group that's exclusive and think they're smarter than everyone else. There are better ways to pick programming languages than trying to maximise your own pretentiousness.

Re:Weird Languages by KronisLV on Saturday August 28, 2021 @06:51AM (#28337087)
I'm not entirely sure about that. Sure, it's probably not in good taste to claim that, however there are plenty of tricky languages out there that have steep learning curves but that are very capable in their own domains.

Even in lieu of that bad taste or elitism, I'd still like to suggest that it takes more patience, self discipline and perhaps a tinge of being clever to pick up something like C, C++, Rust, Haskell, Lisp, APL, Prolog or even regular expressions than it does Java, .NET, Node/JavaScript/TypeScript, Python and others and I say that as a person who relies on the latter for the most part in their daily life.

It's not that you have to be an outright genius to use any of them, but writing code in them well (for example, managing memory and avoiding C++ footguns) takes discipline and definitely could be applauded on some level, as could using APL, Prolog or regular expressions to efficiently solve problems in the few domains that they're actually good at and suited for.

Personally, some of these views of mine formed after listening to a podcast that talked about APL and someone's experience with it: https://corecursive.com/065-competitive-coding-with-conor-ho...

Re:Weird Languages by jstx1 on Saturday August 28, 2021 @07:48AM (#28337338)
I think that you're moving the goalposts a bit by focusing on difficulty or complexity. Yes, of course some languages are more difficult than others. But the difficulty of a language is separate from the intelligence of the users of that language.
Re:Weird Languages by lliamander on Saturday August 28, 2021 @01:38PM (#28339874)
What's interesting isn't the difficulty or complexity of the language, but the difficulty of the problems that language is typically used to solve.

Some languages are difficult to learn initially (like Prolog) but that's not because they are intentionally obscure, but because they need to be different.

Re:Weird Languages by jstx1 on Saturday August 28, 2021 @03:15PM (#28340651)
By "problems to solve" do you mean

- programming language problems like making certain language features, paradigms and kinds of abstractions available (or not available)

or

- solving actual problems when building software - how to build a maintainable and performant server, OS, web UI etc.

For the second you're better off staying away from the 'weird' languages especially if you care about being productive.

Re:Weird Languages by goatlover on Saturday August 28, 2021 @11:20PM (#28343804)
Well, lispers claim that lisp is really good for building programs where the specifications are complicated and not already a solved problem. Smalltalkers claim their environment is incredibly good for prototyping a solution. And array programmers would argue numerical computing is much easier in their languages.
Re:Weird Languages by eckesicle on Saturday August 28, 2021 @09:13AM (#28337765)
I think it has to do with active choice. The first programming language that people are introduced to are unlikely to be the "best" for them. The first programming languages are disproportionately java, c#, PHP these days. By extension the talented people mostly move on as they learn new and interesting ideas. This leaves the pool of developers poisoned by the mediocre or bad people who spend their entire careers being expert beginners in one domain. People come to the more exotic languages, like Haskell, as their second, third or fourth language. By default the average developer in that pool will just be much much stronger.

Just because the average developer in a language is bad it doesn't mean that the language itself is bad.

Re:Weird Languages by themulticaster on Saturday August 28, 2021 @11:20AM (#28338732)
> The first programming languages are disproportionately java, c#, PHP these days.

I'd say it depends on what we're defining "first programming languages" as - first PL learnt in intro-level university lecture, or first PL learnt individually? But my impression is that the most popular PL for beginners seems to be Python. And while I'm not really a fan of Python, I understand where that's coming from: Python is relatively simple to learn, has a huge library ecosystem and comes with relatively few footguns.

Re:Weird Languages by stuaxo on Saturday August 28, 2021 @01:25PM (#28339771)
+1 on this, maybe it was C#, PHP and Java ten to fifteen years ago but it's not the case now.
Re:Weird Languages by KronisLV on Saturday August 28, 2021 @11:54AM (#28339036)
> But the difficulty of a language is separate from the intelligence of the users of that language.

I feel like this is obviously true when taken at face value, however in practice there are probably loose correlations (not causation) between those two, even if not for the reasons that you'd expect.

I'm not sure whether it was mentioned in the same podcast that i linked, or another one, but there was a very interesting example for Haskell that was offered in one discussion. The argument was that the people who utilize Haskell tend to be more likely than the average developer to have ties to academia (which may incidentally also speak of their cognitive abilities):

  - Haskell is popular for numerical processing, moreso than for the somewhat typical CRUD apps
  - because of this, Haskell is more likely to have materials describing it which are aimed towards an academian audience
  - ergo, those materials won't always be simple step by step tutorials on how to do things, but will sometimes assume familiarity with certain maths concepts and will also focus on solving a particular set of (advanced) problems
  - and when these materials attempt to explain these simpler things, invariably you'll still end up with explanations of what monads are somewhere in there, whereas with something like Python you'd have less overhead and a less steep learning curve
  - as a consequence of all of this, Haskell won't be as popular as Python, or similar languages
In the podcast, the person said that these "weird" (or perhaps "niche" is a better word) languages would be far more widespread if they were made more easily approachable, because right now there are no easy and simple to digest books to recommend to people who'd like to get started with them.

Now, the person might be wrong, since their observations are bound to be subjective and i might be wrong to assume that they hold true in many cases because of how believable all of that sounds, but to answer your question, i'd argue that the average user of Haskell is indeed a bit more intelligent than the average user of Java or many other general purpose languages (even though then we step on the mine of having to define what intelligence even is, where opinions can once again differ).

I'd say that simply happens, because some of those languages are far more approachable and therefore more widely used by a large audience of people, not all of which need to concern themselves with solving the issues that people in academia need to deal with. Of course, there could be the counterpoint that not everyone in academia is brilliant, but i remember seeing some pretty admirable professors and researchers back when i was in my university!

Re:Weird Languages by chalst on Saturday August 28, 2021 @09:42AM (#28337973)
Richard O'Keefe (2013), erlang-questions mailing list:

    Once upon a time (about 1992ish) in a land where the moles
    have beaks and swim and the deer jump on their hind legs
    (Australia), a certain computer science department (RMIT)
    decided that Pascal had reached its use-by date.  What shall
    we do?  What shall we replace it with?  Set up a committee!

    I was on the committee.  We set up a short list.
     (1) Scheme.
         Tiny language, amazingly capable, REPL so you can try
         things out, implementations for all the machines we
         cared about.  And Rob Hagan at Monash had shown that
         you could teach students more COBOL with one semester
         of Scheme and one semester of COBOL than you could
         with three semesters of COBOL.
     (2) Miranda.
         The commercial precursor of Haskell.
         Melbourne University were also looking at this (or had
         already switched to it) which would make it easier to
         pick up some of their students.
     (3) Ada.
        Close enough to Pascal that our staff were comfortable 
        with it and our material would not need major revision.
        A better Pascal than Pascal.
        Handled concurrency about as nicely as an 
        imperative language can.

    What was the deciding factor?

    Schools.

    Our deliberations leaked, and we started getting phone calls from
    careers masters saying "if you go all theoretical [read: (1) or (2)]
    we'll tell our pupils not to study with you."
http://erlang.org/pipermail/erlang-questions/2013-January/07...

Personally, I'd maybe not apply the adjective "smartness" here, but there is some sense in which some languages have better taste than others, and what drives language popularity is not usually good taste, and I interpret pg here to be saying he prefers to recruit programmers who show good taste in the languages they work with.

Re:Weird Languages by mumblemumble on Saturday August 28, 2021 @09:50AM (#28338026)
My school started everyone with a semester of Scheme, followed by a semester of C.

I don't have any sort of legitimate control group to compare to, and I'm obviously biased as heck, but I do still hold the impression that I and others who learned that way can learn new languages and programming techniques much more quickly than acquaintances who were fed a steady diet of Java or Python. Many of them, even 20 years on, still don't really have a firm grasp of what single dispatch is in the first place, which hinders their ability to use it well. Which is ironic, considering it's all they've ever known.

I agree; I hate the "smart" perception. My guess is that, if there's anything there, it's just the gift of a stronger grasp of the fundamentals. Scheme brings you very close to the abstract foundation of computer science. C brings you very close to the technical foundation of computer engineering. I'd like to think there's a lot of value in starting out by establishing a firm foundation like that.

Re:Weird Languages by chalst on Saturday August 28, 2021 @09:58AM (#28338103)
This is a very nice combination to have for those students who want to go deep into language implementation and its interface with OSes. C is good for understanding how to write VMs, Scheme is great for code transformation.
Re:Weird Languages by 7thaccount on Saturday August 28, 2021 @11:38AM (#28338880)
This is both troubling and understanding as someone who has been on both sides.

As a student, we were required to learn assembly in a microcontrollers course. It was a disaster, because it was a very short semester and they were asking we learn microcontrollers and assembly at the same time when most of us could barely program to begin with. I left a review urging they change to C (still low level, but so much easier) and they actually switched the next year.

Learning ASM is indeed important from a theoretical stance (and practical for some jobs), but you can't expect students to just pick that up in a few weeks worth of classes.

Then when I got an office job, I learned a LOT of engineers do process automation programming. At that point I could see even something as hideous as VBA being used to efficiently save hundreds of hours of work.

What do students really need? It depends on a lot of factors. Are they going into academia to study PL theory? Then Lisp, Prolog, C, and Haskell are probably pretty important. Are 95% of your students going into industry? Then Python, C++, Java, C#, JS, Excel, and SQL are all going to be important.

I think the really theoretical stuff (Haskell, Prolog, Lisp) should only be briefly introduced in undergrad and expanded upon in grad school. Or you have specific academic or industry based programs.

Re:Weird Languages by aranchelk on Saturday August 28, 2021 @01:05PM (#28339593)
> I think the really theoretical stuff (Haskell, Prolog, Lisp) should only be briefly introduced in undergrad and expanded upon in grad school. Or you have specific academic or industry based programs.

My experience is Haskell actually is highly practical for many tasks. So I think it’s misleading to call it “really theoretical”. It’s the reason you see FP in areas as diverse as spam filtering, distributed computing, smart contracts, various financial services, etc.

While less common, there absolutely are areas in industry that do tend to use FP, and I don’t think you should cut students off from easily entering those specialties (or having to plan to enter them ahead of time).

Additionally, there are concepts used in imperative languages which are not as easy to understand or express in those languages, e.g. promises, are more clearly expressed as monads in a language like Haskell.

Re:Weird Languages by 7thaccount on Saturday August 28, 2021 @01:32PM (#28339832)
I think your view of Haskell's use in industry is skewed by HN. Yes there are SOME Haskell jobs, but it's not even in the top 50 languages last I checked (or if it is, it is still far down the list). A student getting a job doing spam filtering in Haskell for FB would be a nearly zero probability event in comparison to something in Java. Just go look for Haskell job postings. I bet it's 0.0001% of something like C#. So when you say uncommon, I see exceedingly rare. Every hour of student time is precious, so a single course covering PL theory in undergrad that introduces the concepts should be plenty. If someone really needs to learn Haskell in industry (a unicorn case), they can do it there. Otherwise the focus should be on practical experience and theory relevant to 95% of computer science and related jobs (object oriented programming, SQL or NoSQL databases, algorithms, web development, networks, operating systems, cloud computing...etc).
Re:Weird Languages by aranchelk on Saturday August 28, 2021 @03:21PM (#28340702)
> I think your view of Haskell's use in industry is skewed by HN

It’s really funny you say that, I view HN as being frequently anti-FP. I guess when you split the difference everyone is a bit unhappy. In my case I’ve been programming for over 30 years and only on HN for a few months, so I don’t feel like it’s swayed me much, you never know. I’ve read Graham for years and he certainly has been an influence.

Overall Haskell alone isn’t that big in industry, but it most clearly illustrates many FP concepts and is the originating point (or an early adopter) of new tech that makes it into other languages.

If you look at all the jobs in Scala, Haskell, Clojure, F#, OCaml, Elm, Erlang, and PureScript. Then you throw in all the jobs in multi-paradigm languages Python, JS, etc. with managers or coding standards that dictate functional techniques, then subtract the particularly awful soul crushing dead-end jobs (that regardless of paradigm or language) probably none of us want, I think you may be underestimating the representation of FP.

Ultimately when I hire someone with a 4 year degree from a research university, I’m not expecting them to have 100% vocational training, they should be literate in at least a couple languages, but I’m much more interested in knowledge of concepts and adaptability.

The best Python programmer I’ve worked with described his junior year as being almost entirely Standard ML. I think he was better for it.

Re:Weird Languages by YeGoblynQueenne on Saturday August 28, 2021 @10:58AM (#28338566)
For reference, this Richard O' Keefe:

Dr. Richard A. O'Keefe is a computer scientist best known for writing the influential book on Prolog programming, The Craft of Prolog.[1] He was a lecturer and researcher at the Department of Computer Science at the University of Otago in Dunedin, New Zealand and concentrates on languages for logic programming and functional programming (including Prolog, Haskell, and Erlang).

https://en.wikipedia.org/wiki/Richard_O%27Keefe

Re:Weird Languages by jimbokun on Saturday August 28, 2021 @01:10PM (#28339635)
This is a great quote:

> And Rob Hagan at Monash had shown that you could teach students more COBOL with one semester of Scheme and one semester of COBOL than you could with three semesters of COBOL.

Really makes the point about how studying uncommon languages can pay off.

Re:Weird Languages by p_l on Saturday August 28, 2021 @10:50AM (#28338511)
Well, the current mode is to select by availability of cheap resumes (majority) or fashion (minority, hip places).

Whik I'm not sure I'd always agree with PG, a recent anecdata I heard was a company selecting for Lisp because picking Python meant wading through mountains of fresh bootcamp grads with (quote) "overblown sense of their own capability" (unquote) - same applied to JS, less so to C#/Java.

(Un)fortunately, the company noticed they didn't have resources to filter that, and decided that by going for "weird but capable" combined with global remote organisation they could filter for people experienced, or willing to experiment with weirder languages. Apparently ithe cost of having to sometimes implement things from scratch was lower than expected.

Re:Weird Languages by ncmncm on Saturday August 28, 2021 @06:36AM (#28337012)
Agreed, it is self-congratulatory.

Paul Graham essays decline in value exponentially with the number of times he mentions Lisp in them. He had one that went below 2^-20.

Re:Weird Languages by pontus on Saturday August 28, 2021 @08:55AM (#28337638)
I think a similar thing can be said about time. There were a lot of novel things to share in the early days, but these days it seems like his essays have taken a turn toward trite elitism. To be clear, I don't think this is specific to PG, but rather the case whenever someone feels the urge to continue producing for the sake of producing, nor am I saying that I'd be able to do any better. PG obviously has orders of magnitude more wisdom to share than me or most other people.
Re:Weird Languages by ashtonkem on Saturday August 28, 2021 @09:23AM (#28337831)
It seems like the trend for the past ~10 years has been towards public figures slowly becoming cranks online. I have no idea why, but it sure seems to be happening a lot.
Re:Weird Languages by ncmncm on Saturday August 28, 2021 @04:27PM (#28341232)
It is true of those with a Facebook or Twitter account, and it is because they need to get increasingly cranky to maintain the level of attention they have got used to. I doubt a change in algorithm could help much, but it seems worth trying more than once.
Re:Weird Languages by ashtonkem on Saturday August 28, 2021 @07:23PM (#28342464)
It’s not been clear to me if having social media turns public figures into cranks, or if some other process is involved and social media merely observe their descent.
Re:Weird Languages by ncmncm on Saturday August 28, 2021 @07:57PM (#28342670)
Every one of us has the spore of an inner crank, or more than one, only waiting for air and moisture to burst forth.
Re:Weird Languages by tomasdore on Saturday August 28, 2021 @09:05AM (#28337711)
Needs to do a Daniel Day Lewis and go make shoes for a bit instead? (or whatever DDL is doing)
Re:Weird Languages by ashtonkem on Saturday August 28, 2021 @09:28AM (#28337869)
Probably a good idea for anyone that reaches the level of becoming a “public figure”. Log off, go do something with your hands, and come back in 4-6 months. Might reduce the incidence of formerly respected figures going full crank.
Re:Weird Languages by stuaxo on Saturday August 28, 2021 @01:27PM (#28339788)
Yes !

Doing something outside of your bubble is great for learning some humility and G-d knows PG could do with some of that.

Re:Weird Languages by quickthrower2 on Saturday August 28, 2021 @11:48PM (#28343923)
Once your rich and have made it you can’t emulate hustle mode anymore. Sure you can shine shoes but in the back of your mind you know you don’t have to.
Re:Weird Languages by Abhinav2000 on Saturday August 28, 2021 @01:12PM (#28339659)
I _really_ don't know how you got that from this article.
Re:Weird Languages by gotts on Saturday August 28, 2021 @06:38AM (#28337022)
Why do you think Paul Graham essays decline in value exponentially with the number of times he mentions Lisp in them?
Re:Weird Languages by andybak on Saturday August 28, 2021 @06:53AM (#28337105)
Eliza. Is that you?
Re:Weird Languages by bqmjjx0kac on Saturday August 28, 2021 @09:58AM (#28338101)
Do you feel like it is?
Re:Weird Languages by LAC-Tech on Saturday August 28, 2021 @07:11AM (#28337183)
I'm a javascript fan. I think it's a good language and for the most part I enjoy programming in it.

However I am not going to argue that the median javascript user is as smart as the median ocaml user. 99% of people learn javascript because they have to. Most people learn ocaml because they are enthusiasts. They're interested in programming language concepts and becoming more effective.

Re:Weird Languages by tasuki on Saturday August 28, 2021 @09:41AM (#28337961)
Why do you think JavaScript is a good language?
Re:Weird Languages by Matthias1 on Saturday August 28, 2021 @10:08AM (#28338194)
I'm a big fan of Javascript. It runs everywhere, is easy to write, is brutally flexible.

I would never call it a "good" language. It is an abomination created by the dev teams at 4 different browser companies over the course of 20 years with no coordination between them.

Re:Weird Languages by runevault on Saturday August 28, 2021 @10:48AM (#28338504)
And the original version was banged out in a very short time period to create a feature. Then everyone else just piled onto it w/o consideration for the consequences.
Re:Weird Languages by SavantIdiot on Saturday August 28, 2021 @01:28PM (#28339796)
It is wildly flexible, aligned with how programming is taught, and infinitely documented.

It is the swiss army knife of programming. Even top-tier hackers use it as a primary tool. Check out Frida[1], it uses the Chrome v8 engine to inject parasitic tracing code written in JavaScript into any OS (incl. android & ios). There's no language that would have fit the bill like JS+v8.

[1] https://frida.re/

Re:Weird Languages by goatlover on Saturday August 28, 2021 @11:39PM (#28343877)
Isn’t V8 written in C++? There’s no reason Python can’t be as much a Swiss Army knife, except that it doesn’t run in the browser, which was just a historical matter that it was JS and not some other language. Tcl was proposed, and Sun tried to get Netscape to run Java natively.
Re:Weird Languages by SavantIdiot on Sunday August 29, 2021 @11:55AM (#28347736)
Thank god it wasn't TCL.
Re:Weird Languages by Mikeb85 on Saturday August 28, 2021 @01:40PM (#28339898)
JavaScript is basically a lispy core with Java or C esque syntax and a bunch of features from all other programming languages incorporated over 20 years. It's fast, flexible and easy to learn. Just look at all the things that have been built in JavaScript...
Re:Weird Languages by Scarbutt on Saturday August 28, 2021 @10:56AM (#28338549)
There is a useful and practical small diamond hidden in the big ball of mud.
Re:Weird Languages by dunefox on Saturday August 28, 2021 @11:41AM (#28338904)
Yeah, it's called Lisp.
Re:Weird Languages by dunefox on Saturday August 28, 2021 @02:46PM (#28340431)
For those who are downvoting me: Javascript was deliberately invented to be Scheme without the Lisp syntax... Jesus.
Re:Weird Languages by LAC-Tech on Saturday August 28, 2021 @06:52PM (#28342251)
Javascript would be amazing with s-expressions and hygienic macros. One of the biggest missed opportunities in our field.
Re:Weird Languages by goatlover on Sunday August 29, 2021 @12:04AM (#28344001)
Via the Self programming language. That’s where prototypes come from. Self messages were closures, so JS functions are first class. Smalltalk was considered to be in the spirit of Lisp, and Self replaced classes with prototypes. That or Brendan Eich was mixing several features from expressive languages.
Re:Weird Languages by LAC-Tech on Saturday August 28, 2021 @06:51PM (#28342240)
- Relatively expressive

- Relatively fast

- Enormous ecosystem - the "good parts" of which still have practically everything you need

- Top notch typechecker in the form of typescript

Re:Weird Languages by User23 on Saturday August 28, 2021 @10:44AM (#28338470)
I've known a great many programmers over many years and I've observed some patterns I'll note below. I'm not hypothesizing on why any of this is and it could be for any number of reasons. However, neither arrogance nor a desire to maximize pretentiousness has struck me as one of them, except for a handful of the most immature persons who quickly grew out of it.

Every single programmer interested in any language in the ML family or Haskell has considerably above average[1] intellectual horsepower. The syntax and type system can both fairly be called "weird."

The Lisp programmers I've encountered are along a wider range. They've ranged from average to ML tier, the latter being the ones that, as PG observes, are more interested in "weird" features like macros, call/cc, and so on.

And then you have extremely popular languages like C, C++, Java, JavaScript, Python, and so on. Virtually every programmer has used one or more of them to a significant degree, so the mean programmer using one of those languages is virtually the same as the mean programmer in the general population. This is expected since in cases like this the mean of a subset approaches the mean of its superset as the size of the latter approaches that of the former. Programmers who master C++'s template system are an exception to the above. They're also well above average.

[1] In this comment everywhere I say average or mean I'm referring to programmers and not the general population. Average isn't bad, the average person here is quite bright for example.

Re:Weird Languages by marcosdumay on Saturday August 28, 2021 @01:01PM (#28339554)
> Every single programmer interested in any language in the ML family or Haskell has considerably above average[1] intellectual horsepower.

Just to point that there's nothing strange or unexpected about this. You will get people that are more intellectual than average it you filter by any niche intellectual activity with no immediate non-intellectual reward.

I mean, if you search for programmers that understand plant physiology, you will get the same effect. It basically means that smart people tend to be curious.

Re:Weird Languages by tester756 on Saturday August 28, 2021 @01:18PM (#28339711)
>The Lisp programmers I've encountered are along a wider range. They've ranged from average to ML tier, the latter being the ones that, as PG observes, are more interested in "weird" features like macros, call/cc, and so on.

I'd say that since there's lack of Haskell jobs, then non passionate people do not touch it since it's useless to them

Passionate people check it out cuz other passionate people recommended it

And circle repeats.

Re:Weird Languages by mdp2021 on Saturday August 28, 2021 @07:16AM (#28337212)
There's a good chance you misread it.

I interpreted it at second effort as:

"Pick a language that is famous for being an oddball but that has good credentials, since you have seen that people that to you are worth credit use it".

Re:Weird Languages by ashtonkem on Saturday August 28, 2021 @09:21AM (#28337821)
“Weird sense of superiority” is a very succinct way of describing most of PG’s takes on programming.

I’m reminded of his argument about how “hackers” choose languages that let them type the fewest characters possible, an argument that seems empirically unfounded to me.

Re:Weird Languages by toolslive on Saturday August 28, 2021 @10:53AM (#28338533)
Some of PGs arguments against static typing (in hackers and painters, IIRC) were also completely unfounded. It turned out he was confusing static typing with explicitly having to type (keystrokes that is) the type of a variable or parameter. Utterly unaware of type inference.
Re:Weird Languages by ashtonkem on Saturday August 28, 2021 @01:51PM (#28339992)
Static typing and inference aside, I find that his arguments about language verbosity and character count utterly without evidence. A quick review of the startup scene will show a wide mix of programming languages, including a lot of Java.

It’s fine if that’s his preference, but the argument that the best programmers (“hackers” in his parlance) prefer what he prefers to be both self serving and contrary to actual real world evidence.

Re:Weird Languages by courtf on Saturday August 28, 2021 @04:48PM (#28341346)
What is the most impressive programming feat PG ever accomplished? A Lisp dialect maybe?

I sort of get the sense that he doesn't realize how many crazy talented (but not famous) programmers there are out there. He's got a microphone and is determined to keep using it to tell us how great his ideas are, but the audience has gotten a lot more discerning since the 90s when producing a CRUD app in Lisp could still be considered a feat.

Re:Weird Languages by klipt on Saturday August 28, 2021 @09:49AM (#28338020)
> I’m reminded of his argument about how hackers choose languages that let them type the fewest characters possible

Ah yes, just like real writers write in Ithkuil, a language constructed to maximize the meaning encoded per syllable.

Re:Weird Languages by SavantIdiot on Saturday August 28, 2021 @01:30PM (#28339816)
I wonder how much coding PG does these days. He reminds me of Al Bundy, how Al constantly talks about his highschool football team years as his life's peak, 30 years after the fact.
Re:Weird Languages by tharne on Saturday August 28, 2021 @12:00PM (#28339070)
Oh c'mon. There are clearly languages where the median intelligence of the community members is higher than others -- I'm not a Haskell fan myself, but I have to concede that the community around Haskell is very obviously comprised of smarter than average people. Check out their IRC or Slack channel if you have any doubt.
Re:Weird Languages by yellow_lead on Saturday August 28, 2021 @06:37AM (#28337016)
Yeah, this data simply doesn't exist and trying to judge languages by their community will often leave you with variable perceptions, depending on many factors.
Re:Weird Languages by swman on Saturday August 28, 2021 @12:37PM (#28339359)
I think it makes sense. For example, Erlang is a kinda weird (to me) language. Back in 2017, I went through a book on Elixir + Phoenix, and then spent some time going through Erlang topics. I mostly spend my day on mobile app and backend programming, in languages like Swift/Kotlin/Javascript/Go.

I believe I learned a lot, and most of the people I encountered on those slacks and forums seemed a lot more experienced and capable. That's also because the language is kind of niche but powerful, so not everyone is starting out their career trying to print Hello World in Erlang. It is a language one would discover when trying to solve a specific problem, in my opinion at least. Therefore, there are less noobs like me and the people I encountered were super helpful and thorough compared to my experience on other languages.

Re:Weird Languages by tzs on Saturday August 28, 2021 @11:26AM (#28338778)
What a strange argument. What I've seen in other fields is that when the people who are clearly smarter than me in those fields (whether by natural ability or by experience and hard work) tend to use different tools than I do it is usually because those tools are better for work in that field. They might also be harder to learn or use, but for those who can learn to use them well they end up being more productive than if they used the tools I am using.

If I see just one smarter than me person using a particular tool for some task that I also do, it might be because they are using it as an intellectual challenge or for variety, but if I see a lot of smarter than me people using it for that task I've almost always found it is worth looking into it seriously to see if I should use it too.

Re:Weird Languages by lliamander on Saturday August 28, 2021 @02:35PM (#28340368)
In my experience there's a form of stupidity that comes from simply being incurious. Whether someone is interested in exploring languages outside the present set of mainstream imperative languages seems to pretty good indicator of that intellectual curiosity.
Re:Weird Languages by TeMPOraL on Saturday August 28, 2021 @11:02AM (#28338594)
I'd say it's obviously true and right. And it doesn't require assuming arrogance and pretentiousness.

Niche languages, by definition, are not good investment if you're after a well-paying job. A niche language that requires understanding advanced programming concepts is, by definition, filtering for people who a) can understand those concepts, and b) have a non-monetary reason for doing so, which implies c) they're likely not faking it.

Whether or not such people would be good software engineers is another topic. Software engineering encompasses more skills than just raw programming ability. But a proficiency in advanced niche language plus proficiency in a mainstream language plus some work experience? It's hard to imagine how this would not be a good signal for smarts and skills.

Re:Weird Languages by dqpb on Saturday August 28, 2021 @01:47PM (#28339959)
I understand your sentiment. Back when Coursera first started I took a class where 10 minutes into the first lecture the teacher said something like “This is the basic 3rd year calculus you did in highschool”. This was discouraging because it made a qualifying assumption about both me and my highschool that was far removed from my reality. In the end, that detail had no bearing on the class, and seemed to exist only to humiliate me.

But, many years later, I’ve learned I gain nothing from this kind of defensiveness, and simply keep a running list of things I’m “supposed” to know, but don’t yet. Of course, now that is a small list of very uncommon things, which itself shows how much I’ve progressed.

Point being, digging in your heels only hurts yourself.

Re:Weird Languages by amelius on Saturday August 28, 2021 @06:52AM (#28337095)
I think by "smart" they mean "reasonably smart" or "smart about the programming language they pick". Some people just don't care and work 9-5 programming jobs without caring about what language they use as long as they get a paycheck.
Re:Weird Languages by woofie11 on Saturday August 28, 2021 @07:08AM (#28337168)
No. He means "clever" or "inquisitive."

The way I think about programming changed a lot from having used different programming paradigms. Many programming paradigms have little real-world value, but they do make you think about computation, abstraction, and lots of other concepts differently.

That grows your brain in ways which are useful when you go back to your 9-5 Python/JavaScript/Java/C#/etc.

I no longer have time to do these sorts of deep dives, but I did this a lot when I was young, and I'm a much better programmer for it.

I'd look at what he's writing over how he communicates it. Perhaps the language might be arrogant or self-congratulatory, but it benefits you more to look at what he's saying than how he says it. (responding to thread here; you obviously didn't make this mistake)

Re:Weird Languages by axcaz on Saturday August 28, 2021 @01:38PM (#28339876)
I disagree. The quote only mentions that the median user should be smart, which means that you can also learn from them if you are inexperienced.

I also see no pretentiousness. With smart people hundreds of useless discussions are avoided in the first place. If you work in a popular language like Python that attracts all sorts of people, you have 10 preposterous technical and social discussions per day.

I think this essay isn't supposed to be anything comprehensive about Lisp, it's just encouraging his target audience to consider other options.

Re:Weird Languages by stuaxo on Saturday August 28, 2021 @01:24PM (#28339762)
Yup, it feels like my disillusionment with SV and PG are tracking, this is comes across as someone that likes the smell of their own output and wants everyone to know.
Re:Weird Languages by travisgriggs on Saturday August 28, 2021 @11:26AM (#28338782)
Maybe the following would have been more appropriate?

“Pick a language that most programmers consider weird but whose median user is curious and shows the initiative to explore strange new worlds of how to get things done.”

I consider myself a very capable hack. I am not really very “smart.” But I am motivated to learn more. And to improve the craft of software solutions.

Re:Weird Languages by cpach on Saturday August 28, 2021 @06:27AM (#28336982)
Yeah that sentence felt quite weird. I’m not sure I would say that “smart” is a rigorously defined term.
Re:Weird Languages by auggierose on Saturday August 28, 2021 @09:34AM (#28337908)
There is nothing wrong with admitting that a certain group of people is smarter than another one. I would be very surprised if the members of the group I did my PhD in were not much smarter than the average programmer.
Re:Weird Languages by hit8run on Saturday August 28, 2021 @04:38PM (#28341290)
You think hiding behind academic trophys can raise your iq?
Re:Weird Languages by eimrine on Sunday August 29, 2021 @09:38AM (#28346586)
So, you think that hunting for academic trophys does not correlate with smartness? And the way to become smarter is cracking an IQ test to gain a high number to be hiding behind?
Re:Weird Languages by auggierose on Sunday August 29, 2021 @05:45AM (#28345460)
No. I am saying that the IQ of academics is higher in the first place. Not in general, but in that group for certain.