Aijan

joined 2 years ago
MODERATOR OF
[–] Aijan@programming.dev 1 points 2 weeks ago

I've added JSDoc type annotations to the library.

[–] Aijan@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Author here. In my experience, AI coding tools like Claude Code can write code in the Effect system style, and that could be a great starting point for getting developers not familiar with this approach on board.

I considered adding JSDoc type annotations, but that would make the code a bit verbose.

[–] Aijan@programming.dev -1 points 1 year ago (1 children)

Perhaps I was unclear. What I meant to say is that, whenever possible, we shouldn't have multiple versions of a field, especially when there is no corresponding plaintext password field in the database, as is the case here.

[–] Aijan@programming.dev 16 points 1 year ago* (last edited 1 year ago)

Thanks for the tip. password.trim() can indeed be problematic. I just removed that line.

view more: next ›