Programming thread

le 4chan circlejerk is not nice or constructive.
I do not use 4chan, but what I said is true. Typescript is literally javascript, for rust see the rust hate thread, for go - literally just look at their avatar.
1738389304040.png

My reasoning may be based on pure gut feeling, but that has not failed me yet.
 
My reasoning may be based on pure gut feeling
Oxymoron.
THE RANDOM SQUIGGLES ON THE SCREEN MAKE SO MUCH SENSE BRO
LISPoids will look you in the eyes and say "actually it is not all parenthesis" and it is somehow less appealing..
Though it is not so bad when severely focused.
 

Attachments

  • 1738404821326.png
    1738404821326.png
    13.4 KB · Views: 31
  • 1738404928354.png
    1738404928354.png
    65.6 KB · Views: 31
  • 1738405043134.png
    1738405043134.png
    36.5 KB · Views: 30
  • Thunk-Provoking
Reactions: Belisarius Cawl
C truly is the best first language, not because it's easy to learn, or for any technical reason, but because it acts as a great filter. C99, plain old make (not Cmake), a simple text editor (no autocomplete, magic play button, etc.), git, and easy access to documentation and reference manuals, should be the first tool set of any beginner programmer.

People talk about how AI is having a negative impact on general code quality and programming proficiency, whether you take AI as Artificial "Intelligence" or Actually Indians, but it goes back further than that; The dumbing down of programming so that "everyone can learn how to code" is the reason why we have text editors that take several seconds to open and use close to an entire gigabyte of RAM on startup and, more importantly, people who don't understand why that's a bad thing. The kinds of people who are scared off by things like "manual memory management" probably should be. None of this is actually difficult.

Web development and its consequences have been a disaster for programming.
 
Typescript is literally javascript
But you'll spend half the time writing types instead of actually doing something productive. If I had started learning typescript first I would just bash my brains out. Imo this thing is for production only, when learning it sucks out all the (little) fun you can get in web dev.
 
LISPoids will look you in the eyes and say "actually it is not all parenthesis" and it is somehow less appealing..
If prefix math is bothering you, just do
Code:
(defpackage ...
  ...
  (:import-from #:mexpr #:infix #:[ #:]))
You can then do things like
Code:
(loop for delta = (skew-normal rng sgm skw)
      until (infix 0 < [ value + delta ] and [ value + delta ] < 1)
      finally (return (+ value delta)))
(check out the terse infix logical operators), or
Code:
(tan (infix [ pi / 2 ] * [ 0.5 - value ]))
 
FUNCTIONAL PROGRAMMING IS THE FUTURE, BRO, LEARN LISP BRO
View attachment 6928237
THE RANDOM SQUIGGLES ON THE SCREEN MAKE SO MUCH SENSE BRO
Larry Wall once said "Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in."

But seriously if you're programming Lisp make sure you have parentheses matching and rainbow parentheses turned on in your editor.
 
Larry Wall once said "Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in."

But seriously if you're programming Lisp make sure you have parentheses matching and rainbow parentheses turned on in your editor.
Some Lisps let you transparently drop in curly brackets and square brackets for list delimiters. I really think the bitching about the parentheses is a puffed up complaint.

Well and frankly, it's an old timey one. The youth aren't diving into Lisp nowadays, not any more than they used to not, which is fine but they aren't using those old fashioned excuses about parentheses. It's an obscure language. That comes with basic business risks, like not being able to replace critical developers and a smaller support ecosystem for bugs. Simple as.

Most software is going to be written in python and golang nowadays. And that's fine.

And then once in awhile you'll get a one-off eccentric weirdo who poops out something brilliant in a Lisp or scheme dialect. That's how it's always been. (viaweb, Autocad, crash bandicoot, the startup company that I crashed out in my early twenties, etc, etc)
 
Artificial Intelligence: A Modern Approach has switched over to Python, which honestly makes a ton of sense given the direction machine learning has taken over the years.
It pains me, but it's not a huge deal. AI stuff and machine learning is more or less its own programming language and you're going to rig up a sketchy framework to call out to it. If the python around it is garbage, it really doesn't matter, because most of your work is going to be a higher level construction in the AI model. The python code doesn't matter.
 
It pains me, but it's not a huge deal. AI stuff and machine learning is more or less its own programming language and you're going to rig up a sketchy framework to call out to it. If the python around it is garbage, it really doesn't matter, because most of your work is going to be a higher level construction in the AI model. The python code doesn't matter.
Python certainly has some warts like 'some_string'.join(iterable_of_strings) but I never understood all the hate, especially for semantic whitespace, which just makes you do what you're supposed to and saves a little typing.
 
Python certainly has some warts like 'some_string'.join(iterable_of_strings) but I never understood all the hate, especially for semantic whitespace, which just makes you do what you're supposed to and saves a little typing.
It's no worse than Javascript. Semantic whitespace affects user experience (as in, a python programmer is a user of the language) like your ability to copy and paste code and whatnot. But it's not intractible. Just a little annoying, and other things can easily outclass the annoyance from it.

All one-off sketchy untyped languages are the same to me.
 
I am interested in looking into programming, but I am overwhelmed and don't know where to start.

Where should I start learning to program/code?
Right here in this thread. Half joking, but pretty smart farmers are here with the expected autism. I generally recommend Python to people who just want to make "stuff" but a lot of people will disagree for a variety of reasons. You're not trying to be a systems programmer so start with whatever allows you to make what you want to make and if you get stuck find help where ever you can.
 
Python certainly has some warts like 'some_string'.join(iterable_of_strings) but I never understood all the hate, especially for semantic whitespace, which just makes you do what you're supposed to and saves a little typing.
The hate usually comes from programming language zealots not understanding that programming languages are just that, tools, fit for some tasks better that for the other. I have a friend that hates all the languages except c++ while not having even a basic understanding of them and why they are used. Just tribal and/or childish behaviour.
 
It's an obscure language. That comes with basic business risks, like not being able to replace critical developers and a smaller support ecosystem for bugs. Simple as.
Lisp (or some say LISPmikolash.png) being obscure nowadays is true, but imho not being in some sense language-agnostic as a developer if you're above beginner level is a dravidic indian trait. LISP isn't any harder to learn on the fly than Python and, in fact, much easier to understand at a glance than C++ for the uninitiated (I've used both C and Java/C# extensively but have never touched production C++ code in my life, and have no clue what I'm looking at most of the time I browse C++ projects). Haskell is probably the hardest language to get into without prior exposure, and even there I think it's not so much about type algebra and more about the weird way Haskell people decided to do IO.
 
Last edited:
I keep considering whether to take the plunge into the emacs "ecosystem", from how the people who use it write about it it sounds really nice, but from outside it just seems kinda weird. I've played around with it a little bit and I do like both latex-mode (especially with the preview-pane minor mode - that is just awesome) and dired. I guess the next step is to learn lisp and try a little scripting (tbh. I should have probably learned it when I started working with autocad ~5 years ago, but I used C# so I avoided it). If I just want to edit a simple text document I still prefer vim though.
 
Back