Moin
Linux @programming.dev How to stop Wayland from broadcasting my selected text?
ich_iel @feddit.org ich🚝❄iel
Netzkultur / Netzpolitik @feddit.org Digitalokratie: Kann Europa die digitale Freiheit zurückgewinnen?
Comic Strips @lemmy.world The Perry Bible Fellowship - The Craving
Fuck AI @lemmy.world German video about how bad Aldi uses AI in their ads
Buy European @feddit.uk Does anyone know a bank which offers Wero without app?
Science Memes @mander.xyz Periclinal
Science @mander.xyz PDB101: Molecule of the Month: Flagellar Motor
Lemmy Shitpost @lemmy.world Sitpost
Privacy @lemmy.ml Why isn't U-Prove more widespread?
Asklemmy @lemmy.ml Is there a webplatform for searching the items of local shops?
Programmer Humor @lemmy.ml My debugging experience today: Quantum Debugging
datahoarder @lemmy.ml Where to get used tape drives?



A good question, as I like it and don't like it. It is without a doubt better than dynamic types.
On the pro side it removes redundant writing the type again and again. On the con side it is almost impossible to see what type with what functions the variable in front of you has without an IDE (which you don't have without cloning the repo) or without an already deep knowledge of the code.
Same with extension functions (free functions which can be added to a type almost anywhere in the codebase). Very useful (Kotlin is a great example for this) but also confusing when you want to hunt down where this piece of code is coming from.