Almost expected it to be implemented in Electron but was happily wrong. Nice work!
Almost expected it to be implemented in Electron but was happily wrong. Nice work!
Alacritty + tmux!
Oh, I’ve done my fair share of C++ and Python as well. But you got to agree with me that when you are on your fourth indented “if case” it’s time to step back and think about what you are trying to achieve. I mean it’s probably going to work, but probably also very hard to maintain that type of code.
As an embedded software developer that does linux kernel drivers I’ve come to love the tab size 8 indentation level.
I’m paraphrasing: “if your indentation level gets too deep, it’s time to rethink/refactor your function.”
And with tab 8 you’ll notice it rather quick if your function does too much/unrelated stuff.
A function should be short and do one thing only, if possible. It also makes unit testing easier if that’s a requirement.
“You are question wasn’t exactly clear…”
“You’re” is a short form for “you are”, so if you are trying to be smug you failed miserably.