DEV Community

loading...
Functional Javascript profile picture

Functional Javascript

Full Stack System Designer and Software Engineer

Location Vancouver Joined Joined on  Personal website https://twitter.com/reactivizer github website

Education

Computer Science

All 112 comments

I wrote a crawler for the first time.

You could do that in certain cases. But there are only 4 of t...

I wrote a crawler for the first time.

Great work Kayla! A quick tip. If you use the async-await pa...

Sometimes JavaScript is Tricky.

The trick is to not have any of these tricks in your code. ;-...

When you think your functional code is stack safe

Sounds pretty deep in the academics. ;) When building applic...

When you think your functional code is stack safe

You've lost me there. Could you give me an example of where ...

When you think your functional code is stack safe

Interesting analysis Iven. Is there any reason you wouldn't ...

Understanding the Sliding Window Technique in Algorithms

I want you to know this is really great stuff Annie. Please k...

Javascript ||, aka Why Doesn't This Work?!

Great js quirk analysis Laurie. Thanks to eslint, this would...

Weeks 10, 11, 12 of JavaScript Bootcamp!

Excellent work Melissa, It takes a lot of persistence, drive...

Practical Functional Programming in JavaScript - Side Effects and Purity

That won't help you with dynamic data at runtime. That's wher...

Practical Functional Programming in JavaScript - Side Effects and Purity

Typescript does not do runtime type checking.

Classes are just a fancy way of writing higher order functions

If you think of solving problems with an FP approach, you thi...

A Functional Pipeline Example

I LOOOOOOOOOOOOOVE JSDoc

What the heck is Currying anyway?

Hey Tulsi, It turned out to be a big example :), so I posted...

Format Date and Time with Vanilla JavaScript

That's a great one if one wants to timestamp in UTC time, or ...

What the heck is Currying anyway?

Good summary on the fundamentals of currying, Tulsi. I use c...

Format Date and Time with Vanilla JavaScript

Thanks for looking into that Bob. I figured since you're the ...

I've always been using isNaN wrong! (and you?)

Yes, the NaN is confusing. //@test const aTrue = [NaN, unde...

Format Date and Time with Vanilla JavaScript

Nice tips Bob. What would be your approach to getting this d...

Friday Fun Post: fetch lyrics from a public API

Yes, one of the fallacies in the industry is the concept of "...

Friday Fun Post: fetch lyrics from a public API

I concur. You know another nice benefit of JSDoc is that it ...

Typescript: use the nullish coalescing operator to prevent bugs

I have a post here on the isNil func: dev.to/functional_js/n...

A "Gotcha" of JavaScript's Pass-by-Reference

Here's an example from the C# docs (though massively naive an...

A "Gotcha" of JavaScript's Pass-by-Reference

Again, I am in 100% agreement Adam There are three ...

JavaScript Truthy and Falsy Values

Excellent analysis Osumgba. Here's an example showi...

Slice in JavaScript

Nice refresher Suprabha. Here are two lists that pe...

Why do we write JavaScript like this?

That's because of your Object-oriented approach to programmin...

Why do we write JavaScript like this?

That's a good question, here's my answer to it: I don't unde...

Troll Hunting 101: JavaScript Passes Objects by Reference

Ha ha. I know the troll you're talking about. They have nothi...

Why do we write JavaScript like this?

Choosing implementation variants is straightforward if you ad...

Typescript: use the nullish coalescing operator to prevent bugs

Good tip Maxime. If one is using pure JavaScript, one can do...

When DRY Doesn't Work, Go WET

Nice write-up Nick. Some more tips: WEF (write e...

Tenary Operators in JavaScript, Should I?

Nice comprehensive analysis Osumgba. I use ternaries when it...

What Subset Of The Language Do You Not Use?

Thanks for your feedback John. "Suggested" is not in my crit...

What Subset Of The Language Do You Not Use?

Thanks for your input Maciej. For one thing, we're talking a...

What Subset Of The Language Do You Not Use?

That's a good question John, and I have a draft article saved...

Why I don't believe in pure functional programming anymore

Thanks for sharing your experience Ryan. This is my take on ...

Write a Custom JavaScript Filter Function that is 60% faster than Array.filter

Honestly speaking Aleksandr, I would not go down that path. I...

To All the Companies I've Interviewed with Before

Great writeup Christina. That is a LOT of companies, thus a L...

Before Migrating to TypeScript

For those who prefer to code in pure JavaScript, here's how t...

Write a Custom JavaScript Filter Function that is 60% faster than Array.filter

Interesting, using your example I get massive speed boost on ...

Week 7 of JS Bootcamp!

Hey Melissa, Way to keep rewiring those neurons! :) It'll al...

Add JSDoc to your JavaScript Code

Correct. And you get all the type inferences and all the squ...

Is it just me or...

Hi, It's always interesting hearing from those entering the t...

Changing World, Changing Mozilla

I've been running Firefox since yesterday afternoon, to check...

String Pad in JavaScript

Excellent work Samantha. A couple of these might come in han...

Changing World, Changing Mozilla

I've tried to like Firefox for years but the UX is just not t...

ELI5: The git error - 'CRLF would be replaced by LF in...'

Another tip for setting LF on windows, If you're using VSC, b...

Writte.io - Can I get your feedback?

Great work Bruno. The presentation of the product looks great...

Why the term 'T-shaped' is better than the term 'full-stack'.

Nice creativity Jack. An interesting way to look at it from a...

I learned Javascript, Ruby, Python and Java

Good luck on your journey Ngan. The toughest part about Java...

When Recursion Comes to Rescue

Nice work Annie! If you've read my posts and comments you'll...

Welcome Thread - v85

Welcome to dev.to Nitish. There's lots of experiences and min...

Welcome Thread - v85

Good luck on your software engineering journey Steven.

JavaScript techniques you wish you knew involving objects

Great comprehensive writeup Jack. A good trick for accessing...

Common Sorting Algorithms in JavaScript

I perf-tested these locally. An example usage per func... ...

Common Sorting Algorithms in JavaScript

Excellent work Christina. You're an expert of sorts. ;) I pe...

A short introduction to Functional Composition

Good summary Martin. Though method-chaining looks quite simi...

Leetcode Daily - Find all duplicates in an array

Nice work Andrew. I did a robustness-test and a perf-test an...

Medium or Dev.to which one do you prefer ?

Psychologically I don't click on Medium.com links anymore, be...

Why is a good strategy to take written notes

Thanks for sharing Luc. It's always interesting to hear how p...

Code Snippet Series: Get Unique Values from Array

Correct, these funcs work with the primitives (string and num...

10 Questions I'm Asking All Companies Before Scheduling Any Interviews

Good list Ashlee! 10+ interviewee questio...

Practical Functional Programming in JavaScript - Side Effects and Purity

I'll do an article on logging and troubleshooting pipes later...

Practical Functional Programming in JavaScript - Side Effects and Purity

Nice work on the functional paradigm Richard, Let me give yo...

Code Snippet Series: Remove Junk from Array

Good catch BeasTea, I've replicated your findings. It's impr...

Code Snippet Series: Remove Junk from Array

Quiz Hint: How many loops are there?

JavaScript ES6 Symbols

Great work Cole. A few uses of Symbols there that I wasn't a...

Is JavaScript truly a functional language?

You can do functional programming in all general purpose lang...

What´s wrong with Array.reduce ?

Correct, no function on its own is "functional" programming. ...

What´s wrong with Array.reduce ?

And it's better to make a semantically rich utility function....

Type checking your JavaScript with VS Code - the superpowers you didn't know you had

Good work Chris. Tip: a. create a tsconfig.json f...

What´s wrong with Array.reduce ?

Good work Davide. a. Let me mention that to keep the use of ...

Practical Functional Programming in JavaScript - Control Flow

Great. Keep up the good work, and let me know how it progress...

Practical Functional Programming in JavaScript - Control Flow

I think the problem with your code might be that your second ...

JavaScript's Functional Programming Mythology

I think a good way for one to introspect on how they approach...

Practical Functional Programming in JavaScript - Control Flow

Nice! Feel free to post the source code and I'll give it a s...

JavaScript's Functional Programming Mythology

Interesting writeup there Adam. Where are you meeting all th...

4 Ways to Combine Strings in JavaScript

Great work Samantha. Performance Test const ic...

Pagination interaction

The demo looks very schnazzy Dropinks. Btw, the "Article" li...

Better TypeScript... With JavaScript

Nice work Adam. It's eerily similar to my runtime check libr...

How do you order your functions?

I use arrow funcs exclusively, thus ordering by definition be...

Practical Functional Programming in JavaScript - Control Flow

Hey Richard, I just posted an article to elaborate on that.....

Practical Functional Programming in JavaScript - Control Flow

Hey Richard, That isPromise check should be fast. I think yo...

Practical Functional Programming in JavaScript - Control Flow

Great stuff Richard. And great community input David. Congra...

Currying in JavaScript

I make heavy use of currying with functional pipelines. Here...

Don't fear the command line: Redirecting And Appending

It's always good to get a refresher on the basics. Keep up th...

Scraping websites with Xray

Nice one Dennis. I tested it out and it works. I converted i...

Understanding Binary Search Trees

No probs Christina. I look forward to more goodies from you. ...

Cool stuff with Typescript

Excellent refresher on some Typescript features Amine. I don...

Understanding Binary Search Trees

Great work Christina. I posted the full operational code if ...

Quick Guide to Call, Apply, Bind in JavaScript

Great explanation Annie. As functional-programming-centric d...

Goodbye, Java

I love your metaphors and tshirts. You'd make a great opinion...

How to Check if Object is Empty in JavaScript

I've only used my isEmptyObj in sanitization code. Cleaning o...

How to Check if Object is Empty in JavaScript

Excellent work Samantha. I made the adjustment to my isObj f...

How should I learn JavaScript?

Though the opportunity is not available for some, the ultimat...

5 Tips for Writing Articles People Will Want to Read

Short and sweet. I didn't watch the video yet but I will late...

The Next Chapter for Fauna: $27M and New Leadership

Congratulations on the funding guys and gals! I'm very bulli...

Daily Challenge #266 - Who Likes It?

The exception would be if the more "complex" solution was mor...

Has VS Code got worse recently?

That's too bad. I was hoping to check it out again. :) I left...

Daily Challenge #266 - Who Likes It?

This is a case where the switch block is probably the simples...

Has VS Code got worse recently?

Does webstorm still take 5 minutes to start up, and max out t...

Has VS Code got worse recently?

The VSC team should spend the next six month on nothing but p...

What's the worst advice you've ever received?

Learn Silverlight, it's the future. —said no one ever, except...

When are you happiest as a coder?

I am happy when everyone else is happy. It makes for a great ...

Credit card number check

How about with some Method Chaining. :) Source co...

How do you deal with null vs undefined?

In JS I don't think in terms of null or undefined, but think ...

What do you love most about DEV?

You can pick up a lot of various tidbits here and there.

loading...