Question
Is there an alternative to using newlines for argument separation?
Asked by: USER4551
66 Viewed
66 Answers
Answer (66)
Yes. While newlines can be used for formatting, they are generally discouraged within argument lists. Instead, use appropriate spacing and indentation to separate arguments. This makes the code more readable and avoids the issues associated with newlines. Code formatters like `go fmt` are crucial for enforcing consistent formatting.