algorithm implementations

Languages and libraries

algorithm implementations repository

SHOW HN2013

52points
47comments
#482of 1,739 in 2013
Top 28%of 2013 by points

How HN took it

RoastedHalf or more of the comments are critical

1 positive, 4 neutral or asking, 0 mixed, 6 critical, out of 11 comments about the project. Thread score -0.27.

Idea: 1 for, 4 againstExecution: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Good idea to share algorithm implementations on GitHub

    From 2 comments
    • I like this idea. Here's how I'd expand it if I had 100 hours to kill: - Rename the repo to be shared and add yourself as a contributor, instead of branding it as yourself. -…
      IgorPartola on HN
    • Great Idea! I have something similar going at - https://github.com/prakhar1989/Algorithms only in Python at the moment. Contributions are more than appreciated! :)
      krat0sprakhar on HN

Objections

  • Only one insertion sort implementation so far; little value yet

    From 1 comment
    • Why post this when you only have a single insertion sort in C? Practically, this has zero use compared to books which include algorithms, illustrations, and code.
      goldenkey on HN
  • No tests to verify correctness

    From 1 comment
    • How do you make sure the correctness of the implementations? Shouldn't there be tests?
      cmpitg on HN
  • Licensing unclear for files

    From 1 comment
    • Missing from the discussion seems to be the subject of licenses. Some of the files have one and some don't (making using the code murky), so you should probably establish a rule…
      mkl on HN
  • Existing resources like LiteratePrograms, RosettaCode already cover this

    From 3 comments
    • Have you considered contributing to LiteratePrograms[0] (or such) instead? This is great practice, and I encourage you to go for it, but for those interested in looking at…
      rodrodrod on HN
    • RosettaCode is a site that might be of interest. http://rosettacode.org/wiki/Rosetta_Code
      brudgers on HN
    • There is a handful of websites showing algorithm implementations and they are on edu sites. Unless you plan to write the algorithm in multiple popular algorithms...
      yeukhon on HN

Requests

  • Add unit tests

    From 2 comments
    • I like this idea. Here's how I'd expand it if I had 100 hours to kill: - Rename the repo to be shared and add yourself as a contributor, instead of branding it as yourself. -…
      IgorPartola on HN
    • Tests and behavior should be defined before the code. I recommend you comment out all code, write the tests and then un-comment the code line by line. This not only tests the…
      ericHosick on HN
  • Adopt a clear open license such as BSD

    From 1 comment
    • Missing from the discussion seems to be the subject of licenses. Some of the files have one and some don't (making using the code murky), so you should probably establish a rule…
      mkl on HN
  • Use a shared, unbranded repo structure

    From 2 comments
    • I like this idea. Here's how I'd expand it if I had 100 hours to kill: - Rename the repo to be shared and add yourself as a contributor, instead of branding it as yourself. -…
      IgorPartola on HN
    • Whether you recognize it or not, you face a choice between: a) keeping your name on said repo, and b) substantially higher growth rate. When people do things for free, they don't…
      gametheoretic on HN

Questions

  • How is correctness of implementations ensured?

    From 1 comment
    • How do you make sure the correctness of the implementations? Shouldn't there be tests?
      cmpitg on HN

Alternatives named

  • RosettaCode

    From 1 comment
    • RosettaCode is a site that might be of interest. http://rosettacode.org/wiki/Rosetta_Code
      brudgers on HN
  • LiteratePrograms

    From 1 comment
    • Have you considered contributing to LiteratePrograms[0] (or such) instead? This is great practice, and I encourage you to go for it, but for those interested in looking at…
      rodrodrod on HN
  • The Stony Brook Algorithm Repository

    From 1 comment
    • I use The Stony Brook Algorithm Repository: http://www.cs.sunysb.edu/~algorith/.
      codex on HN
  • CleverAlgorithms

    From 1 comment
    • https://github.com/jbrownlee/CleverAlgorithms/tree/master/src/algorithms
      X4 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/6957642)