3 ms·
> "Siri, double the value before you pass it to the function, then take what it returns and if it is greater than zero...." y = 2x; if (y>0)... Seems way fast
by klipt 12y ago
> "Siri, double the value before you pass it to the function, then take what it returns and if it is greater than zero...."
y = 2x; if (y>0)...
Seems way faster to type (or say), and much less ambiguous than using "it", "this" or "that" ;-)
- logicallee 12y agoy equals sign 2x semicolon if open parentheses y greater than zero close parantheses, open braces... of course it seems easier to you, after you've taken the time to learn a language and know the syntax by heart. Now do the same thing in a language and framework whose features you want to use but which you haven't learned yet.