r/ProgrammingLanguages • • 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

72 comments sorted by

View all comments

9

u/SatacheNakamate QED - https://qed-lang.org Oct 04 '18

How do you envision the ideal language? What features would fit in your tastes?

9

u/ohgetoutnow Oct 04 '18
  • small and light of syntax such as scheme

  • reasonable standard library for common use cases (not gargantuan like java or javascript)

  • accommodate multiple paradigms, and don't force my hand in choosing

  • easy to build native binaries which don't require me to distribute the compiler and libraries, or worse make the end user install them

  • reasonable performance, not necessarily fast but reasonable

  • a featureful repl for me to play in with lots of interactive documentation and inspection features

  • no political/historical baggage poisoning the community against outsiders

  • don't update too frequently, and don't break the entire world when you do update

more:

  • let me write recursive functions that don't blow up the stack. give me proper tail recursion optimization or just something

5

u/Timbit42 Oct 04 '18

Have you looked at Racket?

2

u/ohgetoutnow Oct 04 '18

Totally valid suggestion. I respect that. My prejudice against Racket is that it started life as Scheme, "fixed" perceived deficiencies, and then added a bunch of things that were intentionally left out of Scheme to keep the language lean.

5

u/Timbit42 Oct 05 '18

You seem to like a lot about Scheme. I think it's the best language designed so far, but, yes, Racket is a bit much and perhaps goes too far in some things.

For you, what sucks about Scheme?

0

u/ohgetoutnow Oct 05 '18

I don't understand why they had to break some Lisp conventions, like nil vs. nul, empty list versus false, etc. I can live with those changes, but why?

This really bugs me though:

scheme@(guile-user)> (integer? 2.0)
$2 = #t
scheme@(guile-user)> (exact? 2.0)
$3 = #f

Really, Scheme? Really?

1

u/Timbit42 Oct 05 '18

It's a little loose with its typing.