Closed giann closed 1 year ago
num N = args.len() > 0 ? args[0] : 1000; | or num N = if (args.len() > 0) args[0] else 1000;
I think inline if reads clearer, ternary is harder to identify, and its precedence rules aren't immediately obvious.