Senior instructor @Pluralsight & @DevIntelligence /
Software engineer /
D&D nerd
// Any pronouns // My views are my own // Empathy is understanding // Epoché
@joeldavidmercer@mzabriskie Advice: When you tried everything you thought to try with no progress, the problem is not likely to be found among the set of things you thought to try.
It is more likely to be found among your ASSUMPTIONS. So write them down & prove them true, starting w/ the easiest to prove.
The in-person holiday social is BACK. Register today and join us on Dec 10 to celebrate the year with food, drink, and friends both old and new! And we will present this year's Hackies winners, too!
https://t.co/2uQ5uxTEXs
@MiroHQ The /login and /signup resolves in an empty text file (instead of valid HTML), for both myself and my whole remote team (regardless of network, browser, or browser extensions).
@KentBeck Of course, in some cases, `functionToBeModified` might take the responsibility and handle the execution order internally as a higher-order function.
@KentBeck It is interesting how intermediate variables become more useful as an abstraction when dealing with referential opaqueness.
They permit handling the "Connascence of Execution" explicitly – outside `functionToBeModified`.
There's one contributor in particular who has been extremely impactful for 2 years, and we really want to get him a full time salary through donations.
The goal is $4k/month to get there. Any donation helps!
@marcochsner @wesbos Yeah, `console.log` is essentially a "procedure" in the old parlance: a function with no return value.
Except, in JS, all functions return `undefined` by default unless a return value is explicitly specified or you're using the optional implicit return of arrow functions.
@CablesKalamity Do you have any photos of the "shimmer" on your cables? Perhaps even a before vs. after? I know the website says "add unicorn puke." I'm just not quite sure what exactly that means without a visual.
@trusktr@nullvoxpopuli @OrenElbaum @AdamRackis That templating trick being done here, where a callback reference to the `count` function ("signal") is being passed into the `html` function via a tagged template to be set up for reactivity...
That is a _slick_ pattern for native, untranspiled JS. 🔥
We got an email from our kid's school district about how many families haven't started paying for school lunches now that they're no longer free. The email serves as a "reminder," as if that's the issue.
Why are we deliberately allowing kids to go hungry?
I've been teaching the Magic Number 7 for quantifying complexity in code for years now. Great to see this on the conference circuit!
Readability is cognitive load management.
In addition to this talk, @ploeh has the book "Code that Fits in Your Head."
https://t.co/J1UYvJqR0n
@aLe3ouLaa@LifeLongThinker@s_adamiak I love RegEx. But I love it for the fun. I love it as a puzzle.
It absolutely has all the problems you've mentioned when it comes to productivity, particularly when anyone else ever has to read your code.
@HolmiJo @idongCodes Me too. It's a probability game. There are always going to be people who got unlucky. But the probabilities are reducible.
And I strategically hold my breath, such as while passing people in an enclosed entryway. It's a very good lung exercise anyway.
@LifeLongThinker@shanselman Then compare to annotated code like the famous example of an algorithm for calculating PI in Fortran, which is linked in this article: https://t.co/Liq7dLweuz
From here, I'd watch Jim Weirich or someone talk on Connascence.
@LifeLongThinker@shanselman There are some really great visualizations for Coupling at/near the top of an image search for the phrase "coupling and cohesion."
I encourage people to build an intuition based off them by asking how those visualizations might be used to describe television shows vs code.