Significance of the underscore parameter in arrow functions

Reading code I noticed some devs have been using an underscore, _ => {...}, in their arrow function rather than empty parentheses, () => {...}. At first I thought this was further syntactic sugar of the ES2015+ specifications that I had missed, some convenience keyword.

But I just realized that people have just been using (abusing?) the single parameter with no parenthesis syntax. Basically passing a variable called _ to the function and never using it as a means of not having to type two characters thus “saving” time.

To be clear, these are all the same:

a => {...}
foo => {...}
🕿 => {...}
_ => {...}

I’m not sure how I feel about it, the jury is out. On one hand it does save typing a character, on the other it feels… wrong.

My personal hell

I think it’s going to be driving a large truck towing a trailer in rush hour traffic making left hand turns at uncontrolled intersections going from one crowded mall to another where I have to cold call someone to sell them something they don’t need.

New design

I thought it was time to update the design of the website. I clearly don’t have the design chops to do it.

So I am now using WordPress and some stock photos from my old employer iStockphoto Istock by Getty Images. I found some beautiful photos of Calgary and Alberta, my home.

I struggled with whether I should enable my blog portion. As I really don’t think I have much to talk about and am not sure there are people that would be interested in hearing what I had to say. But I suppose I’ll give it a shot.

I recently picked up a new hobby, wood working, mostly power tools and whatnot for now. But perhaps I’ll use this as a platform for showing my works.

I may also talk about some programming and what we’re doing at Arterys.

More to come, probably.