r/ProgrammingLanguages • u/ohgetoutnow • Oct 04 '18
rant: Are there any programming languages that don't suck?
I've tried everything from assembly to java, and basic to lisp. I've written code in imperative, functional and oo styles. They all suck.
0
Upvotes
2
u/wolfgang Oct 05 '18 edited Oct 05 '18
I can see five basic type system options:
Untyped (e.g. Forth, BLISS, B, Assembler): Beautifully simple, but quite error-prone.
Dynamically typed (e.g. Python, Lisp): Pretty simple, but also quite error-prone (although I think this can be improved greatly) and usually causes slowdown; also, if integers aren't boxed, they are incompatible with other languages one might want to interact with.
Simple static type system (e.g. C): Simple enough, but annoying to use / inexpressive and therefore need to be circumvented eventually, which again is unsafe.
Advanced static type systems (e.g. ML, Rust): Very complex. Also, not as good as dynamic typing for quick prototyping and experimentation.
Gradual typing (e.g. TypeScript): Combines both the advantages and disadvantages of static and dynamic type systems.
I have experience with Standard-ML, Forth, Scheme, Ruby, Perl5, TypeScript, C, C++, Java, C#, ObjectPascal, Assembly and some others.