DEV Community

Brad profile picture

Brad

Full-stack TypeScript developer, loves a challenge and learning new fun things!

Work

Software Engineer

Last 250 comments

How To Ask for Help as a Developer

I very much agree with Take Initiative and Ask for Direction ...

What was your win this week?

Getting back into using this platform more! :D

Difference between for...of and for...in loop in JavaScript.

I used to get these mixed up all the time. Then I came up wit...

What does a successful career look like?

I think being able to define what a successful career is seco...

What are the things that scare you as a Developer? ๐ŸŽƒ

Production bugs that result in data not being saved.

Hanlon's razor, a great tool to be more positive

Its this sort of knowledge/wisdom that is not only useful whe...

Facebook is down, discuss...

I personally haven't ran into any restaurants with their menu...

Best Online IDE for Fast Development

There is one more "big dog" not in this list worth mentioning...

Facebook is down, discuss...

As someone who hasn't used Facebook for nearly a decade (make...

Downsides of TypeScript?

There is also the downside, that you can use TypeScript total...

Which one learn first, React.js or Node.js?

React, and realizing using something like create-react-app us...

12 Ways To Reduce Carbon Footprints as a Full Stack Developer

Further investments into wind, solar, and yes even nuclear ca...

Redux is half of a pattern (1/2)

"Pointing failures is a bold action when everyone is blinded ...

Redux is half of a pattern (1/2)

Your right that managing state is collateral of the pattern R...

How do you think tech can better protect people from harassment? Answer for the chance to appear on the DevDiscuss podcast!

I believe a better way to cut down on online harassment and t...

JWT Authorization and Authentication, Node, Express, and Vue

// DO NOT USE LOCAL STORAGE Enter fullscreen mode ...

What's the longest you've ever spent debugging a single bug?

3 months, not non-stop obviously, but I continuously went bac...

Daily Challenge #310 - Boolean to String Conversion

shortest version I can think of: javascript const boolToS...

MERN STACK.... costs

If your code is different, then yea anything could be messing...

MERN STACK.... costs

Could be a multitude of things, depends on how it doesn't wor...

MERN STACK.... costs

All three of the main cloud providers provide similar offerin...

MERN STACK.... costs

that's fine, but yeah I'd say a portfolio can be hosted for f...

MERN STACK.... costs

Cheapest option would be something like heroku which would en...

What's on your 2021 reading list?

I don't read novels as much as I used to as I find I end up s...

Self-taught devs: what's keeping you from landing your first job?

I'm not technically a self-taught dev, as I got my job thru a...

Having a dev as a life partner!

I think focusing on someone's occupation doesn't go deep enou...

Is functional programming in JS really worth it?

I don't have time, or want to watch a 46 min video from the c...

Is functional programming in JS really worth it?

I'm in the camp that believes in balance. Functional Progra...

The New Way of the Developer?

Are there any significant differences between these develope...

Developer world as a woman ๐Ÿ‘ฉโ€๐Ÿ’ป

I'm not a woman but I can offer a few "data points" to the co...

Freedom or Fast Development

This is a little too generic to answer without making a bunch...

Modern Windows 10 development setup

I have a weaker windows 10 laptop I got from a friend. I star...

What do you think about GraphQL? Who's using it? Love it, hate it? Tell me why?

If I was to use GraphQL I'd probably look into using it with ...

What do you think about GraphQL? Who's using it? Love it, hate it? Tell me why?

I haven't looked into it primarily because I'm worried about ...

Coding flask websites in an online environment

I find the single most fascinating part of the idea of "cloud...

Coding flask websites in an online environment

As a Chromebook user I've used a number of web-based tools to...

How to hide API KEY in GitHub repo

There's 2 things glossed over here that should be pointed out...

Do you have a standing desk? Which one?

I have a 60 inch varidesk at home since the start of the pand...

I hit โšก๏ธ 15k โšก๏ธ commits through Open Source contributions and it broke Github.

Wow thats amazing! Did you ever get any word from github, or...

What songs help get you "unstuck"?

If I really need to get "unstuck" I listen to nothing and wal...

Beginner Devs Should Use Linux... Maybe

I jumped into Linux before I was even close to ready. It was ...

I need help finding a platform that focuses on unblocking other developers

If you like the idea of helping beginners and junior develope...

Coffee drinkers: Do you take breaks?

I'm at a point where no caffeine means a headache. I'm not ...

If you had a time machine, what would you tell your younger self?

"Buy a bunch of bitcoin"! haha Besides that, I'd tell my you...

What terminal do you use?

xfce-terminal, which comes out of the box for xfce desktop en...

Badge it- A Github Action to automate the process of adding Badges to your Readme.

After just struggling with manually adding some badges myself...

Star Wars vs Star Trek ๐Ÿคบโ˜„๏ธ๐Ÿš€๐Ÿ‘พ

Star Wars for me. I think its because I'm more of an "action ...

Help choosing a laptop for work

Get the Dell XPS, for 1 reason only, the processor is better....

What have you always wanted to see in your CI?

Right now tests don't take that long, but we also execute "sa...

What have you always wanted to see in your CI?

So we ran into a few approaches: So one approach we tried wa...

What have you always wanted to see in your CI?

Personally I would love a solution that intelligently figure...

What's your fav Linux distro

Manjaro due to what you mentioned, while still being basicall...

Why I switched away from Google Firestore

Great article pointing out all things Firebase! My team once...

How GitHub Codespaces increase productivity and lower barriers

I honestly feel like this is the sorta of feature that can be...

Deploying react and node.js?

This really depends on how your hosting provider works, as no...

How do you host a website for free?

great list of free resources!

Are there any blind developers? How do they code?

I read an interesting interview about a blind software engine...

What irritates you the most as a developer? ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

When the client changes their requirements.

What are your thoughts on the TikTok ban and the related issues?

Just wanted to add more information surrounding this situatio...

What's that piece of code that you have to Google *every time*?

Not sure if you can call it "code", but I need to lookup css ...

Whatยดs wrong with Array.reduce ?

This seems like a very personal choice. I personally am a fan...

Tossing TypeScript

I'll always use TS for one reason and one reason only. I am ...

What do your friends and family think about the software industry?

Me: I code. Them: Oh you must be super smart, good at math, ...

Linux is a bigger threat to windows than you think

Wow this is a lot, like a lot. Most of the statements are tr...

Angular struggles in 2020

So lets make 2 thought experiments: We continue (the Angula...

Linux is a bigger threat to windows than you think

Linux already won the war that matters long ago. The war was...

Got a new badge on GitHub.

Me too! It is kinda scary that some of my bad code will surv...

Installing Snap On Chrome OS

Thanks for the recommendation, I'll have to checkout that rou...

Installing Snap On Chrome OS

I have had VSCode installed via the .deb file and it fine :D....

Installing Snap On Chrome OS

I was keeping track of GPU acceleration support from the Chro...

Installing Snap On Chrome OS

No worries ^.^ I was reading your tutorial mainly because my ...

Installing Snap On Chrome OS

I'm not sure if developer mode is required for this. On my ...

๐ŸฟWhat was the most remarkable ๐Ÿฆ— bug you have ever had to fix ๐Ÿ‘ฉโ€๐Ÿ”ง?

When I started programming I spent a good part of a day bashi...

Top 8 Node.JS Frameworks to Look at in 2020

I must say that I'm a bit tired to see people keep recommend...

Top 8 Node.JS Frameworks to Look at in 2020

Socket.io is a library to help you create WebSocket, it's no...

Touch Typing- The Most Important Skill For Developers Nobody Talks About

I started learning typing at a young age, but didn't get seri...

Do you use blue light glasses?

I've had a pair that were around 20$. I wear them sometimes i...

Developer Discord Communities

freeCodeCamp started an official Discord server recently to p...

React, Angular or Vue JS? Which do you prefer and why?

React focuses primarily on the view and display the of data. ...

React, Angular or Vue JS? Which do you prefer and why?

Angular. I learned it first, and its the most feature rich o...

GitHub's repo redesign

so far I like it, couldn't find where the "latest commit" and...

What was the first programming language you learned?

In early highschool I started to play around with .bat files ...

Code is Political

Are you really implying those who remain silent are racists ...

Code is Political

The poems meaning is more or less the same as the one posted ...

You Probably Don't Need a Mac

I'm someone who slaps Linux on any PC that I want to developm...

Typescript - why to use "unknown" instead of "any"

I've ran across unknown when interacting with some libs but n...

Is the Front-End community better than the Back-End community?

I blame the environment for the "less hype" when it comes to ...

Buying a game console in 2020

My kids need to be able to play Just Dance on it get the...

Music for Coding

I listen to FreeCodeCamp Radio. Its Ad free relaxing/house ...

It is better to write something complicated that people find it hard to understand

I'm not sure why the "catch" is if a CEO or program manager...

It is better to write something complicated that people find it hard to understand

Depends on the topic right? If you take something that mo...

Killing The COVID-19 ๐Ÿ

I usually work later (so traffic dies down), so I still "wo...

Do you have a side project? Talk about it!

I've been working on the same project for almost 2 years. I...

Some useful things for doing on COVID-19 quarantine ๐Ÿ˜ท

I've been focusing on finding ways to improve my work at ho...

whats the best CI/CD service

In general Gitlab is the most feature rich and most flexible ...

How should I start to write clean code?

Basically every language has some kind of testing support, ...

Are reducers split too specific?

Usually you have 1 reducer for your slice of state. In the ...

How should I start to write clean code?

The only thing I see that could be a "next step" to writing...

Do you code Games?

I took a class in college where we built a Unity 3D powered...

Document your thoughts

Sounds like rubber duck debugging, great way to figure out ...

Refactoring: My 6 favorite patterns

I love #6 (single object param) hands down one of my favori...

How to spin MongoDB server with Docker and Docker Compose

Hi, I've been messing around with a setup very similar to t...

How I broke into the world of developers, without being one

Maybe, after all, developers donโ€™t come from a different pla...

Code readability metrics?

In my opinion the only way to control subjective factors o...

Do you work at a startup ?

Pro: Smaller team = more opportunities to learn Con: Smaller ...

Why I live as root

People who don't follow the conventional wisdom are met wi...

Why I live as root

the time losses were utterly massive. Something like a min...

Debug Angular 9 in 60 Seconds

I swear, Ivy is magic haha!

Help Angular to make your application faster

I think the headers in this article are not formatted corre...

How do you convince clients that security is not an option?

The temporary login feature seems like the best bet, how-ever...

Do You Need to Know Data Structures & Algorithms to Be A Good Programmer?

Yes you do need to know data structures and algorithms, but...

Social Lifespan of Posts

I think the best solution(s) depends on what we think is im...

What's the best documentation you have ever read?

I tried it one time from the ground up on a raspberry pi. G...

Why early stage startups can be the worst for junior developers

The generalization is a little much, since none of those th...

What's the best documentation you have ever read?

Arch Linux wiki When you have a distro that comes out of the...

How to convince devs to do more testing

Being able to take a TDD approach usually requires an idea ...

Redux is half of a pattern (1/2)

I do find it fascinating how there are very drastic responses...

Redux is half of a pattern (1/2)

The same could be said about how Redux doesn't handle displ...

Redux is half of a pattern (1/2)

So just to verify my own understanding, Redux is half a patte...

Space VS Tabs

I hit the tab button to insert spaces. I use 2 space indent...

Development Environment: Windows or MacOS?

I bought the Pixelbook as my laptop to "end all laptops" as...

Development Environment: Windows or MacOS?

Another reason I like Linux is it runs basically on anythin...

AngularJS Recap in 2 Minutes

I see this article missing two things: Dependency Injection...

Development Environment: Windows or MacOS?

I personally like Linux for 3 main reasons Freedom - I ha...

Can you solve the fastest horse ๐Ÿด algorithm problem?

I remember going over this problem in class, it was a good ...

How to switch from learning one stuff to another while being as flexible as you can?

For those not familiar Warren Buffet's 5/25 rule is defined...

Is making 100k USD a big deal from India?

I personally have met and worked with a few offshore develo...

Chromebook Dev Setup

How was the performance of VSCode running a web development...

What was the most influential piece of software in the 2010s

Android (it was release in 2008, but took off in...

RegExp syntax for Observables: Never Been Easier!

If only we had a library to use regular expressions on strea...

Is Multitasking Effective for Your Work as a Developer?

Is Multitasking Effective for Your Work as a Developer N...

How many programming languages do you know?

Right now I know 1.5 language very well. TypeScript and th...

Where do devs go online to chat?

Reddit, Twitter, and Hacker News are all very meh IMO. Like...

Whatโ€™s the most under-appreciated software?

Literally anything built free and opened source is under-ap...

Golang for JavaScript developers - Part 1

I've learned a bit of Go and I agree it is a clear straight...

Golang for JavaScript developers - Part 1

Awesome article, the only thing I feel like is missing the ...

What are your must-have Android apps?

I try to keep my phone as simple as possible. Adding random...

Angular State Management Options

We tried to build our own state management using services+b...

The Password Struggle

I believe multi-factor is pretty good if done securely. So ...

angular

Assuming you have some standards in place as to when and wh...

Learning programming on a Chromebook?

I run a Pixelbook i7 as my on-the-go machine and it's been ...

The single most timesaving bash shortcut

Ah yes, the - shortcut, the "back button" of bash! ๐Ÿ˜„

Running a single test suite/spec in Jasmine

I believe in future versions (3+?) of jasmine using fdescri...

Intro to Linux for New Developers

I'm not sure if I ever ran into anyone doing this, so I hav...

Are you using Docker for local development?

I'm a TypeScript full-stack developer and tried to learn ho...

Angular Services

One of Angular's key features is its dependency injection s...

TypeScript: how do you share type definitions across multiple projects?

I've seen this, but importing typeorm to the client-side us...

Learning How to Write Go REST APIs on a Pixelbook: Day 1

I use the i7 Pixelbook for work every now and then for Type...

please help me with this problem

I added an thorough answer on SO, I'll add the TLDR version...

What Are the Most Important CS Principles to Learn as a New Dev from a Non-Traditional Background?

Its possible there is a point where I understand calculus e...

What Are the Most Important CS Principles to Learn as a New Dev from a Non-Traditional Background?

I 100% agree with Big 0, but not calculus. As someone who st...

Why Not Having a CS Degree is Awesome

That is until what you specialize in isn't used. Its like b...

Why are many developers here anti tutorial?

I think the idea that tutorials are 100% bad for you is wro...

Whats the best keyboard?

There is probably a best out there for each person, but I d...

Explain Angular to Me

Oh man I totally forgot about mentioning which state manage...

Why Not Having a CS Degree is Awesome

As an employer, you know the strongest teams are the most di...

Explain Angular to Me

Before I start I have to point out that Angular is version ...

Best Github Repositories a programmer should check out

I love a good lists of lists!

React vs Angular vs Vue: Which Framework to Choose in 2020

This is a very good comparison for each framework, but I di...

Which linux distro is best for general application development, docker and devops?

I've been using Manjaro Linux for a few years and have no reg...

On Finding Time to Read.

When I was young I was literally forced to learn to read. T...

What's your advice for future CS students?

Sounds like your on the right path, and have the right mind...

What and how is your development environment?

I work with JS the most, I used to play around with Python ...

What's your advice for future CS students?

Stay curious. There is a lot of learn, now and in the futu...

Remember its just a Job

You can pretty much develop software anywhere, this makes i...

1st portfolio, which languages/framework to use

If your building a portfolio I recommend building it with w...

How My Terrible Memory Makes Me a Better Developer

I also have a bad memory and leverage it as much as I can t...

Cancellable Promises

First does the example work? Second, what would you want to...

Hard to Read Code is Not Empathetic

I'm not sure it's all that easy to turn into a foot gun if...

Hard to Read Code is Not Empathetic

Yes, the first example is easier to implement and thus, pe...

What database do you use?

With my personal projects I always go with Mongodb for the ...

What was your first Hacktoberfest contribution?

My first open-source PR wasn't during Hacktoberfest, but I ...

As a self-taught, have you considered getting a degree afterwards?

A degree isn't as cracked up to be. I'd take practical experi...

Tips on naming boolean variables - Cleaner Code

As they say, one of the hardest things with programming is ...

Where do you store your .env files?

We used to just pass them around in a USB. We eventually up...

Complete this sentence: If I could add a new programming skill it would be...

I was interested as an alternative to Java, and to potentia...

Javascript uses call by sharing for objects

I'm still kinda confused. So if JavaScript uses pass by sh...

Complete this sentence: If I could add a new programming skill it would be...

If I could add a new programming skill it would be learning...

What is this type of programming?

I believe if you were to programing specific hardware to do...

6-10PM challenge problem #001

This is my "code-golf-esque" solution. const arr = [12, 3...

What is this type of programming?

I'm not sure what you would call this sort of programming, ...

How do you count your lines of code?

I use sloc when I'm curious about the amount of lines and TOD...

Do you take notes when studying a language/framework?

I never take notes when "studying". I also usually don't wa...

Seeking Angular Dev

Depends on lots of factors, I recommend creating a listing ...

Seeking Angular Dev

Here is the link to create a listing: dev.to/listings/new ...

Seeking Angular Dev

Is it a new application or updating an existing one? (ng4 i...

Why Your Angular App Is Not Working: 7 Common Mistakes

Nice list of gotchas! I've fallen for these multiple times ...

What are your favorite VS Code extensions and why?

I have a few that I must have prettier - it current has so...

HackerRank Is Teaching You to Write Terrible Code

I say the best code is "dumb code". Code that is so blatant...

NodeJS & PostgreSQL: ORM Overview

I currently am using mongoose for a side project I've been wo...

Curated list of project-based frontend tutorials [Project-Based Learning Frontend]

Excellent resource list!

What time of day do you get your best work done?

Whenever I get to work on my own project at the time. Could...

What was your win this week?

Did the following for the first time, all in 1 (very) produ...

Am I an expert developer or just an expert googler?

A big thing I've noticed often is developers seeking answer...

How to cache HTTP requests in Angular

I struggled figuring this out for at least 1 month when I sta...

Are you really using JavaScript?

Do you think it could have a negative impact on how develo...

Are you really using JavaScript?

Its an interesting question no doubt, but I think the best ...

5 Ways To Easily Validate Your Idea Before Its Too Late

Excellent advice!

I'm the former tech lead for the NPM CLI, and I've been doing FOSS for 10+ years, Ask Me Anything!

Thank you for all the effort you have put into the npm and th...

Fun Project: Starship Tech Support (Angular / NgRx)

This is awesome!! (At least for me) I love Space stuff, an...

My Bookmarks for Developer and other IT Resources

Awesome list, will have to spend some time checking it all ...

Whats in your bag?

let's get this out of the way first, I carry a lot of crap ...

What is the oddest JavaScript behavior?

This took an hour of my life: typeof null === 'object' //...

โ€œAs a software engineer, your main contribution to the project isnโ€™t the code that you writeโ€

"As a software engineer, your job is to make yourself redu...

How to initialize a Singleton mongo connection with expressjs

I've used a few patterns: Create a connection to the DB b...

TypeScript: how do you share type definitions across multiple projects?

I consider the mono-repo approach to provide the least fric...

TypeScript: how do you share type definitions across multiple projects?

We looked into a few approaches a while back: npm package...

Object.entries() and Object.values() Methods in JavaScript

I legit did not know you could do: const map = new Map(Ob...

What is bad code?

Like most things in life, I'd say the real answer is purely...

do you use linux, windows or macOs on your PC?

I use a mix of the following: Manjaro on my Work PC. Its ...

Using jQuery with Angular 6. Is it best practice?

Is it best practice? no, unless you want to use a lib th...

I use test-driven development every day, ask me anything

I've been trying to get into TDD, and find myself able to d...

Using a Chromebook For Web Development: Part 2

My Pixelbook was one of the few impulse buys I've made in m...

Using a Chromebook For Web Development: Part 2

Don't hear of too many Chromebook fans, but I think that wi...

How to convert an array into an object in javascript

Nice! I had to write one of these the other day. Here's a s...

Using a Chromebook For Web Development: Part 2

I got my first Chromebook before Android app support was re...

What are the worst security practices you've ever witnessed?

Using eval in nodejs to evaluate client-side input values. ...

Trying to understand Components (in general)

(I'm an Angular dev that cares about code quality and will ...

Welcome Thread - v36

Hi, I'm Brad, and I'm a full stack Typescript dev. I usual...

Why Curiosity is Dangerous

I believe too much of a good thing is always a bad thing. Th...

Native or cross-platform development?

I used to think app development would be cool to learn. The...

Gimmicks at work

Ours is simple. Who-ever fixes this nasty bug in the next...

Dev.to for CodeNewbies?

Didn't even know I could change the "follow weights" cool f...

What is the difficult coding challenge you have faced?

One of the hardest times I had was the time I was just star...

Quickly switching between branches

this "back-button" command also works for changing director...

Hidden gems of debugging ๐Ÿ’Ž

Awesome article! Learned some new things :D

How to learn object oriented programming

There's plenty of excellent resources linked, and provided ...

What software projects made you "wow" ๐Ÿคฏ

I was blown away by stackblitz. Basically VSCode in your b...

What kind of apps have you implemented using a noSQL database like MongoDB or CouchDB?

I worked on an app that provides drag and drop functionalit...

Do you bring your laptop on vacation?

I semi agree but not for the reason you think. I do not be...

7 Ways to Clear Your Head When Facing a Programming Problem

I love rubber duck programming, works great!

Will software ever become "blue collar" work?

I believe the term "blue collar work" is for jobs that requ...

What's your latest (or favorite) "Can you fix my computer?" story?

I used to work as IT on campus while going to school. My jo...

What pulled you away from coding for a while?

Video games ๐Ÿ˜Ž because I like the thrill of the ...

I built a large production static site for a publisher (100K articles) [without GatsbyJS], Ask Me Anything!

How long do the re-builds take for all those articles? Ho...

101 Tips For Being A Great Programmer (& Human)

Each of these topics could be its own article, and I'd hear...

What is your Favorite/Most used bookmark?

I use a chromebook, so I don't use bookmarks, instead I use...

Am I weird?

The one thing that music gives you is a beat. If you have a...

Tips for catching up at work (code specifically) after a long holiday?!

I ran: Just to remember what the state of things is: gi...

Top 10 Programming Memes (pemes)

I have a folder of programmer memes I view time to time, that...

loading...