|
I've never seen the article, but I have seen tools that purport to measure the "cognitive load" of functions.
I don't put a lot of stock in them because that metric simply doesn't work for me.
I have a neurological condition that leads to my short term memory being very unreliable.
As such, I tend to use a very large screen (55" at 4k), make my functions longer, and see as much code on the screen at once as I can. Lots of little functions means I have to remember how to call them and it slows me down and introduces bugs.
For me that's a much worse problem then being faced by a complicated function with a relatively simple calling footprint. So I tend to load my functions up with functionality. Why make 4 functions to do something when 1 will suffice?
I usually split off functions mostly to avoid duplicating code.
It's a Bad Practice(TM) that leads to functions with "high cognitive load" but it works around my particular disability, so those metrics be damned - they don't take my particular brain wiring into account.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Github _IS_A_ Cognitive Load, in my opinion. 
|
|
|
|
|
I've managed to survive on work that I liked ... The longest I've been "forced" to learn something I didn't need was 1 week (Java, Swing, Struts, Eclipse, Net Beans, Apache, JBoss, etc.) ... then they came to their senses (.Net).
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
The IT landscape is changing, and one specializes not in IT, but a specific field in programming. I do office-programming, but do not ask me to write a game - I've never touched XNA and the likes.
You overload if you try to learn everything. 40 years ago, you'd be a hero if you did C instead of GWBasic. Now, there's a lot more landscape.
The demands are non-existing outside of what your boss demands; and that might not be very realistic.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I worked on an ancient web app written in visual basic back in the day. It had one "page" that took two numeric parameters The first one represented the dll and the second the method on the object. Those mappings were done in a database lookup.
All the methods took a single undocumented xml object as a parameter and stored all data in that one nested dictionary before doing other id lookups to load other components to build more of the tree. At one point I had 3 or 4 copies of visual basic running in debug mode to figure out how some nested component got the data needed.
All of that eventually was passed to an xslt file to generate html.
The architect that put that together was on another team, and shared his design with me before his team built it. I kept pointing out that it did nothing except make things more complicated, and totally lost my cool as he kept trying to explain the beauty of it to me.
They built that system and a year later nobody was left on the team because it was so hard to work with. I eventually ended up tearing it down and migrating it to a much more basic design. When the only constraints to building software live in people's heads, they end up building based on whatever crazy assed ideas seem good to them at the time.
That system was built out of cognitive load, and was the most ridiculous thing I ever worked on. I think it replaced a system with a few 6000 line functions of nothing but nested switch statements, but that was child's play in comparison.
|
|
|
|
|
That's a bit overboard. I've seen some crazy stuff, but at least it had some rationality.
|
|
|
|
|
Wordle 891 5/6
π¨β¬β¬β¬β¬
β¬β¬π¨β¬β¬
β¬π©π¨β¬π©
π¨π©β¬β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 891 4/6
π¨β¬β¬β¬β¬
β¬π©β¬β¬π¨
π©π©π¨β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 891 3/6
β¬β¬π¨π©β¬
β¬π©β¬π©π¨
π©π©π©π©π©
Letters position in the First two word really helped figure the third letter!
|
|
|
|
|
Wordle 891 6/6
π¨β¬β¬β¬β¬
β¬π©π¨β¬β¬
π©π©β¬β¬β¬
π©π©β¬β¬π©
π©π©π¨β¬π©
π©π©π©π©π©
βThat which can be asserted without evidence, can be dismissed without evidence.β
β Christopher Hitchens
|
|
|
|
|
Wordle 891 3/6
β¬β¬π¨π¨β¬
β¬π©β¬π©π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 891 3/6*
β¬β¬β¬π¨β¬
π¨π¨β¬β¬π¨
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
β¬β¬π¨π©β¬
β¬β¬β¬β¬β¬
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 891 3/6*
π¨π¨β¬π©β¬
β¬π©β¬π©π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 891 5/6
β¬β¬β¬π©β¬
β¬β¬π¨π©β¬
β¬β¬β¬β¬β¬
β¬π©β¬π©π©
π©π©π©π©π©
Had to look up the meaning of that word.
Was thinking mostly of the Godfather (or any other Italian American maffia movie).
|
|
|
|
|
Wordle 891 4/6
π¨β¬β¬π©β¬
β¬π¨π¨π©β¬
π©π©β¬π©β¬
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 891 3/6
β¬β¬π¨β¬π¨
π©π©π¨β¬π©
π©π©π©π©π©
Jeremy Falcon
|
|
|
|
|
Wordle 891 5/6
β¬β¬β¬β¬β¬
β¬β¬π¨π¨β¬
π©π©β¬β¬π©
π©π©β¬β¬π©
π©π©π©π©π©
tough one
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
We are living in a very old house in which living room, kitchen and bathroom are up to date (at least for us it is ok/comfortable).
But first floor (bedrooms) is very old. For me never a problem, to sleep about eight hours, I don't need a styled environemt.
Comming to the point: I ask my wife what she would prefer:
a.) Expand the bedroom floor comfortably?
b.) Buying a 'DMC DeLorean'? DMC DeLorean - Wikipedia[^]
To my surprise, she also chose the DeLorean
I'm so happy 
|
|
|
|
|
that's too funny!
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
But there seems to be a fly in the ointment... The DeLoriant will probably cost me a lot more 
|
|
|
|
|
I was going to ask exactly that.
Unless of course you are doing an extraordinary remodel on that bedroom.
Or alternatively you and/or the wife like doing your own car work including body work.
|
|
|
|
|
Quote: Or alternatively you and/or the wife like doing your own car work including body work.
I have a little bit of experience in welding. But the body of the car is made of stainless steel and I wouldn't dare touch it with my limited knowledge/praxis 
|
|
|
|
|
A rare woman indeed!
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
She is simply the best 
|
|
|
|