October 17, 2017

The Rabbit Hole

Chris Ferdinandi is a colleague of mine who coaches people to be better “vanilla” (standard) JavaScript developers. Today he posted an article about checking if two Arrays are equal which I think is a great read for you, even if you don’t actually need to know how to make this check.

The article is a very detailed walkthrough on how to evolve an algorithm; you should be employing this same kind of thinking as you develop your own SuiteScript processes and systems. You don’t always need all the information up front. Always look for opportunities to improve, refactor, and optimize, and seize those opportunities whenever appropriate to the project.

It’s also an excellent case study of how a seemingly simple question can have an extremely complicated answer. You will see this all the time as a SuiteScript developer. Your bosses or stakeholders from the business will have a question or a problem that, in their mind, has a trivial solution, but you will find that the answer in SuiteScript is very nuanced and complex. You’ll need to be able to explain that in a way that makes sense to them.

You can find the article on Chris’ site:

https://gomakethings.com/check-if-two-arrays-or-objects-are-equal-with-javascript/

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Related posts

February 7, 2021

Reading is a daily priority for me. It’s the most effective way for me to learn, find inspiration, and expand my perspective. I have habitual time slots for reading newsletters (first thing in the ...

Read More

December 16, 2020

“I’ve been meaning to learn SuiteScript, but it’s hard to find the time …”“We’re slammed, and I just don’t have the time …”“I haven’t made the time …” All are variations of a theme ...

Read More

December 11, 2020

Today I bought a book from the Pragmatic Programmers that I’m very excited to read: Pragmatic Thinking and Learning It’s been a while since I’ve dug into a Pragmatic book, and they’re always excellent. Investing ...

Read More

December 9, 2020

I’m a terrible cook. I can make food that is functional as sustenance, but rarely is it delicious. Tonight was my night to cook dinner, and my wife handed me a recipe sheet titled ...

Read More