Skip to content

Exercises in solving trivial problems in several programming languages

Notifications You must be signed in to change notification settings

Alvin-Gavel/Comparative_coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When I started working at Karolinska Institutet, I had to pick up a couple of different programming languages. This repository consists of exercises where I pick some very simple problem and then try to solve it in Python, R, PHP and bash. Sometimes I make multiple solutions in the same language, one sticking to constructs that have some reasonably close equivalent in the other languages, and some that make better use of the capabilities of that specific language. The latter solutions have _optimised in the filename if they use interesting constructs unique to that language, and _using_bar if they use some library bar in that language.

Contents of directory

  • Documentation: More detailed description of this repository, written in Swedish.

  • Fibonacci: Scripts that given n calculate the nth Fibonacci number.

  • Primality_test: Scripts that given an integer tests whether it is prime.

  • Mandelbrot: Scripts that given dimensions x and y print out a x times y plot of the Mandelbrot set.

  • Utilities: Some code used by the other files.

About

Exercises in solving trivial problems in several programming languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published