blog 307

Write about a project you’re particularly proud of. What did you do that worked out well?

While working on my portfolio page I spent a lot of time planning out the page. From wireframes, to written copy, to creating a sitemap and some simple designs in Adobe XD, I prepared as possible before writing a single line of code. I used this planning time as the creative process and when it was time to code I was ready to get to work and didn’t need to concern myself with the details any longer. I coded this particular project faster than anything else I’ve built where I am being creative and problem-solving while coding. I will certainly keep this in mind in the future, especially for client work it will improve my workflow going forward.

How do you do testing, and what do you think about it? How would you improve QA?

What tools do you use to find a performance bug?

What is the preferred method of resolving unhandled exceptions in Node.js?

process.on('uncaughtException', function(err) {// Handle the error safelyconsole.log(err)})

Another option: try and catch

try {setTimeout(function() {var err = new Error('Hello')throw err}, 1000)}catch (err) {// Example error won't be caught// here... crashing our application// hence the need for domains}

How does Node.js support multi-processor platforms, and does it fully utilize all processor resources?

Why is typically the first argument passed to a Node.js callback handler?