r/ProgrammingLanguages • • Oct 13 '21

Discussion Programming Language Checklist

https://www.mcmillen.dev/language_checklist.html
101 Upvotes

19 comments sorted by

View all comments

2

u/theangryepicbanana Star Oct 14 '21

Sure I guess, here's one for Star:

You appear to be advocating a new:
[X] functional  [X] imperative  [X] object-oriented  [ ] procedural [ ] stack-based
[X] "multi-paradigm"  [ ] lazy  [ ] eager  [X] statically-typed  [ ] dynamically-typed
[ ] pure  [X] impure  [ ] non-hygienic  [ ] visual  [X] beginner-friendly
[ ] non-programmer-friendly  [ ] completely incomprehensible
programming language.  Your language will not work.  Here is why it will not work.

You appear to believe that:
[X] Syntax is what makes programming difficult
[ ] Garbage collection is free                [ ] Computers have infinite memory
[ ] Nobody really needs:
    [ ] concurrency  [ ] a REPL  [ ] debugger support  [ ] IDE support  [ ] I/O
    [ ] to interact with code not written in your language
[ ] The entire world speaks 7-bit ASCII
[X] Scaling up to large software projects will be easy
[ ] Convincing programmers to adopt a new language will be easy
[ ] Convincing programmers to adopt a language-specific IDE will be easy
[ ] Programmers love writing lots of boilerplate
[ ] Specifying behaviors as "undefined" means that programmers won't rely on them
[ ] "Spooky action at a distance" makes programming more fun

Unfortunately, your language (has/lacks):
[+] comprehensible syntax
[-] semicolons
[+] significant whitespace (newlines)
[+] macros (hygienic)
[-] implicit type conversion
[+] explicit casting
[+] type inference
[-] goto
[+] exceptions
[+] closures
[?] tail recursion
[-] coroutines
[-] reflection
[+] subtyping
[+] multiple inheritance
[+] operator overloading
[+] algebraic datatypes
[+] recursive types
[+] polymorphic types
[-] covariant array typing
[+] monads (if you try hard enough)
[?] dependent types
[+] infix operators
[+] nested comments
[+] multi-line strings
[-] regexes
[-] call-by-value
[-] call-by-name
[+] call-by-reference
[+] call-cc

The following philosophical objections apply:
[X] Programmers should not need to understand category theory to write "Hello, World!"
[X] Programmers should not develop RSI from writing "Hello, World!"
[X] The most significant program written in your language is its own compiler (currently)
[?] The most significant program written in your language isn't even its own compiler (who knows...)
[ ] No language spec
[ ] "The implementation is the spec"
   [ ] The implementation is closed-source  [ ] covered by patents  [ ] not owned by you
[X] Your type system is unsound  [ ] Your language cannot be unambiguously parsed
   [ ] a proof of same is attached
   [ ] invoking this proof crashes the compiler
[X] The name of your language makes it impossible to find on Google
[X] Interpreted languages will never be as fast as C
[ ] Compiled languages will never be "extensible"
[ ] Writing a compiler that understands English is AI-complete
[X] Your language relies on an optimization which has never been shown possible
[ ] There are less than 100 programmers on Earth smart enough to use your language
[ ] ____________________________ takes exponential time
[X] ____________________________ is known to be undecidable: typechecking

Your implementation has the following flaws:
[ ] CPUs do not work that way
[ ] RAM does not work that way
[ ] VMs do not work that way
[X] Compilers do not work that way
[ ] Compilers cannot work that way
[ ] Shift-reduce conflicts in parsing seem to be resolved using rand()
[ ] You require the compiler to be present at runtime
[ ] You require the language runtime to be present at compile-time
[ ] Your compiler errors are completely inscrutable
[ ] Dangerous behavior is only a warning
[X] The compiler crashes if you look at it funny
[ ] The VM crashes if you look at it funny
[ ] You don't seem to understand basic optimization techniques
[ ] You don't seem to understand basic systems programming
[ ] You don't seem to understand pointers
[ ] You don't seem to understand functions

Everything else can be considered marked as empty