scala-style-guide icon indicating copy to clipboard operation
scala-style-guide copied to clipboard

Databricks Scala Coding Style Guide

Results 14 scala-style-guide issues
Sort by recently updated
recently updated
newest added

Most of the settings like indentation, method naming and all can we put together in a editorconf file so that everyone can use that, if possible ?

I think we should not use `Option.get` in our code. When the object in question is `None`, the error message is a cryptic `NoSuchElementException: None.get`. Instead, we should use `Option.getOrElse(throw...

Consider the first line of an implementation method like this: ``` |

There are two aspects to this guide: 1. Rules and guidelines that can be automatically checked by a Scala linter, checker, or validator. 2. Rules that can't be enforced automatically....