16 Organizing and modularizing your code
This chapter covers
- Introducing the concept of environments to managed dependencies
- Adding and removing package dependencies using environments
- Developing code in different environments and switching between them
- Creating a Julia package and adding dependencies to it
- Organizing code within a package
- Adding tests to packages
- Exploring the relationship between modules and packages
For large-scale software development you cannot dump code ad hoc into Julia source code files as has been shown in previous chapters. Instead, code must be modularized and organized. Organized code is easier to understand and navigate. In this chapter, you will learn how to take the geometry code you worked on earlier and organize ...
Get Julia as a Second Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.