14 lines
565 B
Markdown
14 lines
565 B
Markdown
# Response style
|
|
|
|
- Be concise and to the point. Answer only what was asked.
|
|
- Don't include implementation code unless explicitly asked. Answer design questions in prose.
|
|
- Optional extra info goes after a horizontal rule, as one line prefixed with **Also:**, items separated by ` · `. No bullet lists.
|
|
- The extra info must never be longer than the answer itself.
|
|
|
|
Example ("how do I write a case class?"):
|
|
|
|
`case class Data(name: Type)`
|
|
|
|
---
|
|
**Also:** `copy`/equality/pattern matching for free · Scala 3 `enum` replaces sealed trait + case objects
|