# Punctuation/syntax style guide

**URL:** https://discourse.julialang.org/t/punctuation-syntax-style-guide/2718
**Category:** General Usage
**Created:** [March 16, 2017, 9:54pm UTC](https://discourse.julialang.org/t/punctuation-syntax-style-guide/2718 "2017-03-16T21:54:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ZacLN](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zacln/32/2748_2.png) [@ZacLN](https://discourse.julialang.org/u/ZacLN)
#### Post date: [March 16, 2017, 9:54pm UTC](https://discourse.julialang.org/t/punctuation-syntax-style-guide/2718/1 "2017-03-16T21:54:18Z")

</div>

I’m currently working on a new [parser](https://github.com/ZacLN/Parser.jl) package that will provide code analysis as it runs, part of which will be formatting hints. My hunting hasn’t found anything concrete so I’m looking for a bit of feedback on what are the key punctuation guidelines to be followed.

From the style guide in the docs we have

- use ! for modifying functions
- modules/types use camel casing
- functions use lowercase
- Don’t parenthesize conditions

And in addition

- 4 space indent for blocks (except modules)
- Spaces following commas (perhaps not when inside curly braces?)
- Spaces surround operators except powers, type/subtype declarations, unary ops, division, powers and dots
- No spaces on the inside edge of brackets

Any suggestions would be much appreciated

---

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [March 17, 2017, 1:31am UTC](https://discourse.julialang.org/t/punctuation-syntax-style-guide/2718/2 "2017-03-17T01:31:54Z")

</div>

Some of this [this](https://github.com/JuliaPraxis/Naming) overlaps.
