# Deprecated Syntax - ignore

**URL:** <https://discourse.julialang.org/t/deprecated-syntax-ignore/16150>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 11, 2018, 4:23am UTC](https://discourse.julialang.org/t/deprecated-syntax-ignore/16150 "2018-10-11T04:23:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajaychat3](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Post date:** [October 11, 2018, 4:23am UTC](https://discourse.julialang.org/t/deprecated-syntax-ignore/16150/1 "2018-10-11T04:23:00Z")

</div>

julia\> logspace(1,2,5)  
┌ Warning: `logspace(start, stop, n; base=10)` is deprecated, use `base .^ range(start, stop=stop, length=n)` instead.  
│ caller = top-level scope at none:0  
└ @ Core none:0  
5-element Array{Float64,1}:  
10.0  
17.78279410038923  
31.622776601683793  
56.23413251903491  
100.0

julia\> 10 .^ range(1,stop=2,length=5)  
5-element Array{Float64,1}:  
10.0  
17.78279410038923  
31.622776601683793  
56.23413251903491  
100.0

```julia

```

---

<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:** [October 11, 2018, 4:43am UTC](https://discourse.julialang.org/t/deprecated-syntax-ignore/16150/2 "2018-10-11T04:43:21Z")

</div>

You should not ignore deprecated syntax (if that is what you are asking). The reason to adopt the recommended [new, non-deprecated] syntax is that is the only way that your code will work going forward. Anything that is deprecated will generate an error in an upcoming release. Using the new syntax will still work.

---

<div class="post-metadata">

**Author:** ![Ajaychat3](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Post date:** [October 11, 2018, 4:46am UTC](https://discourse.julialang.org/t/deprecated-syntax-ignore/16150/3 "2018-10-11T04:46:58Z")

</div>

By “Ignore” I meant to say to ignore the topic and not the syntax. I posted this topic but soon found a solution.  
Thanks for your input.
