Conversation
Edited 15 days ago
programming language complaining
Show content

I think I just hate every compiled language tbh. they’re all so strict about everything and so extremely limited in what you’re allowed to do. you have to bend over backwards to satisfy the compiler instead of just writing your code in the best way possible

like yes your code runs faster and maybe being low-level is useful for some other reason too, but the cost is that it sucks to make anything and you end up with really hideous code that’s trying to work around a bunch of weird limitations, and often the compiler will just refuse to work until you completely refactor your code to satisfy it

1
0
2
re: programming language complaining
Show content

every compiled language I’ve tried to learn has been such a massive pain in the ass that it made me reconsider whether I liked programming at all or if I only liked the ~3 languages that I use

1
0
2
re: programming language complaining
Show content

I’m thinking back to the OOP command pattern where instead of using a closure which is like one line of code, you have to create:

  • an interface that represents a runnable “command” (basically just a closure)
  • multiple classes that implement that interface. one class for every possible command that you might want to run
  • a class whose only purpose is to run a command that implements the interface that I mentioned above

why? because this pattern was invented for compiled OOP languages where everything sucks and this is genuinely the easiest way to express the very simple idea of “a function you can call”

2
0
2
re: programming language complaining
Show content

Rust is the language that you learn if you want to make your programming harder on purpose. either you need the speed for something or you’re a masochist there is no in-between

0
2
7

@kasdeya legit, anonymous lambda functions are my bread and butter nowadays. The fact that I can't do () => {} in ZScript hurts my soul... Even Java lets you use lambdas now, and I want to avoid working in Java as much as I can now that I've been working with Typescript

0
0
1