luke5542 / LanguageComparison

A comparison of various programming languages for similar problems to demonstrate the syntactic and run-time differences.
0 stars 3 forks source link

Move each example into it's own subdirectory #8

Closed dan-c-underwood closed 9 years ago

dan-c-underwood commented 9 years ago

This makes it easier for examples like Rust, Go, and D where they can benefit from using build tools such as cargo.

Will also make it cleaner for adding examples of different algorithms in the future.

georgevanburgh commented 9 years ago

+10

luke5542 commented 9 years ago

Surely if other algorithms were given their own examples it would make sense to separate based on Algorithm rather than language...

dan-c-underwood commented 9 years ago

This way it's easier for people to see all examples in a particular language, and again, helps with build tools like cargo. Otherwise things would get messy with paths.

georgevanburgh commented 9 years ago

@luke5542 You'd probably want multiple levels of nesting in that case:

/
/sieve
/sieve/Java
/sieve/C#
...
/foobar
/foobar/Java
/foobar/C#
...
luke5542 commented 9 years ago

I work on this, then, but I cannot guarantee any Docker support =P

As such, I'll likely work by maintaining the current file set and just adding things in the new directories.

georgevanburgh commented 9 years ago

@luke5542 If the compile script works - Docker will work.

luke5542 commented 9 years ago

Glad to hear it. I'll try getting Docker setup eventually so I can at least verify the changes.

luke5542 commented 9 years ago

Okay, so the initial conversion has been completed in the adequately named branch. The graph and docker setups have not been checked, though they both will need to be fixed, as I also significantly changed the root script setup to enable other tasks to be added later on.

@FireEater64 do you think you could check the Docker setup and see what needs changing?

luke5542 commented 9 years ago

closed as of the merge of #14