3 ms·
>Imperative code is much more intuitive in the small. In a single threaded, deterministic environment yes. But when you're talking multithreaded, I'd disagree
by runT1ME 13y ago
>Imperative code is much more intuitive in the small.
In a single threaded, deterministic environment yes. But when you're talking multithreaded, I'd disagree.
if (user != null)
user.company = getCompanyByName("google")
being a NPE waiting to happen (in a multithreaded environment) is certainly non-intuitive.