Hellfire103 to Programmer [email protected]English • 19 hours agoTIFU by not using objects in my object-oriented programming courseworklemmy.caimagemessage-square21fedilinkarrow-up177arrow-down14cross-posted to: [email protected]tifu
arrow-up173arrow-down1imageTIFU by not using objects in my object-oriented programming courseworklemmy.caHellfire103 to Programmer [email protected]English • 19 hours agomessage-square21fedilinkcross-posted to: [email protected]tifu
minus-squarexeplinkfedilink18•16 hours 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-squareHellfire103OPlinkfedilinkEnglish1•13 hours 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.