Sample Programs 250 Code Snippets Release

Jeremy Grifski - Feb 20 '19 - - Dev Community

A few weeks back, the Sample Programs repo hit the 100 languages milestone. Now, let’s celebrate the latest milestone: 250 code snippets!

New Years Release

When I launched this project back in March of 2018, I was doing all of the heavy lifting myself. Now, as we head into the new year, I’m getting help from a rather large community of contributors. As of today, I have 22 people in The Renegade Coder organization of which 6 are in my core team. In addition, the repo has 108 stars with 80 forks, a milestone I never expected to reach.

With all of this engagement, I’ve been able to put together over 2000 commits that have finally converted into 250 code snippets over 106 programming languages in just 9 months. Can you tell I love metrics?

As we head into 2019, I’m hoping to continue watching this project grow. If you’d like to be a part of this adventure, just dive right in! Don’t worry about making mistakes. I’ve made more than enough for the whole community.

250 Code Snippets

At this point, I’ll share the list of all of the programming languages and their individual snippet counts in the repo:

  1. Abap (1)
  2. Ada (1)
  3. Agda (1)
  4. ALGOL68 (1)
  5. AppleScript (1)
  6. Ballerina (1)
  7. Bash (6)
  8. Befunge (2)
  9. Brainfuck (3)
  10. C (11)
  11. C# (18)
  12. C* (1)
  13. C++ (4)
  14. Carp (1)
  15. Chapel (1)
  16. Clipper (1)
  17. Clojure (1)
  18. COBOL (1)
  19. CoffeeScript (1)
  20. Crystal (3)
  21. Dart (2)
  22. D (2)
  23. Dale (1)
  24. Dg (5)
  25. Dusk (1)
  26. Egison (1)
  27. Elena (1)
  28. Elixir (1)
  29. Elm (1)
  30. Emojicode (1)
  31. Erlang (1)
  32. Eve (1)
  33. F# (1)
  34. Factor (1)
  35. Falix (1)
  36. Fennel (1)
  37. Ferret (1)
  38. Fetlang (1)
  39. Forth (1)
  40. FORTRAN (2)
  41. Frege (1)
  42. Gluon (1)
  43. Go (7)
  44. Goby (1)
  45. Golo (1)
  46. Google Apps Script (1)
  47. Gravity (1)
  48. Groovy (2)
  49. Hack (1)
  50. Haskell (19)
  51. Idris (1)
  52. JavaScript (5)
  53. Java (7)
  54. Julia (4)
  55. Koka (1)
  56. Kotlin (5)
  57. Kitten (1)
  58. Lily (1)
  59. Lisp (2)
  60. Little (1)
  61. Lolcode (1)
  62. Lua (3)
  63. MATLAB (1)
  64. MojiScript (1)
  65. MoonScript (1)
  66. Never (2)
  67. Nim (1)
  68. Objective-C (1)
  69. OCAML (1)
  70. Octave (1)
  71. Odin (1)
  72. Opa (1)
  73. Orc (1)
  74. Owl Lisp (1)
  75. Pascal (2)
  76. Perl (3)
  77. PHP (3)
  78. PicoLisp (2)
  79. Pony (1)
  80. PowerShell (3)
  81. PureScript (1)
  82. Pyret (1)
  83. Python (20)
  84. Quack (1)
  85. Racket (1)
  86. Red (1)
  87. Rexx (1)
  88. Ring (1)
  89. Ruby (7)
  90. Rust (6)
  91. R (1)
  92. Scala (2)
  93. Scheme (2)
  94. Shen (1)
  95. Smalltalk (1)
  96. Solidity (1)
  97. Swift (4)
  98. Tcl (1)
  99. Tex (2)
  100. TypeScript (5)
  101. Verilog (1)
  102. Vimscript (3)
  103. Visual Basic (2)
  104. Wren (1)
  105. Wu (1)
  106. Wyvern (1)

If your favorite language didn’t make the cut or is underepresented, why not head over to the Sample Programs repo and make a pull request. We’re always looking for help.

The Push for 500 Code Snippets

With 250 snippets out of the way, I’d like to see if we can collect 500 by the end of 2019. This shouldn’t be too much of a challenge as we hit 250 code snippets in just 9 months, but I expect collecting snippets to be more difficult as we go.

To put everything into perspective, we currently support 22 projects from Hello World to Bubble Sort. In addition, we support 106 languages. That means our repo could potentially support 2,332 code snippets before expanding into new languages or projects. With that much ground to cover, there’s more than enough work for everyone.

If you’re looking for a place to start, some of the more popular languages like Ruby, Rust, and JavaScript could use some support. Of course, we won’t deny help in any of the languages, so don’t hesitate to help out! We appreciate it.

More Milestones Ahead

In addition to 500 code snippets, we’re also looking to complete the following:

  • 100 Articles
  • 200 Languages

Currently, we’re still in the process of transitioning the old articles over. Since this is a long and painful process, I’d love some help. All we need is someone who is willing to split the remaining Hello World articles into language articles and project articles.

As for the 200 languages milestone, that’s going to require a bit more work. At this time, we’ve avoided assembly languages. If you’re an expert in that area, we could really use the support. Also, we’d love to include your favorite esoteric languages, so swing on by and add them to our list of issues.

If you’d like to help with any of these initiatives, let me know in the comments. I’m always happy to work with anyone who wants to learn.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .