Programming thread

  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
Hey kid, come over here, I got something you might like. Hehe don't be scared.
"I'm only going to do recursion once. I'm not gonna be like that guy."
"Look, I'm only going to pattern match once! I'm not gonna be like that guy!"
...
[final shot shows the functional coder with programmer socks, a cock cage and a stuffed blåhaj]
 
Last edited:
[final shot shows the functional coder with programmer socks, a cock cage and a stuffed blåhaj]
no offense but you are fucking stupid and rust programmers actually don't count as functional programmers

anyway
take just 1 hit out of my fixpoint combinator bro. you're missing out man, just one!
 
no offense but you are fucking stupid and rust programmers actually don't count as functional programmers
They're "functional programmers" in the same way that JS jeets are. Arguably the JS jeets have an advantage over them since JS is functional it its core.

>Uses .then
>Adds functional programming to CV
 
Arguably the JS jeets have an advantage over them since JS is functional it its core.
i feel that js is far more based than people give it credit for
imagine how horrible the web would be if js and the dom were actually designed in a truly retarded way (stuffing tons of lambdas into callback registration functions in a somewhat demented form of continuation-passing style is actually not a terrible way to do things!)
There are plenty of troons to go around in FP; I've seen quite a few non-Rust examples
yeah there are bound to be disgusting troons in every programming paradigm though
oddly enough the troon levels seem to be highest in shit tier midwit languages and they drop off very sharply as you get to the languages of god: (true (you wrote the implementation yourself to start off, as is the tradition) forth, smalltalk, lisp, assembly (only in at&t syntax), and apl)
 
i feel that js is far more based than people give it credit for
imagine how horrible the web would be if js and the dom were actually designed in a truly retarded way (stuffing tons of lambdas into callback registration functions in a somewhat demented form of continuation-passing style is actually not a terrible way to do things!)
Hating on JavaScript the language is Reddit r/programminghumor tier. The complaints are mostly funky behavior that one rarely if ever runs into, even then that behavior is well documented in the spec.
It's one of my most productive languages, and with it being the lowest-level interfacing language for The New OS (web browser), I have access to API's for any kind of user-machine interaction (thanks Google Chromium for constantly adding more bloat features).
yeah there are bound to be disgusting troons in every programming paradigm though
oddly enough the troon levels seem to be highest in shit tier midwit languages and they drop off very sharply as you get to the languages of god: (true (you wrote the implementation yourself to start off, as is the tradition) forth, smalltalk, lisp, assembly (only in at&t syntax), and apl)
The languages of God you descibe are more language-families than concrete programming languages. As you said, many write their own language implementations for them. They don't have the big centralized communities where trannies can circledilate. Have you ever had the misfortune of witnessing the Rust D*scord? That's the tranny's natural habitat.
Of course there are trannies in the aforementioned languages, but they seem to be more focused on programming autism than their "gender identity".
 
Hating on JavaScript the language is Reddit r/programminghumor tier. The complaints are mostly funky behavior that one rarely if ever runs into, even then that behavior is well documented in the spec.
it is a bit of an abomination but only if you compare it to scheme (the ideal language according to all these independent studies i found that i will not cite because reasons)
the lowest-level interfacing language for The New OS (web browser)
webassembly is somewhat closer to the hardware but it's farther away from the web rectal probe api
Weak typing and floats being the only native number type
weak typing is not a problem if you're really fucking careful (having to be really careful all the time does not by itself make a language bad, see: c)

floats being the only native number type is a fucking nothingburger because a good double precision float can represent all integers up to 2^53 exactly which means it's less of a problem than people who don't understand floats think at first
most integers used in programming are numbers like 0, 1, 2, 10, 16, possibly 100 or 128, perhaps 1024 or 1000, and maybe even 3 but that's pretty rare
if you really do absolutely need a 64-bit unsigned integer you should just use a bigint object or the boxed arrays or something like that

and if you were actually serious about performance you would be using whatever webassembly simd extension instead of a dynamic language
 
I had currency in mind
if you do a lot of currency calculations try using bigints as fixed-point numbers or something
not really that terribly much work, all things considered
some languages do have native support for exact decimal arithmetic, and i do not doubt that it's pretty nice to use, but it's not too hard to get an acceptable emulation using exact integers

most programs i see deal with currency too rarely to really need language support for native exact decimals, so i do not think natively supporting exact decimals is a requirement for a "decent language"
if it was, then "decent languages" would probably logically also need millions of other things like a lexical syntax based on nodes, glsl-like matrix/vector swizzling syntax, half of the things in apl, and perl's ability to in-place regex mangle strings with 1 line of code
a language like that would probably make c++ look simple and elegant. i do not think that is very decent
 
most programs i see deal with currency too rarely to really need language support for native exact decimals, so i do not think natively supporting exact decimals is a requirement for a "decent language"
It happens often enough to be put in the standard library so as to honor the principle of DRY. The programs you read/write on a regular basis might be more fun and exciting than the sort of boring shit COBOL was made for. There is a lot of that going on every single day.
 
assembly (only in at&t syntax)

Absolute lunacy, and in very bad company.

On the one hand we have Intel assembly (add eax, 3), C (x += 3), and Common Lisp ((incf x 3)).

On the other hand, we have AT&T/GNU/Motorola assembly (add 3, eax) and COBOL (ADD 3 TO X.).

It looks even worse when the operation isn't commutative and x -= y ends up being written backwards as sub y, x.
 
Absolute lunacy, and in very bad company.

On the one hand we have Intel assembly (add eax, 3), C (x += 3), and Common Lisp ((incf x 3)).

On the other hand, we have AT&T/GNU/Motorola assembly (add 3, eax) and COBOL (ADD 3 TO X.).

It looks even worse when the operation isn't commutative and x -= y ends up being written backwards as sub y, x.
there are good arguments for how gay it is but i consider it to be VNIX TRVDVTION and you're just supposed to write assembly in source->destination format
if you wanted decent syntax you would just make an assembler based on s-expressions and use destination<-source style
i just happen to think that it's not worth breaking VNIX TRVTVTION to switch in a possibly mildly better syntax (at&t feels a bit more "explicit" about certain things idk how to describe it)
 
To not shit the rust hate thread @Creative Username , could you answer these two questions:

Could you explain why do you think that rust is an worst c++?(I don't know much about rust but isn't the burrow checker at least an "good" enough memory manager?)

And why do you hate c++? (IMO c++ have so much shit that anyone can be easily hang himself but as easily you could write an C with some bells and whistles.)
 
Could you explain why do you think that rust is an worst c++?
  1. take a good look at c++
  2. take a good look at rust
basically indistinguishable right? rust is just a different (sometimes more consistent, with some occasional nice features) c++ which is hyped to death and has abhorrent unsustainable tools and a horrible culture
it's not a terrible language, (in fact, there are some programs i really like that are written in rust) it's just the combination of how oppressively mid it is and how incompetent rust programmers love going everywhere and shitting everything up
(I don't know much about rust but isn't the burrow checker at least an "good" enough memory manager?)
the borrow checker is a lot like c++'s pointer templates and simply has more compile-time checking done to it
almost everything about the borrow checker is pretty trivially replicated by usage of modern (since fucking 2011 basically) c++ memory management and being moderately careful (way less careful than you need to be in c, thanks to raii, which is something that rust shills like saying is such a great rust idea that c doesn't have)
And why do you hate c++?
it's an overcomplicated language from hell and the industrial compilers with hundreds of people working on it tend to have trouble implementing some of the crazy shit the committee dreams up and nobody actually uses these features because of bad habits from 50 years of historical baggage and the trouble that compilers have implementing the shit
rust doesn't show these symptoms because it's new but notice how i said symptoms because rust is going to display them with time and by god it's going to be really fucking ugly
(IMO c++ have so much shit that anyone can be easily hang himself but as easily you could write an C with some bells and whistles.)
i don't understand what you're trying to say here but you obviously need to read your sicp. next
 
Back
Top Bottom