Try to make your code as easily readable for others as you can.#Challenge
, spot a piece of hard to read code on stackoverflow.com
. Edit the question/answer, so the code would be easier to read and understand for everyone else. People having the same issue and looking for an answer will surely be grateful for easily readable code.#swift-code-style
.
// Don't
let array = ["Tom", "John", "Joe", "Alan", "Alex", "Adam", "Tim", "Tom", "John", "Joe", "Alan", "Alex", "Adam", "Tim"]
// Do
let names = [
"Tom",
"John",
"Joe",
"Alan",
"Alex",
...
]