4
8
nyjan

@feddit.de

nyjan 52 points 3 years ago

I'm mostly checking if my standards have lowered since the last time I looked into the fridge

path: 0 5036453, hotness: undefined, score: 52, children: 1
nyjan 38 points 3 years ago

Lustig, wo doch die offizielle Reddit-App auch ehemalig eine Drittanbieter-App war (Alien Blue), bis reddit sie gekauft hat weil deren eigene App so scheiße war.

Sich jetzt hinzustellen und zu sagen dass APIs gar nicht dafür da sind von einem client genutzt zu werden ist auch ein bisschen frech. Was, außer scraping, soll man denn damit sonst machen? lol

path: 0 277039, hotness: undefined, score: 38, children: 3
nyjan 12 points 3 years ago path: 0 277039 277389 282299, hotness: undefined, score: 12, children: 1
nyjan 9 points 3 years ago

Es handelt sich augenscheinlich um eine Zangendeutsch-Übersetzung vom Cover des Albums Notorious B.I.G. - Ready to die

path: 0 249295 250562, hotness: undefined, score: 9, children: 0
nyjan 7 points 3 years ago

Popelmover

path: 0 3444949 3445124 3455736, hotness: undefined, score: 7, children: 0
nyjan 4 points 3 years ago

Im git repo von lemmy wird aktuell auch über die Möglichkeit für den Nutzer diskutiert mehrere Communities gebündelt darstellen zu lassen. Wäre für solche Fälle bestimmt praktisch.

path: 0 74980 75010 75143 75462 75531 85437, hotness: undefined, score: 4, children: 0
nyjan 2 points 3 years ago

My personal take on this, at least when dealing with more complex or production code:

Performance is not an issue with exceptions if you don't use them for control flow, they should be an unusual occurrence wherever possible.

If you expect to throw and later handle an exception regularly, I'd try to include relevant info about the failure in the returned value, or even better in the returned type, and skip throwing the exception altogether.

Returning a type that contains both error info and the actual result (if there is one) and forces the caller of your function to handle any contained error info before being able to access the actual result has the same effect as a try/catch block without the major performance implications.

This is basically what rust does everywhere in order to completely remove the concept of exceptions, but it's a nice performance optimization for langues with exceptions as well.

Exceptions should interrupt your programs flow, not control it, at least in all hot execution paths. Thanks for coming to my ted talk

path: 0 8135974 8140083 8142466 8154280 8195680, hotness: undefined, score: 2, children: 1
nyjan 1 point 2 years ago

Aus dem Sonnensystem raus wäre energetisch aber effizienter und sie wären dann auch weiter weg

path: 0 10289078 10307658, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...