While completing a lesson exercise on React ToolKit’s createAsyncThunk(), I was was given instructions to compose the async callback function it takes as a second argument. This is an approximation of the code:

async () => {
const response = await fetchUsers();
return await response.json();
}

The role of this callback function is to provide the payload property of an action to dispatch to the Redux store to affect state. In this case, I was retrieving a list of users to then pass on as the payload.


Reflections on a Software Engineering Bootcamp

As I write this, my class is rounding out the last course section before work begins on our final independent project. It has been almost twelve weeks, not counting the ones devoted to completing the prerequisite course work, and looking back on both the application process and the core of the educational program I recognize both how far I’ve come and how far I have to go.

The reason I chose a bootcamp to learn about programming, the reason I assume most people in these courses choose them, is the relatively short (and intense)…


This is a short helper guide for all those programmers out there who still find themselves taking their hands off their keyboard for most, if not all, navigational purposes. Your keyboard can be like the steering wheel of a car: most of the driving can be done without having to lift your hands off of it.

This should also come in handy if your mouse breaks or it’s bluetooth and out of batteries.

This is simply a quick-start guide focused on the programs and tools most used by developers(using Macs, of course). …


As a programming language, Ruby is often praised for its resemblance to a human language, English. This is a virtue particularly to those of us new to reading and writing in computer languages.

It is similarly praised for its flexibility. There is often more than one way to write a set of instructions. Consider this example that employs the .map method:

array.map do |num| 
num * 2
end

Assuming the above array is an array of integers, this method will return a new array whose elements are the product of multiplying the original elements by two. …


Before I started to learn about computer programming, I was intimidated by the belief that I would need a much deeper understanding of how computers worked before I was able to do anything remotely useful. And while months of self-study and a few weeks of an intensive training program has indeed deepened my understanding, I’ve come to better appreciate that programming languages are like myriad other tools of modernity: one can competently use them without deeply understanding how they work. (And isn’t that genuinely great?) At this point in my education, perhaps in particular, I often muse about how much…

Yoichi Michael Nagano

Full Stack Software Engineer, film camera lover, Brooklyn resident.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store