DEV Community

loading...
Davyd McColl profile picture

Davyd McColl

Code monkey extraordinaire

Location Durban Joined Joined on  github website twitter website

Work

Full stack dev at Codeo

All 104 comments

Which programming language would you start with and why?

the top two (pyhton and javascript) are, imo, the best choice...

10 Fun APIs to Use For Your Next Project

Thanks! I made currex which is a CLI currency converter betwe...

What's your commit strategy in personal projects?

Commit small, commit often. We use feature branches simply be...

How to ask senior devs for help?

I'm so glad you're asking how to ask for help! As someone con...

What was your win this week?

Now check out NVM to see how easy it is to install node into ...

Why is SQL injection still a thing?

I guess some of the problem is that people are introduced to ...

Is anyone planning a full or partial "early retirement" from software development?

let's put it this way: If I suddenly got $boatload of $cash ...

writing code: Native language or English only?

thing is -- I don't want to say "don't write in your native l...

writing code: Native language or English only?

I am a native english speaker, but perhaps my 2c is worth it:...

I'm still using Firefox

I've been using Firefox as my daily driver (Nightly on my dev...

July 3rd, 2020: What did you learn this week?

this: cezarypiatek.github.io/post/method... I knew there was...

What are some examples of "productive laziness"?

Perhaps also how I just wrote a GreaseMonkey script to automa...

What are some examples of "productive laziness"?

^ this if there's something you have to do regularly, please...

What are some examples of "productive laziness"?

I just wrote a cli npm module to bootstrap typescript npm mod...

How do you fight boredom in software development?

Add bugs to find later!

What are some misconceptions about web development?

JS is a good place to go next! You'll be able to use it almos...

What are some misconceptions about web development?

They are all programming languages. Some are declarative, som...

What are some misconceptions about web development?

It's only for spiders!

What is the most potentially-revolutionary software currently being developed?

Perhaps I am missing the point, because I don't see $99 worth...

What is the most potentially-revolutionary software currently being developed?

Nothing new here: any reasonable email client can mark inco...

What is the most potentially-revolutionary software currently being developed?

NOT Hey.

What's your go-to stack these days?

dotnet core + Vue with TypeScript.

Github is replacing the word master to avoid slavery references. Deal with it.

I assume you're referring to the tools? If so, here's some m...

Github is replacing the word master to avoid slavery references. Deal with it.

Exactly -- I have over 200 repos. I'm not about to go update ...

How much coffee do you drink?

All the coffee in my cup?

WSL2: Making Windows 10 the perfect dev machine!

Sorry, this was my lack of communication: what I meant to say...

WSL2: Making Windows 10 the perfect dev machine!

Really useful, thanks! I've been wondering how to (a) tell if...

🐧 Why I switched back from Windows to Linux (Arch/Manjaro)

(I used to use GNOME 2, but I don't like the direction it wen...

🐧 Why I switched back from Windows to Linux (Arch/Manjaro)

My thoughts exactly. I'm not a fan of GNOME -- but my prefere...

🐧 Why I switched back from Windows to Linux (Arch/Manjaro)

Yeah, we have a few people using macs too, so I'm always tryi...

🐧 Why I switched back from Windows to Linux (Arch/Manjaro)

I agree with the line "as long as it keeps you productive it ...

Getting back that precious disk space

Also, using a tool like QDirStat (or the windows port WinDirS...

Explain the different popular Linux distros

As mentioned elsewhere, the primary difference often comes do...

Promises in 15 minutes

Good post! If anyone is interested, I wrote an interactive pr...

New browser on the block!

yeah, unfortunately, 6 months down the line, Flow still looks...

What does Full Stack mean to you?

IMO, a true full-stack developer can work all the way across ...

What's the state of the software job market?

I still keep on getting offers; the only real difference is t...

What's your favorite software idiom/aphorism?

As a programmer, my job is to solve problems. Sometimes even ...

What's your favorite software idiom/aphorism?

I had 99 problems, so I added a regex. Now I have 100 problem...

What's your favorite software idiom/aphorism?

There are two difficult tasks in programming: naming things, ...

What's your favorite software idiom/aphorism?

Write code as if the next person to work on it is a homicidal...

What's your favorite software idiom/aphorism?

Code is for co-workers, not compilers.

Facebook agreed to censor "anti-state" content in Vietnam

Thanks for the obvious response; however, if you consider it:...

Daily Challenge #233 - Get Planet Name by ID

this is the correct answer (: Python intentionally shunned th...

Daily Challenge #232 - Regex Pattern

function regex_contains_all(chars, caseSensitive) { return ...

Facebook agreed to censor "anti-state" content in Vietnam

Money > (Privacy | Ethics) No big surprises here. This is...

If you had to create a desktop app what tech stack would you use?

I've worked with PyQt before -- that was quite positive, bu...

Explain Async/Await Like I'm Five

Nice catch. I could hardly see all the text on my phone whe...

Explain Async/Await Like I'm Five

JavaScript, by design, is not multithreaded. So unlike your o...

What was your win this week?

good luck! kick ass! :D

What was your win this week?

I finally managed to encapsulate my gulp-tasks into an npm ...

Daily Challenge #223 - Responsible Drinking

I didn't see yours, but mine is practically identical 😮

Daily Challenge #223 - Responsible Drinking

What if I drink "11 beers"? (I have a feeling I'll be seve...

Daily Challenge #223 - Responsible Drinking

function hydrate(sentence) { const howMany = (sentenc...

Math.sign: How to Check if a Number is Positive or Negative in JavaScript

slight error: Math.sign either returns 1 or -1, so: if (...

Daily Challenge #219 - Compare Strings

JavaScript: function strCount(haystack, needle) { retur...

Mar. 27, 2020: What did you learn this week?

Yeah, I've been trying to encourage my co-worker to publish...

Mar. 27, 2020: What did you learn this week?

Testing a legacy angularjs / node app, both parts (client a...

Daily Challenge #210 - Separate Capitalization

function capitalize(str) { return str.split("").reduce((a...

Refactoring: My 6 favorite patterns

A useful extension to (1) is the null pattern: providing an...

[A RESTful API BUILT IN NODEJS USING JUST NATIVE MODULES - NO NPM HERE!]

it's good to implement the regular nuts and bolts -- at the...

NExpect, Level 3: You're the secret sauce!

hey, thanks for the heads-up; I used to wonder how some peo...

NExpect, Level 3: You're the secret sauce!

I have to apologise for all the "live editing" -- I wanted ...

My Case for D

Apparently you could do it in C# (thanks for making me goog...

I Find Git Extensions Confusing

Your last sentence nails it for most git tools -- you need ...

New browser on the block!

Excellent. I was sad when Opera decided to use the Chrome eng...

So random!

That's a good question, similar to concerns I've heard befo...

Lazy props for the lazy!

I've always been wary of Lazy -- and I have a good example ...

Gradient typing effect in CSS

👏👏👏

Is there an online documentation generator for c#?

That is the xmldoc! Their documentation suggested I'd have ...

Is there an online documentation generator for c#?

It's a pity it doesn't seem to understand xmldocs. Xmldocs ...

Is there an online documentation generator for c#?

I'm also interested to know. I'd even settle for a good sta...

I can't say "this sucks" about Javascript...

I'll try to call you out on that if you don't apply it...

I can't say "this sucks" about Javascript...

😂

"Best Practices" is a hollow phrase

Read again, friend: I called leaning on the mantra of "best...

Recursion

to understand recursion, one must first understand recursio...

Publishing GitHub event data with GitHub Actions and Pages

YW. I've been wanting to do some stuff with GH actions and ...

Publishing GitHub event data with GitHub Actions and Pages

Awesome article! I've bookmarked because I know I'm coming ...

How does one git good?

good article; a suggestion for git add though: git add . a...

Beginners guide to optimization in C# (Part One)

Good article; some thoughts, if I may: In addition to del...

Using Vim as your main editor for web development

I pick my editor based on what I want to accomplish: quickl...

I'm thinking about taking over an abandoned GitHub project: what is your advice?

I'd also mention in the PR that you're happy to take over m...

New Dev? Job-Hunting? Avoid These GitHub Mistakes!

GitHub has been an important "demo ground" for me when inte...

You are what you know

Thanks (:

Do you still write console applications?

I still write console apps. For example, asmdeps (GitHub.co...

There's a new DEV theme in town for all you 10x hackers out there (plus one actually useful new feature)

Hey, so the 10x engineer theme is quite nice as an accessib...

Introducing DeckDeckGo: the web open source editor for presentations

That remote app looks really, really useful -- a request th...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

Good idea -- that's the only way to form solid, useful opin...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

my opinion is that we shouldn't be simply looking to avoid ...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

I've heard some really good things about svelte too, and it...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

I haven't. Give them a go if you have the time and let us k...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

Choice is good. Whether that's my desktop environment or f...

What is the oddest JavaScript behavior?

I <3 Javascript, but: destroyallsoftware.com/talks/wat :...

Practical Ways to Write Better JavaScript

My 2c: TypeScript makes your IDE smarter, though you have ...

I hereby challenge you to a programming poetry smackdown.

(not totally original, but I've actually used this for a 404 ...

CSS can do that?

No. "Use some other browser" isn't a solution. Especially whe...

CSS can do that?

Informative article! Thanks! I especially like the scroll-sn...

10 HTML Elements You Didn't Know You Needed

I also see that blockquote can have cite as a child element...

10 HTML Elements You Didn't Know You Needed

I don't have enough ♥'s. And some kind person wrote a cli c...

10 HTML Elements You Didn't Know You Needed

Great stuff Emma. Would love to see browser support informa...

3 Ways to Set Default Value in JavaScript

Just beware of when you have an original value which is fal...

Be careful of the JWT hype train

You don't need JWT, so don't take it that way; but I think ...

Something Someone Somewhere Uses... Sometimes

I like gitmoji on the web, but having them as prefixes make...

Brutalist Web Design. A Breath of Fresh Air in the Modern Web

The biggest problem I have with the brutalist sites I've tr...

loading...