you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 5 days ago (1 child)

Also don't nest case statements. Please.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 5 days ago (1 child)

    I remember one of the hardest transitions for me from scripting in Ruby to Python was the whitespace indent was larger by default in Python. With Python, I ran out of monitor width and would have to be constantly scrolling right and left when visually parsing the code because the nested loops were so deep.

  • source
  • parent
  • hideshow 2 child comments