Journey to becoming a DEV...continued

I continued to focus taking an online boot camp AWS Lambda & Serverless Architecture Bootcamp (Build 5 Apps) I finished up API Gateway, Lambda and DynamoDB modules Each had their own labs and believe it or not, all labs worked. I'm traditionally one of "those people" who dislike or find everything wrong with labs. I'm still surprised everything worked since the labs involved configuration and some coding. I'm enjoying API gateway as well as Lambda. I realize it's docker on the backend, but is cool...

From a DEV perspective, I feel like a person fresh out of college learning a new trade. Lots of new technologies, methodologies, patterns to writing code. It's been refreshing to focus mainly on one language for now, JavaScript. One of the labs involved having the => operator. Later in the week, I found https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions that explains it briefly. The journey to write less code.

Other things I learned in JavaScript is === (aka three equals). My sample code worked either with two (==) or three (===), which for a fresh, new eyed "dev-guy-in-training". This made me go "hmm". A quick google search led me to a site I've used for years and I recall helping promote "back in the day". https://www.w3schools.com/js/js_comparisons.asp

I like the strict nature of === and will try to be formal when writing code and doing comparisons. Hopefully, this will encourage less bugs.

The code challenge

A really smart guy I work with sent an email asking if I was up for a "coding challenge". The code is available at https://github.com/steveschofield/code-challenges The v5 version appears to work as designed. The coding challenge basically had two arrays with some similar data and some differences in both arrays.

I needed to write code and add in a JavaScript array for everything the same and another array to contain differences. It took me a few hours of googling, testing to determine. My v1 version had a few bugs, but was around 100 lines of code. The v5 version had around 50 lines of code. If lines of code is my benchmark. I was 50% better and had better quality. Feel free to download, fork or show me a better way.

I found a neat solution on https://www.w3resource.com/javascript-exercises/javascript-array-exercise-23.php This involved using more advanced code that I can write at this time. It worked with just 'numbers', at least in their example. The best code written is code that works. I'll continue to seek out coding challenges and helping refine the new craft I'm working towards.

And last but not least. To be a dev person. Macbooks are a necessity. I'm waiting on mine to be configured. After many years on the windows platform, this WILL be an adjustment. I'm up for adventure.

I'd be interested in hearing from anyone their stories, tips / tricks or anything to help me along my journey. Until next time!

Steve

"Journey to become a dev"

PS - if this type of article isn't meant for Linkedin. I can posted on an external blog.... if there is something different or better, feel free to let me know.










To view or add a comment, sign in

More articles by Steve Schofield

  • Network Technician - Summer 2023

    Have a student interested in learning #IT #networking or #Cybersecurity? I did a YouTube video to describe the…

    1 Comment
  • A year in review, first year back in CyberSecurity

    First off, this quote by Colin Powell is appropriate to the start of a new year. I started my CyberSecurity journey…

    1 Comment
  • Happy Father's day Dad!

    As we celebrate Fathers Day. My dad has been gone almost four years.

  • Legion pen-test tool & Nmap (continued)

    Spent more time inside nmap. There are many in-depth articles available.

  • Nmap - Zenmap GUI, OpenSSL, sslscan

    This article covers additional tools used recently in my security adventures. Nmap - Zenmap GUI OpenSSL sslscan…

  • As a newbie... where do I start?

    I recently got back into cybersecurity. I've been in IT many years and always enjoyed the challenge of IT security…

    1 Comment
  • Using X11 to forward Kali Linux display to MAC

    I loaded a #virtualmachine with #kalilinux. I'm updating my #homelab with a $200 desktop PC (16 GB ram, 256 GB SSD HP).

    4 Comments
  • Journey becoming a dev...continued

    Welcome again to my story of “becoming a dev”. It’s a journey that started about four months ago.

  • The journey to becoming a dev continued...

    Good day for those in the Northern Hemisphere and other places as well. It's been summer where days are longer, more…

  • The journey to becoming a dev continued...

    I’ve finished some basics covering AWS Serverless technologies. I was impressed with API Gateway, Lambda technologies…

Others also viewed

Explore content categories