Hellfire103 to Programmer [email protected]English • 2 months agoTIFU by not using objects in my object-oriented programming courseworklemmy.caimagemessage-square29fedilinkarrow-up1106arrow-down14cross-posted to: [email protected]tifu
arrow-up1102arrow-down1imageTIFU by not using objects in my object-oriented programming courseworklemmy.caHellfire103 to Programmer [email protected]English • 2 months agomessage-square29fedilinkcross-posted to: [email protected]tifu
minus-squarexeplinkfedilink25•2 months 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-squareHellfire103OPlinkfedilinkEnglish3•2 months 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.