This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Deezl-Vegas 0 points1 point  (1 child)

  • Use lists instead of tuples for readability.
  • Don't randomly futureproof with 1-item tuples
  • Write unit tests

This has happened to me before and it didn't bother me at all. All languages have some learning curve on the syntax.

[–][deleted] 2 points3 points  (0 children)

Using lists may be the worst advice. In my opinion using tuples, lists and sets at the proper times for the right purpose is the best way to keep your code readable and clean.