Skip to content

Commit

Permalink
Add indention rule (JuliaLang#38526)
Browse files Browse the repository at this point in the history
* Add indention rule

Fixes JuliaLang#38024

* Update doc/src/manual/style-guide.md

Co-authored-by: Alex Arslan <[email protected]>

Co-authored-by: Alex Arslan <[email protected]>
  • Loading branch information
vanillajonathan and ararslan committed Nov 24, 2020
1 parent 312776c commit ef3c20d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/src/manual/style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The following sections explain a few aspects of idiomatic Julia coding style. No
are absolute; they are only suggestions to help familiarize you with the language and to help
you choose among alternative designs.

## Indentation

Use 4 spaces per indentation level.

## Write functions, not just scripts

Writing code as a series of steps at the top level is a quick way to get started solving a problem,
Expand Down

0 comments on commit ef3c20d

Please sign in to comment.