Hellfire103@lemmy.ca to Programmer Humor@programming.devEnglish · 1 month agoTIFU by not using objects in my object-oriented programming courseworklemmy.caexternal-linkmessage-square29fedilinkarrow-up1106arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1102arrow-down1external-linkTIFU by not using objects in my object-oriented programming courseworklemmy.caHellfire103@lemmy.ca to Programmer Humor@programming.devEnglish · 1 month agomessage-square29fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarexep@fedia.iolinkfedilinkarrow-up25·1 month agoThis is Java, so you can even turn those ints into Integers and doubles into Doubles if you want to maximize the objects in that part of the code. In all seriousness, though, it looks perfectly fine to me.
minus-squareHellfire103@lemmy.caOPlinkfedilinkEnglisharrow-up3·1 month agoGreat idea, but unfortunately technicalities won’t get me marks.
This is Java, so you can even turn those ints into Integers and doubles into Doubles if you want to maximize the objects in that part of the code. In all seriousness, though, it looks perfectly fine to me.
Great idea, but unfortunately technicalities won’t get me marks.