0

"Quick" languages to write a bunch of small codes in a short amoumt of time?

I entered the grade 10 programming olimpics and I found out we're writing in August, so I have time to practice. What language can be used to write a bunch of small codes in a short amount of time? It's just to solve some simple scenarios. For Example: Calculating the amount of money that will be paid after a loan was taken with interest and all that. It's a very simple example I know but it gets harder the more rounds you pass. So I'm looking for a language that can write codes to solve such scenarios quickly. I did the example above with what little I know of C++. Also I am aware that PRACTICE MAKES PERFECT so the more I practice a language the faster and better I'll become. I would appreciate any help, thanks.

1st Mar 2019, 1:55 PM
Christiaan Strydom
Christiaan Strydom - avatar
6 Respostas
+ 5
I don't know how programming olympics work and whether you're allowed to use predefined libraries etc., but I probably wouldn't choose a compiled language. The more low level, the more verbose the syntax gets. Maybe a compiled code will run 30% faster, but that doesn't help if it takes five times longer to write the code. I'd go with python too. Five months are more than enough to learn python.
1st Mar 2019, 3:21 PM
Anna
Anna - avatar
+ 4
I recommend python
1st Mar 2019, 3:13 PM
Ore
Ore - avatar
+ 2
I agree with Python. With this language you don't have to think about the requirements on the machine because it's all done for you. So you can concentrate on the 'what'.
1st Mar 2019, 3:18 PM
HonFu
HonFu - avatar
0
Thank you all, I figured either Python, Ruby or a C language but now I know I'm gonna go with Python since I already started learning it and all you recommended it to me.
2nd Mar 2019, 4:22 AM
Christiaan Strydom
Christiaan Strydom - avatar
0
Also I saw 2017's round 2 for grade 10's and the first question was basically that password encrypter that was a challenge the other day so it seems round 2 isn't exactly something so sneeze at.
2nd Mar 2019, 4:26 AM
Christiaan Strydom
Christiaan Strydom - avatar
0
Christiaan Strydom well, Python is the choice IF you don't need a graphical input or output. And also check what modules (extensions) you have available for the coding challenge. It would be bad if you train with a module that you can not use during the challenge. Ruby on rails is also very fast in generating a first usable code.
2nd Mar 2019, 7:25 AM
Edward
Edward - avatar