Toots for artificialmind@fosstodon.org account

Written by Philip Trettner on 2025-01-09 at 18:57

I love #rust but really, the "we don't have function overloading because it's too complicated for the user and our trait system is better" position does feel a bit far fetched at times...

(I happen to know exactly what I had to do in that particular case but I'm pretty positive the "hint" in the error message would not help a novice at all)

=> View attached media

=> More informations about this toot | View the thread

Written by Philip Trettner on 2024-12-07 at 19:17

One of my least favorite activities in #RustLang refactoring: "adding a field to an enum".

I have a Term enum of different kinds (think lambda calculus terms). Now I'm adding a mode field to each term (regardless of kind).

Afaict, I need to:

=> More informations about this toot | View the thread

=> This profile with reblog | Go to artificialmind@fosstodon.org account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/110809235447859896
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
305.461679 milliseconds
Gemini-to-HTML Time
0.592549 milliseconds

This content has been proxied by September (3851b).