@snek_boi@lemmy.ml to Showerthoughts@lemmy.world • edit-210 months agoAlgebra in school is like a compiler with shitty type inference: you rarely have to write type annotations and you can easily end up with impossible states.message-square13fedilinkarrow-up1129arrow-down113
arrow-up1116arrow-down1message-squareAlgebra in school is like a compiler with shitty type inference: you rarely have to write type annotations and you can easily end up with impossible states.@snek_boi@lemmy.ml to Showerthoughts@lemmy.world • edit-210 months agomessage-square13fedilink
minus-squarexigoilink23•edit-210 months agoYou never specified what type a function is, such as 𝑓 : ℝ → ℝ?
minus-square@snek_boi@lemmy.mlOPlinkfedilink8•10 months agoFair enough, I changed “never” to “rarely” :) I’m actually curious, did you have to specify the ‘type’ often?
minus-squarexigoilink6•10 months agoIf I remember correctly, good textbooks always specified the type. There were even exercises like “find the maximum possible domain of this function”. And in higher-level mathematics, it’s pretty much a sin to not specify the type.
You never specified what type a function is, such as 𝑓 : ℝ → ℝ?
Fair enough, I changed “never” to “rarely” :) I’m actually curious, did you have to specify the ‘type’ often?
If I remember correctly, good textbooks always specified the type. There were even exercises like “find the maximum possible domain of this function”. And in higher-level mathematics, it’s pretty much a sin to not specify the type.