Show newer
Tom Heyes :emacs: boosted

If I give you a code without git history, could you tell if that code has been done with #TDD?

If so, which are the hints that tell you test first vs test last?

@RichardWallintin @aleixmorgadas A lack of over engineering. Every use case for a module is tested and the code only does what it needs to do to make those tests pass.

Tom Heyes :emacs: boosted

It's `Friday, July 21, 2023` and I have `51M` of `.org` files in `~/org`. That's `4436` files and `1081234` lines of text, the largest single file is `1.3M` and the longest lined file has `26370` lines. `4265` of these files are inside org-roam, the majority of them (`3202`) are "dailies" or time-series files. I have some `27M` other older `.org` files outside `~/org` that aren't even included in those stats. Not to mention `~/Syncthing/Orgzly` with `7.4M` worth of `.org`.

#emacs #orgmode

Maybe just upon the person who thought nesting 4 ternaries together is a sensible idea...

Show thread

A thousands curses upon the house of person who invented the ternary operator!

What's the point of a website keeping business hours? The computer doesn't care if it has to stay up all night?

Show thread

I don't understand why my GP's online appointment booking form is only available during regular business hours...

:/

Tom Heyes :emacs: boosted

@freemo I have similar worries about pragmatism if I stray of a well troden path. I find that's balanced by the joy of using / learning different languages.

If you can, just try it. If you hit a wall early on then pivot. Logic can be moved to another language.

Although niche, Haskell is a very solid and mature language, as you probably already know. 😁

Good luck! Have fun! :haskell:

Tom Heyes :emacs: boosted

@trinsec It will successfully take over all 28/10 parts of earth!

That or it thought the thing was so amazing my constraint was insulting. 😆

Show thread

Chat GPT is amazing however I asked it to rate something out of 10 and it scored it 28...

Probably not taking over the world just yet.

@simongray For what it's worth when I finally bit the bullet of with I regretted not doing it sooner.

I now happily use Emacs for most of my day to day.

Obviously your millage might vary. Emacs certainly isn't for everyone and I don't think trying to learn both Emacs and programming at the same time is a good idea. :)

Comments from past Tom
word_loud # this is a dumb typo fix
Thanks past Tom...

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.