# Issues encountered teaching classes with Julia for the first time

**URL:** <https://discourse.julialang.org/t/issues-encountered-teaching-classes-with-julia-for-the-first-time/56553>\
**Category:** New to Julia\
**Created:** [March 5, 2021, 1:35pm UTC](https://discourse.julialang.org/t/issues-encountered-teaching-classes-with-julia-for-the-first-time/56553 "2021-03-05T13:35:03Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Post date:** [March 5, 2021, 6:59pm UTC](https://discourse.julialang.org/t/issues-encountered-teaching-classes-with-julia-for-the-first-time/56553/27 "2021-03-05T18:59:49Z")

</div>

I would not be messing around with `add --preserve=all` etc.

> [@Palli](#):
>
> ```julia
> (@v1.6) pkg> add --preserve=all Stipple@v0.6.0 ShiftedArrays@v1.0.0
> 
> ```

That will just control what is in the Manifest.toml.  
Which means it is a causal `] up` away from being swept away.

> [@compleat](#):
>
> [even Environments often don’t help, and I don’t even want them to have to go that far]

I really think you have to use Enviroments. they might not solve everything but they will help.  
Its also one of the thigns that is way easier in julia than in any of the common alternatives (Python/R/Matlab etc.

At least teach them enough to do `julia --project=.`  
to start julia in an eviroment with a `Project.toml` that you are providing.  
and that has the packages with the compat settings you trust.  
Which might be `=` rather than default `^` compat.  
e.g.

```julia
[compat]
Stipple="=0.6.0"
ShiftedArrays= "=1.0.0"

```

---

_[View the full topic](https://discourse.julialang.org/t/issues-encountered-teaching-classes-with-julia-for-the-first-time/56553)._
