The Bipolar Lisp Programmer (2007)
shenlanguage.org
shenlanguage.org
It's still one of my favorite posts though. Really resonated with me the first time I read it and I think it's just as relevant today.
>abnormally and persistently elevated, expansive, or irritable mood
>increased self-esteem or grandiosity
>decreased need for sleep
>more talkative than usual or pressure to keep talking
>flight of ideas or subjective experience that thoughts are racing
>distractibility
>increase in goal-directed activity or psychomotor agitation
>excessive involvement in pleasurable activities that have a high potential for painful consequences
ADHD and manic episode, in more concrete terms:
>disorganized, forgets about appointments, loses stuff, puts off chores and homework, can't sit still for too long, suddenly gets up when not supposed to, finishes other people's sentences, doesn't listen when talked to, can't wait for their turn, interrupts busy people, can't pay attention at all in boring classes, mind thinks about anything but the boring task at hand, makes careless mistakes during exams, suddenly finds something interesting to do and works on it all day, finishes the awesome parts of projects then drops them when only the boring stuff remains, highly distracted by noise and background activity
>grandiose delusions concerning own intelligence, potential and abilities, talks about them at length, becomes highly irritated if contested, thoughts race and feels like brain can't process them, thinks he can do anything (like flying) and engages in high risk behavior as result, sleeps 2 hours then goes jogging at 3 AM unable to understand why everybody else is so slow, relentlessly pursues goals and sexual interests to the point of indiscretion, displays exceptionally poor judgement
I know quite a few people with one or the other. The feeling of being overstimulated is one of the ones that ADHD and bipolar disorder often both share. Someone who is manic can feel like their thoughts are racing, like there's so much they should be doing! So it's hard to focus on what the speaker is saying.
Someone with ADHD can feel like there's so much other more interesting stuff all around them constantly, and their thoughts are wandering over to that song they heard earlier. So it's hard to focus on what the speaker is saying.
Different lines of thought, but the result of "not listening" is the same.
But... yes, ADHD, or something similar enough that it's often diagnosed as such. I've known a lot of these people, I've been one of these people, and any time they brush up against psychiatry the usual result is ADD/ADHD. Without speaking to the question of medication, it's something I see a lot and something I think we badly fail to handle in existing public education.
[1] https://www.amazon.com/Misdiagnosis-Diagnoses-Gifted-Childre...
[2] https://www.amazon.com/Different-Minds-Children-Asperger-Syn...
They interpret ADHD as the sign of an intelligent person whose talents should be cultivated separately. The mass education paradigm doesn't work for them. There's something highly paradoxical about ADHD: it's an attention-deficit disorder and yet many display hyperattention once they find something they do like.
I agree with this. Any time I've said it in person, people jump all over me. It's heresy
Dropping this self-assessment was a big part of what "growing up" felt like to me.
As an anecdote, I've now been on both language spectrums. In large C++ projects I can absolutely attest to the "Needs many people" claim. Now that I've worked in Clojure on projects of equal importance, it's mind-bending how much I can accomplish alone.
Yet they still don't offer all their capabilities.
Had those environments succeed in the market, the whole development experience workflow would be much better.
Think of Bret Viktor style presentations.
Sadly due to their prices, many know Common Lisp via the open source command line compilers, instead of environments that trace back to those workstations like Franz Common Lisp.
which proves that Lisp and the "bipolar Lisp programmer" are not necessarily related together. I think BBM's prefer Lisp because it is really convenient to develop without having to be dependent on others.
C++ may be considered a "social" language, however I discovered that it is not the language itself which encourages social development but some coders make so silly mistakes that they actually need the help of others to fix them. For instance, some devs open files without closing them, etc. I wonder if those people would actually write cleaner code with Lisp because such silly mistakes are not so easy in Lisp due to is structured programming (with-open-file ...). Also buffer overflows and the like are much harder to accomplish in Lisp than in C++.
Some devs, in particular Edi Weitz and the quicklisp authors are evidence that Lisp preference and social interest are not mutually exclusive.
(Been there, done that. Feeling incredibly sad after reading this article).
Today it reads like fedora tipping neckbeard porn.
I'm currently waiting for some Racket tests to finish, and this morning I tutored a C/C++ programming lab. The other lab tutor is a C++ hacker, and was saying how the course this year is much better than when he took it, since they had to do it in Lisp ;)
PS - I agree it should have been titled 'The ADHD Lisp Programmer'
Oh give it a rest already. You're talking about someone who can't finish anything, and won't even bother to document his half-arsed, half-baked code, as a "brilliant" mind? And on the basis of, what? That he (it's always a he, in the article) used to get good grades at school. Not even university, mind- the brilliance lasted until high school. But, you know, it's all because that brilliant mind was such a great non-conformist who could see through all us phonies.
The only thing missing is a magical ring and a birthmark that, once deciphered using the ring, reads "Only You Can Save the World™". I won't bother to say where the birthmark is and how the ring fits it.
As if we didn't have enough trouble already with rockstars and ninjas and people thinking they're artists because they wrote their first for-loop...
Did you read to the end? The point, stated explicitly is that the BBM mindset is problematic:
> So what's the message in all of this? Basically, that there are two problems. The problem with the Lisp mindset and the problem with Lisp. The problem of the Lisp mindset is the problem of the mindset characteristic of the BBM.
I'm not sure what your cutoff for 'brilliant' is, but being able to ace high school without working probably makes you 1 in 50. From the point of view of a teacher calling the top student in a grade 'brilliant' is not a huge stretch. Of course, if you go to a demanding program in a good university, this level of 'brilliance' is commonplace.
It seems to me the author sees some beauty in this type of mind, but it doesn't mean they think you should try to be that way. I can understand that; because I see beauty in fragility too; for whatever reason, I have a soft spot for people with anxiety problems, and I try to reach out and help them. I think there is something brilliant about (some of) them, but it doesn't mean I think they are better than others. Having anxiety makes life harder, as does having the personality described in this article.
People who, since early age, could obtain success in school without putting in any effort might not develop the will to study and the discipline required to maintain a healthy study habit. They might start expecting to be able to simply grok subjects as they are presented.
When they reach higher education, they discover the material is harder to understand and struggle since they haven't developed the necessary fortitude to cope. When they start complex projects, they don't persevere to the end since the boring 20% that remains to be done requires 80% of the total work.
I don't think they're acting like rockstars and ninjas. Maybe they're just doing as experience has taught them only to find out later it's not enough and that real effort is required.
From older uses, you have Lisp in Gimp, Audacity, several AAA video games by Naughty Dog, in AutoCAD and few other recognizable places. Reddit was originally written in Common Lisp, later rewritten to Python. More recently, Clojure (a Lisp for JVM and CLR) is gaining popularity in the Java world, and a lot of startups are using it.
Hacker News itself is written in Lisp, BTW.
Some of that comes from clojure specifically, but the lisp syntax and macros are a big part of it.
Many major Lisps (CL, Clojure, Scheme, Racket) are general purpose languages, and in common they excell at metaprogramming, interactive programming and control flow/debugging (see CL restarts).
If you're more familiar with C languages, I like to think of LISP as the C of symbolic languages. It has practically no syntax, and LISP (as it exists today) has the neat feature that it's data structures are the same as its programs. Writing LISP code that modifies and generates other LISP code is relatively simple compared to doing the same in a syntax-rich language.
LISP does all of this at its lowest level, just like how C manipulates the fundamental elements of a CPU (pointers, contiguous memory blocks, basic arithmetic / logic operations, etc). The way CPU's are designed revolves around the Von Neumann Architecture [2], and C exploits this design very well. Unfortunately, LISP doesn't quite match this architecture, so it has traditionally performed poorly compared to C. But CPU's could certainly be designed to operate around a LISP-like model[3], so the Von Neumann paradigm isn't the only way.
[1] https://en.wikipedia.org/wiki/Lisp_(programming_language)
Exactly. It has traditionally performed poorly compared to C, but this hasn't been the case for a lot of time. There's a number of misconceptions about what is and what is not a lisp.
First of all, a lisp doesn't have to be interpreted or run in a virtual machine. While this is true for a lot of lisps, Common Lisp performs what you could call just-in-time compilation: you can even inspect the compiled code of a function by calling the `disassemble' macro on it, and optimize it based on the disassembly.
A lisp doesn't have to be dynamically typed. There are many examples of statically typed lisps (Shen, Dylan, Typed Racket, Lux), and in other dynamically typed lisps such as Common Lisp you can add type annotations as needed to optimize functions.
A lisp doesn't have to be garbage collected. It certainly is more convenient to have GC when you have such a dynamic language or want to program in a functional style; however, this is not required. Carp and GOAL[0] do not use garbage collection, and in Common Lisp you can generally give hints to the garbage collector to to make it run where you need it to.
A lisp doesn't have to be functional! While lisps usually advocate a functional style to varying degrees (mutation in Scheme is usually marked with a ! in the name of the function (set!) but normally discouraged, Clojure is immutable by default IIRC), but very few are purely functional (only Lux comes to mind) and most are in fact very procedural (Common Lisp).
Finally, Common Lisp has been designed to also be used as a systems language, and thus benefits from many optimizations targeting the Von Neumann architecture that can make it just as fast, if not faster, than C.
This is a good post detailing some of the optimizations that you can perform in Common Lisp:
https://chriskohlhepp.wordpress.com/advanced-c-lisp/converge...
To answer 0wl3x's question, lisps can be used for just about anything; it's just a family of homoiconic languages that generally make heavy use of macros as fundamental abstractions.
Actually almost all Common Lisp implementation use AOT, ahead of time, compilation.
The advantage is individual programmers can be more productive, but it becomes really hard to share code as every program evolves into it's own language.
As long as there's a tiling mode, I'm there:-)
I don't know if that's still the case since Google bought it, but I imagine it would be pretty difficult to port a codebase that large and complex to a different language.
Operating systems
https://en.wikipedia.org/wiki/Genera_(operating_system)
Travel industry software
https://en.wikipedia.org/wiki/ITA_Software
Computer games
https://en.wikipedia.org/wiki/Game_Oriented_Assembly_Lisp
https://en.wikipedia.org/wiki/Crash_Bandicoot
Common sense reasoning
https://en.wikipedia.org/wiki/Cyc
and plenty more
I'm using Lisp to implement a visual dataflow programming language
So, pretty useful IMHO.
1. Mental disorder (bipolar or ADHD) is also beneficial for a person (brilliant bipolar mind).
2. There's nothing wrong with LISP language, only with people who use it.