The 30 days of code
is a popular trending in the programming and development world. The main idea is simple: code for 30 days.
In this case, I will use the challenges provided by Hacker Rank and try to complete each challenge in a few languages that I want to practice.
I'll push a solution for a challenge in one programming language every day... or so I hope!
I chose the languages according to my preferences, so the order to follow the path is:
And yes, it depends on my time and if I don't die on the way to achieving it, I will consider adding other languages to practice and understand the syntax.
If you don't have Git, you'll need to install it and then just copy the next command on your terminal/console:
git clone [email protected]:Alessandrror/30-days-of-code.git
After this you'll see a folder in your directory with the name of the project.
Important To run a program you must have the environments, interpreters, compilers or other tools required for each language.
The prefixes you use to run the files for each language are:
node ./source-path
npx ts-node ./source-path
python3 ./source-path
php ./source-path
Create:
dotnet new console -o ./source-path
Run:
dotnet run --project ./source-path
Compile:
rustc ./source-path
Run:
./source-path
ruby ./source-path
sh ./source-path
g++ -o ./new-file-name ./source-path