You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
6.0 KiB

4 years ago
4 years ago
4 years ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Programming Language Checklist</title>
  5. <link rel="shortcut icon" type="image/png" href="/favicon.ico"/>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="canonical" href="https://www.mcmillen.dev/language_checklist.html">
  8. <style>
  9. body {
  10. font-size: 16px;
  11. }
  12. </style>
  13. </head>
  14. <body>
  15. <tt>
  16. Programming Language Checklist<br>
  17. by <a href="https://www.mcmillen.dev">Colin McMillen</a>, <a href="http://jcreed.org">Jason Reed</a>, and <a href="https://elly.town/">Elly Fong-Jones</a>, 2011-10-10.
  18. <br>
  19. <p>
  20. <pre>
  21. You appear to be advocating a new:
  22. [ ] functional [ ] imperative [ ] object-oriented [ ] procedural [ ] stack-based
  23. [ ] "multi-paradigm" [ ] lazy [ ] eager [ ] statically-typed [ ] dynamically-typed
  24. [ ] pure [ ] impure [ ] non-hygienic [ ] visual [ ] beginner-friendly
  25. [ ] non-programmer-friendly [ ] completely incomprehensible
  26. programming language. Your language will not work. Here is why it will not work.
  27. You appear to believe that:
  28. [ ] Syntax is what makes programming difficult
  29. [ ] Garbage collection is free [ ] Computers have infinite memory
  30. [ ] Nobody really needs:
  31. [ ] concurrency [ ] a REPL [ ] debugger support [ ] IDE support [ ] I/O
  32. [ ] to interact with code not written in your language
  33. [ ] The entire world speaks 7-bit ASCII
  34. [ ] Scaling up to large software projects will be easy
  35. [ ] Convincing programmers to adopt a new language will be easy
  36. [ ] Convincing programmers to adopt a language-specific IDE will be easy
  37. [ ] Programmers love writing lots of boilerplate
  38. [ ] Specifying behaviors as "undefined" means that programmers won't rely on them
  39. [ ] "Spooky action at a distance" makes programming more fun
  40. Unfortunately, your language (has/lacks):
  41. [ ] comprehensible syntax [ ] semicolons [ ] significant whitespace [ ] macros
  42. [ ] implicit type conversion [ ] explicit casting [ ] type inference
  43. [ ] goto [ ] exceptions [ ] closures [ ] tail recursion [ ] coroutines
  44. [ ] reflection [ ] subtyping [ ] multiple inheritance [ ] operator overloading
  45. [ ] algebraic datatypes [ ] recursive types [ ] polymorphic types
  46. [ ] covariant array typing [ ] monads [ ] dependent types
  47. [ ] infix operators [ ] nested comments [ ] multi-line strings [ ] regexes
  48. [ ] call-by-value [ ] call-by-name [ ] call-by-reference [ ] call-cc
  49. The following philosophical objections apply:
  50. [ ] Programmers should not need to understand category theory to write "Hello, World!"
  51. [ ] Programmers should not develop RSI from writing "Hello, World!"
  52. [ ] The most significant program written in your language is its own compiler
  53. [ ] The most significant program written in your language isn't even its own compiler
  54. [ ] No language spec
  55. [ ] "The implementation is the spec"
  56. [ ] The implementation is closed-source [ ] covered by patents [ ] not owned by you
  57. [ ] Your type system is unsound [ ] Your language cannot be unambiguously parsed
  58. [ ] a proof of same is attached
  59. [ ] invoking this proof crashes the compiler
  60. [ ] The name of your language makes it impossible to find on Google
  61. [ ] Interpreted languages will never be as fast as C
  62. [ ] Compiled languages will never be "extensible"
  63. [ ] Writing a compiler that understands English is AI-complete
  64. [ ] Your language relies on an optimization which has never been shown possible
  65. [ ] There are less than 100 programmers on Earth smart enough to use your language
  66. [ ] ____________________________ takes exponential time
  67. [ ] ____________________________ is known to be undecidable
  68. Your implementation has the following flaws:
  69. [ ] CPUs do not work that way
  70. [ ] RAM does not work that way
  71. [ ] VMs do not work that way
  72. [ ] Compilers do not work that way
  73. [ ] Compilers cannot work that way
  74. [ ] Shift-reduce conflicts in parsing seem to be resolved using rand()
  75. [ ] You require the compiler to be present at runtime
  76. [ ] You require the language runtime to be present at compile-time
  77. [ ] Your compiler errors are completely inscrutable
  78. [ ] Dangerous behavior is only a warning
  79. [ ] The compiler crashes if you look at it funny
  80. [ ] The VM crashes if you look at it funny
  81. [ ] You don't seem to understand basic optimization techniques
  82. [ ] You don't seem to understand basic systems programming
  83. [ ] You don't seem to understand pointers
  84. [ ] You don't seem to understand functions
  85. Additionally, your marketing has the following problems:
  86. [ ] Unsupported claims of increased productivity
  87. [ ] Unsupported claims of greater "ease of use"
  88. [ ] Obviously rigged benchmarks
  89. [ ] Graphics, simulation, or crypto benchmarks where your code just calls
  90. handwritten assembly through your FFI
  91. [ ] String-processing benchmarks where you just call PCRE
  92. [ ] Matrix-math benchmarks where you just call BLAS
  93. [ ] Noone really believes that your language is faster than:
  94. [ ] assembly [ ] C [ ] FORTRAN [ ] Java [ ] Ruby [ ] Prolog
  95. [ ] Rejection of orthodox programming-language theory without justification
  96. [ ] Rejection of orthodox systems programming without justification
  97. [ ] Rejection of orthodox algorithmic theory without justification
  98. [ ] Rejection of basic computer science without justification
  99. Taking the wider ecosystem into account, I would like to note that:
  100. [ ] Your complex sample code would be one line in: _______________________
  101. [ ] We already have an unsafe imperative language
  102. [ ] We already have a safe imperative OO language
  103. [ ] We already have a safe statically-typed eager functional language
  104. [ ] You have reinvented Lisp but worse
  105. [ ] You have reinvented Javascript but worse
  106. [ ] You have reinvented Java but worse
  107. [ ] You have reinvented C++ but worse
  108. [ ] You have reinvented PHP but worse
  109. [ ] You have reinvented PHP better, but that's still no justification
  110. [ ] You have reinvented Brainfuck but non-ironically
  111. In conclusion, this is what I think of you:
  112. [ ] You have some interesting ideas, but this won't fly.
  113. [ ] This is a bad language, and you should feel bad for inventing it.
  114. [ ] Programming in this language is an adequate punishment for inventing it.
  115. </pre>
  116. </tt>
  117. </body>
  118. </html>