So imagine this code:
let x = alert("hi") // I know this returns undefined...
right? I know 'alert' returns 'undefined', but, when assigned, it still does something that affects the webpage, though, so, how can I use functions that would have 'consequences', without said 'consequence(s)', but just the return value?
Sorry if I made it confusing, let me know, and I can try to clear up confusion.
As software gets more and more integrated into our lives, the industrialization of its crafting process becomes inevitable. But the over-generalization of software engineering can be crushing the creative side of programming.