0

Should the challenges be so focused on casing of string literals?

I was solving the Gotham challenge in c++ and i noticed that an error in "casing of a letter" would mean you got the challenge wrong even if your code was perfect. Isn't the learning supposed to be centered on the coding rather than whether a letter in a string is upper or lower case. As a side note, i had to change my "ok" code several times to clear the challenge and that wasn't even the problem?

25th Mar 2020, 7:23 PM
Bright Londa
Bright Londa - avatar
4 Réponses
+ 4
As a programmer, you have to be accurate. One syntax error and everything falls apart. Getting the output right is the *least* difficulty of code coach tasks. Why not just copypaste the output strings?
25th Mar 2020, 8:31 PM
HonFu
HonFu - avatar
+ 1
From the challenge, i was expected to output " Good Luck out there!" My output was "Good luck out there!" Notice the difference? Its a little harsh to say code is wrong when all thats different is the 'l' on 'Luck' I do agree with the standard names in the language but i do think there should be flexibility on strings as those are to be determined by the programmer in a real world scenario.
25th Mar 2020, 8:01 PM
Bright Londa
Bright Londa - avatar
0
Alright
25th Mar 2020, 8:33 PM
Bright Londa
Bright Londa - avatar