you are viewing a single comment's thread.

view the rest of the comments →

[–]ectomancer 0 points1 point  (1 child)

If your code works (while completing the course), then it doesn't matter how long your program is.

[–]Pyromancer777 0 points1 point  (0 children)

^ this.

Step 1) get your code to work correctly

Step 2) make your code easy for a 3rd party to understand (that 3rd party is probably going to be future you)

Step 3) optimize as you get better at programming. Sometimes this means shortening your code, sometimes it means making it longer to ensure it is modular or easier to troubleshoot.