LearnJavaForFTC icon indicating copy to clipboard operation
LearnJavaForFTC copied to clipboard

Behavior of addData

Open alanbee55 opened this issue 5 years ago • 2 comments

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.

alanbee55 avatar May 27 '20 23:05 alanbee55

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.

alan412 avatar May 30 '20 01:05 alan412

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.

burtonboucher avatar Jul 05 '20 01:07 burtonboucher