Re:Clever Functional Design
by reificator on Tuesday August 27, 2019 @08:14PM
(#20815672)
Even when a language allows mutability, just having immutability by default makes a huge difference.
Sure, I mean, every useful language must have some form of mutable state, after all. Defaults are important!
Constraints are not necessary for creativity.
“Necessary” might be too strong of a word, but it’s certainly valuable.
* https://hackernoon.com/constraints-and-creativity-14831a5386...
* https://www.fastcompany.com/3027379/the-psychology-of-limita...
* https://www.forbes.com/sites/groupthink/2013/07/12/creativit...
What would you point to as the most creative thing done with zero constraints?
Re:Clever Functional Design
by stonesixone on Tuesday August 27, 2019 @11:42PM
(#20816610)
Speaking personally, I would say I'm most creative when dreaming (where there are no constraints).
If we're talking anecdotes, I've always been most creative when I have tight constraints to work within (technical, time, aesthetic etc). For example, some of my most imaginative code was when trying to fit some code into a teeny tiny microcontroller. Some of the most fun too (provided that time wasn't also a constraint, I find that mixing a time constraint with other constraints often turns it from a fun puzzle to a stressful task).
Re:Clever Functional Design
by artificialLimbs on Wednesday August 28, 2019 @01:05AM
(#20816921)
To be entirely pedantic, there are constraints on intention, objectives/aims/goals, and relation(as in with others).
Also, those constraints create consistency though necessity. For example, you can write immutable code in Javascript/Python/Whatever, but because it doesn't force it on you through constraints of the language, you have no guarantees that other parts of the application follows your immutability rules, so many of the benefits are lost. Being able to make assumptions about a program, because the language enforces them to be true, is very useful.