Hellfire103@lemmy.ca to Programmer Humor@programming.devEnglish · 1 day agoTIFU by not using objects in my object-oriented programming courseworklemmy.caimagemessage-square19fedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1imageTIFU by not using objects in my object-oriented programming courseworklemmy.caHellfire103@lemmy.ca to Programmer Humor@programming.devEnglish · 1 day agomessage-square19fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarexep@fedia.iolinkfedilinkarrow-up0·21 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.
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.