Skip to content

Commit b1f276b

Browse files
committed
polish
1 parent 0c1b53f commit b1f276b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/architecture/decisions/0003-prefer-python-go-and-typescript-in-this-order.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There are efforts to level up Bash scripting, such as the `set -Eeuxo pipefail`,
3535

3636
> `errexit`, `nounset` and `pipefail` are imperfect implementations of otherwise sane ideas, and unfortunately they often amount to being unreliable interfaces that are less familiar and less understood than simply living without them. It's perfectly fine to want them to work as advertised, and I think we all would like that, but they don't, so shouldn't be recommended so blindly, nor advertised as a "best practice"—they aren't.
3737
38-
There is the [bats](https://github.com/bats-core/bats-core) testing framework.
38+
There is also the [bats](https://github.com/bats-core/bats-core) testing framework which does show promise if forced to live with a Bash codebase.
3939

4040
### Python
4141

@@ -80,7 +80,7 @@ such as the `this` keyword being different depending on how a function is called
8080
Static analyzability and specifically typechecking is (according to Winters)
8181
an important step to achieving software-engineering friendliness.
8282

83-
The choice is between
83+
The choice in Python is currently between
8484

8585
* Pyrefly
8686
* Pyright (or basedpyright)
@@ -113,6 +113,10 @@ Simple scripts will be more verbose in Python, but this is a trade-off we can ma
113113

114114
Obvious location to place shared code, sane `import` mechanism.
115115

116-
Allow for fearless refactoring <https://www.jamesshore.com/v2/blog/2005/merciless-refactoring>.
116+
Allow for [fearless refactoring](https://www.jamesshore.com/v2/blog/2005/merciless-refactoring.html).
117+
118+
> Imagine!
119+
> Do this right, and your code gets cheaper to modify over time!
120+
> That's so amazing, most people don't even think it's possible.
117121
118122
We will need to fight the ever-present tendency to overengineer, and instead we shall promote low-ceremony code.

0 commit comments

Comments
 (0)