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.

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