5 Development workflows in the abstract
5.1 Choosing a language is choosing an ecosystem
Your workflow and available tools depend in part on the language you're using, so let's talk about that for a minute before diving into more specifics.
5.1.1 Language features
A language (and some of its libraries) is maintained by a core team, and has a sales pitch about what makes it neat in theory. However, the core language features are not enough; there are additional practical considerations:
- Community. This can include forums, documentation, Q&A sites, and other evidence of enthusiastic hobby and personal use. It's easy to find help on how to get started. There is evidence of continuing organic support for the language ecosystem.
- Tools. Features that make the language usable in day-to-day work, including: Code editor support, syntax highlighting, debuggers, profiling, tools for packaging and deployment, version control, testing, automated doc extraction, and integration with outside tools (web servers, databases, interchange formats like XML/JSON). Some of this will be included in Core Libraries.
- Working deployments. You see the language being used in real-world projects. The pitfalls for deployment, performance, and scaling are well-known and documented. The community has confidence in (mostly) bug-free operation. Edge cases, errata, and known bugs are documented. There is a community of understanding around how to use the tool effectively and avoid tarpits.
5.1.2 When is a language ready?
In general, a language ecosystem will do some things well and other things poorly. Some examples:
- Julia: Good tools and community, but we don’t see it widely deployed (this might be changing, watch this space)
- Rust: Checks all boxes, but don’t have a lot of deployed examples for scientific computing specifically. Example of a promising ecosystem.
- Many proprietary statistics tools: Little to no organic support for integrating into a wider toolchain, which can be problematic from a purely practical standpoint.
5.2 Co-dependence and feedback between tools and methods
- What is your goal?
- What products will you make to meet your goal?
- What tools are available?
- What decisions do you have to make given pre-existing constraints on, e.g., language, libraries, computing environments?
- How do you make decisions about workflow and tools? Does this fit into your overall decision-making process as described above?
- How much mixing of environments? outside API, databases, etc? Total compute needs? How flexible and/or expansive do you need to be? These issues are a blend of "how many outside drivers are you willing to accept?" and "how much do you plan to grow?"
5.3 Tool evaluation
All code, tools, and management practices have an opportunity cost: The time you spend coding, supporting, teaching, and managing could have been spent doing something else. You should adopt tools that are a net benefit to your project.