I was reminiscing my first submissions on Codeforces and how much my coding style has changed since the last year. I am interested in hearing your stories about your coding style or the time when you started Codeforces!
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
I was reminiscing my first submissions on Codeforces and how much my coding style has changed since the last year. I am interested in hearing your stories about your coding style or the time when you started Codeforces!
Name |
---|
My path is from clean code to ugly template...
lol , true.
I abandoned my whole template and now I write fully clean code.
Have you observed any personal benefits or any improvement during problem solving after adopting a cleaner coding style?
yeah, It is good for interviews. And I don't see any major benefits using templates other than just some seconds of time.
JavaScript -> python -> C++. Thats it.
from clean code to ugly code.
from solving problem A in 1 hour 50 minutes to solve it in less than 5 minutes(my typing speed is not very fast so i dont solve it in less than 1-2 minutes)
Been only a month here but coding style has changed from Wrong Answer on Pretest 2 to Wrong Answer on Pretest 2
At least u're pupil in less than 1 month it took me 6 month's for becomming pupil.
Pupil is nothing :(
From clean small codes to Ugly confusing code using multiple 100-200 line templates.
Instead of thinking about cases on paper,I now just write ugly if-else ladders. Speedforces whoooosh.
And as I am implementing my if-else ladders I come across 2-3 observations that would have saved me a lot of code.
I remember getting intimidated by variations of C++ submission languages.
Submission languages?
Yeah C++ Clang, GCC, G++ etc, I didn't know which one to pick.
It happened to me too! I got compilation error by submitting my c++ solution in GCC. And it indeed took me a while to understand what was wrong.
my coding style sucks. Doesn't differ if it is from 2 years ago or from today.
Do you obfuscate your code or do you actually code with that style?
I actually code with that style. It is now easier for my eyes to read that code(I am not used to a lot of spaces. I've got used to compact mode)
Wow, lol, what is your coding enviroment since a lot of the editors/IDE have auto-ident so I am guessing you either change your settings or code somewhere else?
Codeblocks
Have you stopped here or do you have plans of removing new line also?
I guarantee that I won't remove new line xD