alan412 / LearnJavaForFTC

This is for learning Java for FTC
125 stars 10 forks source link

Behavior of addData #22

Open alanbee55 opened 4 years ago

alanbee55 commented 4 years ago

Date on version you are commenting on

May 23, 2020

Section you are commenting on

example - 3.0

Comments

You might want to explain somewhere how addData knows how to do the "right thing" when displaying variables.

alan412 commented 4 years ago

Any idea how to do this? I don't really want to get into Java's "Autoboxing" feature where it automatically promotes primitive types to their object representation when needed. That feels way outside the scope of this book.

burtonboucher commented 4 years ago

Maybe right thing is “handled by” SDK / Classes provided. Knowing the capabilities of are good to know. I agree diving in deeper than that is out of scope.

We’ll talk about how to navigate the SDK to find out what is there in chapter 16.