irelephant [he/him]@lemmy.dbzer0.com to Fediverse@lemmy.worldEnglish · 3 days agoFun fact: you can't upload this image on piefed.sociallemmy.dbzer0.comimagemessage-square167fedilinkarrow-up1187file-text
arrow-up1187imageFun fact: you can't upload this image on piefed.sociallemmy.dbzer0.comirelephant [he/him]@lemmy.dbzer0.com to Fediverse@lemmy.worldEnglish · 3 days agomessage-square167fedilinkfile-text
https://codeberg.org/rimu/pyfedi/src/commit/6405e51dab23f43eaea18d0ee4d9e7a773a3fd31/app/community/forms.py#L335 deliberately misleading error message.
minus-squareplyth@feddit.orglinkfedilinkEnglisharrow-up2·1 day agoBut why is hardcoding shit code for open source code? The code is easier to read because no if or switch statements are needed to distinguish between the options. No configiration menu has to be maintained.
But why is hardcoding shit code for open source code? The code is easier to read because no if or switch statements are needed to distinguish between the options. No configiration menu has to be maintained.