(Edit: Sorry, this question does not have an actionable question. I've subsequently learned that posts to StackExchange must have one. I've tried to delete the question, but could not.)
There is a discussion here about why one shouldn't assign a variable to an Iconized form: Stack Exchange 2018: How use Iconize object assigned to a variable (Mathematica 11.3)?
There are some similarities to this common misstep by beginners:
matrix = RandomInteger[10 {-1, 1}, {3, 3}] // MatrixForm
matrix.matrix
Det[matrix]
Wouldn't it be useful if Iconize and MatrixForm and others acted like Echo and returned their result when used in an evaluated expression? And, beginners would not fall into that particular trap.
For example:
f[n_] := <|
"list" -> Iconize[RandomReal[{0, 1}, n],
"List of Length " <> ToString[n]], "n" -> n|>
and then
res = f[10^6] (*tidy output*)
res["list"] (*looks fine*)
Mean[res["list"]] (*sigh*)
It would be handy to have that last expression return something close to 0.5.
