codexfelis / oratio

Tutorials and explanations on all things tech, for people who just need to get their research done
https://oratio.codexfelis.dev
MIT License
0 stars 0 forks source link

What is a code formatter? #5

Closed caro401 closed 8 months ago

caro401 commented 8 months ago

Article type

This is a conceptual article

The title should be something like: What is a code formatter (and why should I use one?)

Target audience

People who know even a tiny bit of some programming language (probably python or javascript?), particularly if they are working on code with multiple people. They probably need to know what indentation means

This probably isn't a thing humanities programmers would think to look up, or need to know about unless they run across some code that is using them, but in my mind falls under the set of tools (like linters, task runners, good autocomplete, configuring your IDE) that would make programming easier if you knew they existed/were possible.

Things to cover

Is it related to anything else we've written about?

Linters. General IDE setup stuff. Should probably also write a concrete article about how to add black/ruff to your python project

Anything else?

nope?

Next steps

I'll write this. @danwaterfield do you think this is a useful set of topics to cover in fairly short articles? Its things that I've always picked up from other people's code or watching them work, which I guess people programming in the humanities don't really get to do often, but makes a real difference to workflows and code quality