fzf-notes icon indicating copy to clipboard operation
fzf-notes copied to clipboard

Why did I write this in bash?

Open alichtman opened this issue 2 years ago • 2 comments

It should be written in a proper language so I could... like, maintain it. I have no idea what I was thinking when I selected bash as my langauge of choice here.

Could probably rewrite this in Python in an hour or two maybe. Probably not worth the time investment.

alichtman avatar Apr 07 '23 04:04 alichtman

Funny, isn't it. Brant's fine, since their version was 15 lines long.

I was also inspired by that post and wrote my own version, then ended up stumbling on yours. Hitting 100 lines, I'd thought, what a mess, should've picked Python. Imagine my surprise finding this repo a minute ago! Though, I think yours is way more readable.

There are many excuses, but I believe it's fine to just say bash scripting was fun :^)

If you ever end up spending an evening in a rust version, I'd love to see it.

fmbarina avatar Dec 09 '23 00:12 fmbarina

I'm not sure why I'd use Rust here, actually. I was writing in it a bunch at the time of that comment, but a more scripting focused language would be the right choice here. Lua, python, ruby, etc.

No need for a systems language.

alichtman avatar Dec 10 '23 11:12 alichtman