Category: educational

  • DevDose: Time-blocking & Deep Work

    Day Two of Devdose

    Time-blocking is the act of grouping certain tasks for certain times of the day, for a long time (after reading the 4 hour work week) I have just checked my email twice a day at certain times, this is an example of time blocking, another example might be that you only take calls from two until three, at a very literal level, you could schedule your whole day into allocated blocks.

    It sounds simple and really, it is, well at least the planning of the Time-blocking, sticking to the time blocks without getting distracted, that is the tough bit, at least for me anyway.

    Deep work is when you focus on a cognitive task and you are able to think deeply about it, the last and important part is, do it without distraction.

    A side note, somewhat

    I was talking to an old school mate recently about children, focus, growing up with social media, etc and we both agreed that these things had affected us too, we are of that age that we did not grow up with this tech, but still our concentration and ability has been impacted. 🙁

    Combined these two teqniques can be very powerful, time blocking work for cognitive tasks and removing distractions to allow deep work may produce surprising results.

  • DevDose: Using the Feynman Technique to Explain Closures

    Day One of Devdose

    The Feynman teqnique is a method used to learn things, as part of the process, you should simplify the concept you are learning and either explain it to someone or imagine you are explaining it to a friend.

    You should avoid the use of any technical or overly complicated words, if you are unable to do this, it might be a sign that you don’t understand the subject well enough.

    Non AI was used in the Making of the Content Above 😁

    Explaining JavaScript Closures

    Im going to try to explain JS closures using the Feynman teqnique above, I might throw in an anology…

    OK, so a closure in JS is a function that is inside another function, but when the inner function is called, it can still remember the variables that was set on the outer function.

    My analogy, I think it could be likened to eating a lemon and your mouth watering, you eat the lemon one time, it’s gone, but if you think about eating the lemon, then your mouth still waters… 😬😁

    I tthink that is pretty bad, maybe the sensation aspect will keep it mind for me.

    JS cclosers can be used to create factory functions too.