julia icon indicating copy to clipboard operation
julia copied to clipboard

Exercises that teaches modules

Open SaschaMann opened this issue 8 years ago • 1 comments

In #2 the idea of an exercise that requires writing a module, with exports, public interface etc. came up. This is quite important for writing reusable Julia code.

Many of the exercises are too simple for requiring this. My initial idea is that an exercise like Binary Search Tree, (Simple) Linked List or List Ops would work well for it. With the v2 progression system, we could add one of them as a core exercise that unlocks the others and then combine them in a way that the user has to write and extend a DataStructures-module. This is an actual Julia package, so it would be a very practical example.

SaschaMann avatar Oct 19 '17 10:10 SaschaMann

rest-api might be ideal for this. It requires a dependency (HTTP.jl) anyway so there's a use-case for explaining modules and the new Package/Env-Manager.

SaschaMann avatar Oct 02 '18 18:10 SaschaMann