git worktree
could become your new friend then :)
robinm
The quote (and the associated discussion) is such an important part of Rust and why I love this language so much. Anything that can be automated should at one point be automated reliably, and the sooner the better.
It's a question of workflow. Git doesn't guide you (it's really workflow agnostic) and I find it easier to taillor CLI to fit my exact need, or use whatever was recently added (like worktrees a few years ago). I have yet to find a GUI/TUI that I'm not frustrated with at one point but everyone has its own preferences.
If you use the git command line (and I do) you should spam git log --graph
(usualy with --oneline
).
And for your filesystem example I sure do hope you use tree
!
Thank you! I didn’t realized that I was using my lemmy account and not my mastodon account.
I absolutely agree that method extraction can be abused. One should not forget that locality is important. Functionnal idioms do help to minimise the layer of intermediate functions. Lamda/closure helps too by having the function much closer to its use site. And local variables can sometime be a better choice than having a function that return just an expression.
Good advice, clear, simple and to the point.
Stated otherwise: "whenever you need to add comments to an expression, try to use named intermediate variables, method or free function".
A fun read but it really seems that his writting style is hit or miss!
I never understood why python won agaist ruby. I find ruby an even better executable pseudo code language than python.
Awesome! It reminds me of that clip that uses the windows task manager to run doom on a 896 core CPU.
It's so anoying that at $WORK we have multiple git repos with symbolic link that points above their respective .git to each other and need to be in sync. So of course git workree
and git bisect
don't work that well…
This post from 2022 was very interesting:
https://security.googleblog.com/2022/12/memory-safe-languages-in-android-13.html