# Whitespace effects in x+1

**URL:** https://discourse.julialang.org/t/whitespace-effects-in-x-1/132783
**Category:** New to Julia
**Created:** [September 30, 2025, 9:31am UTC](https://discourse.julialang.org/t/whitespace-effects-in-x-1/132783 "2025-09-30T09:31:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)
#### Post date: [September 30, 2025, 10:05am UTC](https://discourse.julialang.org/t/whitespace-effects-in-x-1/132783/2 "2025-09-30T10:05:43Z")

</div>

You should really add parentheses to ambiguous expressions like that

```julia
[(1 + x) for x in 1:3]

```

I also recommend using [JuliaFormatter](https://github.com/domluna/JuliaFormatter.jl) or [Runic](https://github.com/fredrikekre/Runic.jl)

---

_[View the full topic](https://discourse.julialang.org/t/whitespace-effects-in-x-1/132783)._
