DEV Community

loading...
Dustin King profile picture

Dustin King

Python. Webdev. Music. Also, other stuff.

Joined Joined on  github website twitter website

All 241 comments

How open-source will Tumblr become?

I'm surprised the degree to which Yahoo is still around. The...

What's your favorite software idiom/aphorism?

Gall's Law: A complex system that works is invariably foun...

Which backend programming language should I choose?

Something you like and can get jobs in. That's going to depe...

Should you reply to recruiters?

I don't remember, so I'm guessing they never replied. That...

What advice would you give to an unemployed software developer?

Hopefully this won't be true for you, but: you will probably...

What non-dev IT jobs have you had?

I worked in my college's computer labs, checking people in ...

What was your first programming language and why?

The Algorithm tells me this is your first comment, and that...

What would you use as a sortable, globally unique, ID?

Likewise :)

What would you use as a sortable, globally unique, ID?

I think I would need to know what this is for to go further...

What would you use as a sortable, globally unique, ID?

I guess I was assuming the nodes were in a relatively trust...

What would you use as a sortable, globally unique, ID?

There are probably better answers, but a concatenation of: ...

How did you get your first Dev job?

I got a job in customer service/tech support and transferre...

How open-source will Tumblr become?

While I'm not familiar enough with the business details of ...

git commit -m "_____"

git commit -m "I think I figured it out" git commit -m "I d...

How open-source will Tumblr become?

I haven't the foggiest, but it's funny that this same thing h...

How do you answer questions about your salary expectation/requirements in a job application or interview?

How about "Before I answer that, can you tell me the salary...

How do you answer questions about your salary expectation/requirements in a job application or interview?

Salary history is a related question, but I think one it's ...

What's your favorite question to be asked?

That's the worst!

Which types of loops are most popular in the programming languages you use?

The for loop in Go is more flexible than the one in C thoug...

What was your win this week?

I had a job interview/screening that I think went well. At...

I created DEV and have other positive qualities, ask me anything!

What's something interesting you've learned about business ...

The Hireable Unhireables: A Response

NASA can't hire plumbers for the work they do. I see wh...

What sport/physical activity would you recommend to someone who's not super sporty by nature?

It may not be as physical as some other activities, but wal...

What's your greatest software development skill?

I'm good at isolating where a problem lies. This is a blog...

What does a developer say after solving a really hard bug?

Convince me that types are awesome

The uses I see for types are: a form of unit test an opti...

What do you think about the idea that "there should be only one way of doing a thing" in programming languages?

I think there's a benefit to there being one obvious way to...

How do you feel about the "misuse" of HTTP methods?

It depends what it's intended to be used by and how it's mi...

What's your worst nightmare as a coder?

First refactoring would be to remove this comment.

What's your worst nightmare as a coder?

If everything I've ever done gets hacked, even the stuff I ...

What does your Terminal look like?

What's your favorite addition to ES2015+

Class syntax.

Is there a future for the Atom editor?

I use Atom. No complaints, but my needs from an editor are...

Anybody still working with jQuery?

I'm working on dusting off the code for a side project that...

How do you limit or avoid procrastination?

Going somewhere else to work, like a coffee shop. I can on...

How many software developers does it take to screw in a lightbulb?

Did the developer of the previous lightbulb leave any docum...

How many software developers does it take to screw in a lightbulb?

"This XML file does not appear to have any style informatio...

What are you reading right now?

Excession by Iain M. Banks. I'm working my way through his...

What are you "old enough to remember" in software development?

I'm old enough to remember people complaining about people ...

order list HELP!!

2 problems I can see: You've got stuff above the <!DO...

Have you ever quit a job without anything else lined up?

Two years ago I quit my job as a contractor for the US Coas...

My first ever unit test

I was going to say this too. I'm not familiar with Mockito...

Is there such thing as a bad programming language?

It's extremely subjective and situational, but there are a ...

Nested Conditional Operators

It seems verbose to have to do if... return.. for each one,...

Nested Conditional Operators

Indentation that follows the level of nesting would help me...

25 years of coding, and I'm just beginning

The text is overflowing the buttons. This might be because...

25 years of coding, and I'm just beginning

Scrolling is broken on Gidgitz in Firefox.

What's a useful programming language feature or concept that a lot of languages don't have?

Maybe it has something to do with having "one way to do it"...

What's a useful programming language feature or concept that a lot of languages don't have?

It's nice not having to work backwards: "Take the string,...

What was your TDD aha moment?

What's a good resource for learning TDD?

What was your TDD aha moment?

Sorry if this sounds dense. I'm not familiar with the offi...

What was your TDD aha moment?

Are you saying you write your entire test suite before writ...

What was your TDD aha moment?

How does TDD help you estimate?

Remember phonebooks?

Phone books seemed to go through a death throes kind of pha...

Open todo list standard?

Outlook has the ability to send and keep track of Tasks, wh...

Explain the 'super' keyword in ruby like I'm five

When you inherit from a parent class, sometimes you want the ...

Explain the 'super' keyword in ruby like I'm five

Doesn't doing B-PB-Technique < Mom-PB-Tecnhnique already...

What tense do you use in Git Commit messages?

Imperative. I don't know why, but I picked it up as the no...

An example of why performance matters (with Python and Rust)

This reminds me of a talk where, if I recall, a Python repo...

What are you not interested in learning?

I know JavaScript, and will probably learn more of it, but ...

Trying to figure out my career

As far as the path from this job to the next one goes, that...

Amazon's Interview Question: Count Island

Thanks, that's what I thought it meant, but wasn't sure.

Which is more readable?

This could be a job for a template language like erb, but t...

Amazon's Interview Question: Count Island

An island is surrounded by a group of adjacent cells that ...

When will Artificial Intelligence replace frontend developers?

I think someone could build AI (machine learning) tools tod...

Is front-end development having an identity crisis?

As I see it there aren't front-end and back-end developers,...

What do you to wind down after a weekday?

Reading sci-fi/fantasy is a good way to unwind for me.

How many hours do you work?

Thanks for your answers, everyone. I made this post becaus...

How many hours do you work?

Can't wait for the year 2000 to usher in this glorious futu...

How many hours do you work?

That was a good talk.

How many hours do you work?

👆 I found the robot. 😅

How many hours do you work?

I'm mostly asking about how much time is spent at work, not...

Think Like a Programmer??

{thing i'm looking at} isn't in my favorite language![0] ::...

How many hours do you work?

Professionally, though I'm curious about the latter as well...

Founder vs Employee

HR (Human Resources?) doesn't need to be involved. The ide...

Founder vs Employee

Theoretically the day job is your funding. Or some people ...

Founder vs Employee

Other than some projects which never got off the ground, I'...

Which language would you want to see take over the world?

Looks like it has the kind of macro system I'm talking abou...

Explain Empty Returns Like I'm Five

I'd add more to the function: function doSomething() { ...

Which language would you want to see take over the world?

Something that was a mashup of Lisp, Python, and Ruby. Som...

Explain Recursion Like I'm Five

Let's say you want to add up a bunch of numbers. You have th...

Title suggestions for a history of computer science mini web series?!

Lookbehind The Turing Tapes Processing History Automata ...

Surviving the Linux OOM Killer

Very interesting. This must be a linux-specific thing, not...

Did you know that Oracle owns the trademark to Javascript?

In my opinion it's been Kleenexed. It's a formerly branded...

What made you ✍🏻 your first post here? 🤔

I had posted some skeptical comments about the vision for t...

Announcement from the DEV Community Founders ❤️

Congrats! We will be able to make a few new hires (check ...

#meta tag now at bottom of right-hand home page sidebar

TIL there's a right-hand sidebar if I hit Cmd-Minus in Fire...

dev.to open source help/discussion thread (v0)

Thanks, I must have skipped that one. I'm now waiting to h...

dev.to open source help/discussion thread (v0)

I've got it running but I get a 401 unauthorized when I try...

dev.to open source help/discussion thread (v0)

Here's something I ran into as I'm going through the setup ...

Britain in the 70s killed its tech industry because of sexism

Writers to this day use male pseudonyms to sell books and ...

How can you swap two variables without using a third?

yep isn't a variable, though, it's a label, representing an...

How can you swap two variables without using a third?

C memory layout: (source) The function code itself is in...

How can you swap two variables without using a third?

To be a little bit sneaky, use part of the function itself ...

How can you swap two variables without using a third?

x, y = y, x #

Thoughts on interpreted vs compiled languages?

Ideally, it would be like Common Lisp in that it has interp...

Coding Concepts! Cyclomatic Complexity

I'm not sure what you mean by potential vs. specific routes...

What are the alternatives to unit tests?

In my opinion, unit tests are great as a scaffold while bui...

Easy Requests in NodeJS

Nice. I like Matrix theme to your post :)

Coding Concepts! Cyclomatic Complexity

Nesting does hurt readability, as the CQSE post you linked ...

When signing up or logging into an app, do you prefer OAuth (authentication w/social media account) or email sign up/sign in?

Email. I don't want a bunch of apps to have permissons ...

Coding Concepts! Cyclomatic Complexity

Interesting. I assumed the topic would be more, well, comp...

Easy Requests in NodeJS

This is a good illustration of async/await and why they're ...

Are Google and Facebook Evil?

We might call a human evil if they consistently made moral ...

to be multi-skilled or master only one technology?

The advice I've heard (it might have been Github or Valve p...

What's your atomic bomb?

As a new developer I added third-party DRM to a B2B client ...

When do you create a function or method?

For me, it's about readability and DRYness (DRY = Don't Rep...

What is your way to be management?

You could tell your manager that you're interested in becom...

Need Data to write parser

There doesn't currently appear to be a place where you can ...

Erase Distinctions Between Desktop and Mobile, Web and Native

Looking at how games provide the best experience across dif...

Erase Distinctions Between Desktop and Mobile, Web and Native

I don't disagree about different input/output methods somet...

Erase Distinctions Between Desktop and Mobile, Web and Native

Thanks for your thoughts. As someone who's used at least a...

Erase Distinctions Between Desktop and Mobile, Web and Native

Here are few resources I can think of off the top of my hea...

A field without fundamentals?

See nusa.blog . Why? No I don't enjoy (your) nihilism....

Are old unit tests useful?

I think an essential part of the red, green refactor cycle...

please ignore this test post

this is a test comment this is another line added after th...

I used to work with vessel tracking data. Ask Me Anything!

By edge computing, I thought you meant using the browser as...

I used to work with vessel tracking data. Ask Me Anything!

Most of the government folks I interacted with were Coast G...

I used to work with vessel tracking data. Ask Me Anything!

Maybe. Did you interact with government folks a lot for th...

I used to work with vessel tracking data. Ask Me Anything!

How is edge computing, new CDN services and concepts, and ...

I used to work with vessel tracking data. Ask Me Anything!

The hardware and shipborne side of things wasn't my special...

I used to work with vessel tracking data. Ask Me Anything!

So, the AIS protocol has messages that are each a string of...

I used to work with vessel tracking data. Ask Me Anything!

That's pretty cool, what's the origin story behind how you...

I used to work with vessel tracking data. Ask Me Anything!

The main monitoring one that existed before I got there was...

Have you had to make your Python code run fast?

I'm interested in hearing a little more about your journey ...

Have you had to make your Python code run fast?

Can you elaborate on that? What framework/etc. were you us...

Why haven't you gone to a development conference?

I know strategies exist for getting more out of networking ...

Why haven't you gone to a development conference?

I've only gone to a couple. Reasons not to go: All the t...

What's your origin story?

The first job I had was yard work. Then during college I...

#discuss What language do you think in?

For a job interview coding question, I'd choose Python. It...

Programming in the Adult Entertainment Industry is Broken

But I don't believe porn, prostitution or any of that stuf...

Ah, to be the Justin Bieber of Open Source

Maybe it's good to be messy in the standard way. Hopefully...

What to do when you've lost motivation to work?

Depends on what you mean by work and how you've lost motiva...

What do you think about the ternary operator?

I think languages need it. I think it's necessary for maki...

Moore's Law and Programming languages

I think we'll mostly just need to have a good grasp of conc...

Guido van Rossum steps down as Python's BDFL, thoughts?

First of all, I'm grateful to Guido for his leadership so f...

[Off Topic] Should a developer marry another developer? What are the chances?

Non-serious answers: Only if they can agree on tabs-vs-sp...

How do you negotiate salary for remote jobs?

This may be a stupid question, but, for companies who base ...

How do you negotiate salary for remote jobs?

Should one expect the salary range to be anchored to the co...

Javascript needs competition on the front end. Thoughts?

Transcrypt for Python ClojureScript for Clojure Intere...

What are some good questions for a "State of the Web" survey?

User Questions: How often do sites' look wrong because yo...

How would you rewrite this Python code?

I don't think I'd heard of CQS before. I'll have to think ...

How to lose a Job in 10 minutes

An alternative approach to this question is to put the citi...

How to lose a Job in 10 minutes

Is it a misuse of reduce to modify acc (because, ideally in...

Thinking of quitting my temp job and immerse myself in learning to web dev

I don't know, it might be tight, but you might be able to p...

Thinking of quitting my temp job and immerse myself in learning to web dev

How long would $700 last you? For me it would be a couple ...

Can you share your favorite quote or rule related to IT?

Nah, you just need to know about call stacks.

Can you share your favorite quote or rule related to IT?

There's nothing more permanent than a temporary solution. ...

A Queue is just a Q with 4 silent letters

You mean it's not pronounced kway-way?

3 Things to Do When You Can't Figure Out the Code

Writing things down or drawing diagrams on paper sometimes ...

How will GitHub change, now that it's owned by Microsoft?

It being owned by Microsoft makes me wary. It being anywhe...

What's your opinion on Microsoft's GitHub Acquisition?

For personal use, I'll consider moving off GitHub, but I do...

Which programming language/environment is more “powerful” than people realize?

I've found some subreddits I enjoy (really depends on the m...

Which programming language/environment is more “powerful” than people realize?

I came here to say this. Paper is the best. It helps you ...

What to do when you feel stuck in your career?

Maybe you need some space to figure out what's next, or to ...

Think Like a Programmer??

I think the different types of artifacts we create each cor...

Getting Stuff Done when Every Voice Matters

What show/game are your gifs from?

What is your routine for staying fit and healthy?

I avoid injury and exposure to dangerous solar radiation by...

How would you rewrite this Python code?

There is a lot of subjectivity involved in deciding which c...

How would you rewrite this Python code?

So why do you need to hide stdout this way? I'm just try...

How would you rewrite this Python code?

Ah yes, the good ol' Zen of Python.

How would you rewrite this Python code?

What do you mean by "import this"?

How would you rewrite this Python code?

Certainly works if do_something is just a function call. I...

Can I see your terminal?

It's the default macOS terminal. The text color is curre...

Write a simple but impactful script

# python 3.6+ import sys, random def usage(exit_code=0): ...

What was your first ever contribution to Open Source?

I submitted a patch to sqlany-django, the Django database b...

How do I find out the salary range for an international remote job?

Here's what I'm thinking: I send in my Resume and cover le...

How many hours do you normally work per week?

At my last job, that I had for a while, we were required to...

What would Paulo Coelho say (if he was a programmer?)

Good food for thought. I've only read The Alchemist. Is t...

What kind of breaks do you take throughout the work day?

When I work a normal 9-6ish workday, I like to go to lunch ...

Go or Python and why?

I would choose Python for web development, but then I don't...

What's your dream job?

If there was just one, it would be much easier to plan my c...

What should I be asking for salary?

From the experiences of a couple friends of mine, sleeping ...

What is and is not "artificial intelligence"?

One of my instructors (early '00s) defined it as either: ...

What is JAM Stack

Not offended at all, just not sure whether to interpret as ...

What is JAM Stack

Not sure to what degree this is intended as a joke.

Is software developer fatigue a thing?

I don't know. I think we'll have software generating softw...

What is a system?

I'd define it as a thing with one* or more interacting part...

Is software developer fatigue a thing?

That's why we should all use my favorite language for every...

Portfolio suggestion/feedback.

Pros: Very clean and legible design. Has an aesthetic or...

What hobby/skill do you wish you pursued more regularly?

I just took it as a sign that I was really getting into it ...

What hobby/skill do you wish you pursued more regularly?

Music. I also recently picked up my guitar after a while o...

What hobby/skill do you wish you pursued more regularly?

This is pretty. I have guitars, but none that are pictures...

Do you prefer chrome or Firefox quantum

I switched back to Firefox (Quantum) a few months ago after...

What I'd like to hear from an experienced developer when I was a beginner

We Work Remotely is another site where remote jobs can be f...

What programming sub-disciplines seem to be trending up in terms of career options?

Not to mention that in order to learn our preferences they ...

What programming sub-disciplines seem to be trending up in terms of career options?

Machine Learning, Front-end/UI Dev, blockchain, Clojure, Ja...

Github's Atom vs Microsoft's VS Code

I've been using Atom, and its auto-completion is a bit anno...

Do you think the differences between HTML and XHTML are generally well-understood?

I know I don't fully understand the difference. But they'r...

Project Estimations

I like the idea of agile, but when done in a formalized way...

What do you think of the new Go logo?

I came here to say this.

Project Estimations

After more than a decade of experience, I'm still bad at es...

How much do you need to know or learn before calling yourself a developer?

If you can plan and write programs to solve problems, you'r...

What is a website that you visit regularly despite its technical quality and user experience?

Youtube, google search, facebook, and smbc-comics.com all m...

Do you know anyone who codes on the side but does not pursue a career in software development or code for their job?

Depending on what you mean by "codes on the side". A frien...

What is better about web development vs native and vice versa?

This is more about why I like it than what it's like: Idea...

Write a function that outputs a pleasant text color hex given a background color hex

I decided to use machine learning... 14 hours later 😬, h...

How do you approach working with juniors working their first professional programming job?

There re was a great talk by Netta Bondy on the subject. M...

How do you decide what jobs to apply for?

Thanks for your help, Andre.

How do you decide what jobs to apply for?

I use Git for most stuff. It's pretty nice. Bisect has co...

How do you decide what jobs to apply for?

whether you'd rather start with front-end or back-end is u...

Technical Interview Performance by Editor/OS/Language

If the interviewer knows the candidate uses a given editor/...

What are some fundamentals of security every developer should understand?

It's not a fundamental principle, but this book was a good ...

REST API OR GraphQL

I've never used GraphQL, but if I was starting a project I'...

What's your worst technical debt story?

We're going to hold a party as we shut off that server! ...

What's your worst technical debt story?

Early 2000s: a program is written as a TCP-based server for...

When did you stop thinking of yourself as a junior/newbie?

11 years experience. I'll let you know.

How would you define "decentralized"?

They sound interesting, but I haven't gotten around to play...

How dev.to could topple Facebook

Sorry if that was too negative. To be fair, nobody knew Fa...

How dev.to could topple Facebook

I should add that I mainly consume dev.to through twitter, ...

Should a modern programming language assume a byte is 8-bits in size?

It sounds like you already think it's "incorrect" to make t...

How dev.to could topple Facebook

I don't think the Facebook-killer will be an app for individu...

Are you an introvert, extrovert, or somewhere in between?

Introvert. Probably to an unhealthy degree.

Why are you NOT worried about the robot apocalypse?

While machine learning has advanced a lot in the last deca...

What impact will Web Assembly have?

The reason I'm excited about it is that it hopefully means ...

What things have you been made to feel guilty about in the course of your career?

There's this image of the ideal programmer. Someone who in...

If you could make one of your tools your valentine, which one would it be? 🤔

Python. It just fits my brain.

What was the worst bug you've ever written?

When I added a new feature to an old and heavily used C++ s...

What are some funny lines of code you've run/written into a project?

In a legacy Java codebase I was immersed in in my first pro...

Explain like I'm five: Is Test Driven Development really that used in most of the programming world?

A few years ago, I interviewed for a job, and one of the de...

Why all this hate about Python?

I haven't heard the hate you mention. I love the language,...

Why are global variables bad?

A small program with global variables is equivalent to a si...

Experienced developers: What concept have you never gotten around to learning and you've been fine without it?

That link gives a big red security warning from Chrome that...

Experienced developers: What concept have you never gotten around to learning and you've been fine without it?

Assembly language. It's still on my bucket list, but unless ...

Do I Want To Work In This Company, or What Questions To Ask On An Interview

These are good. I will probably use some of them in the fu...

How do you handle lack of self-confidence and career-numbing doubt?

I don't know if it's possible to really know how you measur...

How did you get into programming in the first place?

My dad had a Commodore 64 when I was little. He wrote progra...

loading...