User talk:Hout: Difference between revisions

no edit summary
(If the 2nd JavaScript were to be censored, the Mathematica example (and 1st JavaScript example) would have to go too. Adding value ? or reducing it ?)
No edit summary
Line 24:
I we were to delete that example, we would really also have to delete the preceding JavaScript example too (it uses a kind of for loop), and also the Mathematica example which is syntactically and formally identical. I am not sure that a chain of such deletions would really seem particularly constructive and helpful to users.
 
To concretise, why, for example, should we 'allow' users to find and reflect on the current Mathematica example:
 
<lang Mathematica>Select[Tuples[Range[100], 3], #1[[1]]^2 + #1[[2]]^2 == #1[[3]]^2 &]</lang>
 
(but firstnot line 1 of the second JavaScript example ):
(the current Mathematica example), but not:
 
<lang JavaScript>select(nTuples(range(1, 100), 3), function ([x, y, z]) {
return x * x + y * y === z * z;
});</lang>
 
TheyThese two forms are clearly isomorphic, but more importantly, they are both clearly of relevance and potential interest to users.
( first line of the JavaScript example )
 
They are clearly isomorphic, but more importantly, they are both clearly of relevance and potential interest to users.
9,655

edits