2 ms·
While hopefully it is satire, it would also make a good college level exercise. There's suffient nuance and opportunity to be creative, while at the same time
by bruce511 4y ago
While hopefully it is satire, it would also make a good college level exercise.
There's suffient nuance and opportunity to be creative, while at the same time requiring some basic skills to set up (server, dns, https,and so on.)
Then for those more advanced there are creative extensions to implement - support any base, support text, in multiple languages, support formulas (is result odd or even) and so on.
Back in my university days we'd take trivial problems like this and "extend" them in creative ways faaar beyond the assignment. It both stretched or skills, and also taught us something about feature creep.
As in, sometimes it's OK not to build the perfectly generic, useful in all cases, megolith when a simple x % 2 == 1 will do.
(no wait %2 is slow, let's just &1 instead...)