All 148 Comments

re: I'm concerned with the move that FreeCodeCamp just pulled by leaving Medium
I swear Twitter changed something about that recently (like...
re: I'm concerned with the move that FreeCodeCamp just pulled by leaving Medium
Looks like you might be able to get it via the API: github....
re: I refuse to work in teams without a proper code review process - and you should too!
A good tool for brownfield projects and important code (cod...
re: Preventing Useless Database Hits
I feel that, lol. So vindicating when you finally get it af...
re: Moving Past Tutorials: 8 Tips for Problem Solving
A possible 9th (it's similar to #8, but not quite the same)...
re: Preventing Useless Database Hits
Nice post 😊 I didn't know about none. I wonder why AR queri...
re: If you could change one thing about learning to code, what would it be?
My biggest challenge was installation. I couldn't install L...
re: Cables vs. malloc_trim, or yet another Ruby memory usage benchmark
This is a super awesome idea ^_^ (describing all the contri...
re: Tidying Up Your Code: KonMari Style
We can't go around killing off ugly code Note that we ca...
re: How to Ask the Right Questions as a New/Junior Developer
Plus, by struggling with it yourself first, the solution wi...
re: Learn programming in 1 hour a day
I also taught beginners professionally (ie as a teacher) an...
re: Smarter list sorting with DataDrivenJS
Nice :) I'd be interested in decisions it makes while talki...
re: Understanding Recursion with Elixir
I see, that makes more sense!
re: Understanding Recursion with Elixir
Not sure I understand. Are you saying that all versions of ...
re: Learn programming in 1 hour a day
Awesome, report back (if you have the time), can amend it b...
re: Understanding Recursion with Elixir
What's the header do / why is it needed? And I was totally...
re: Understanding Recursion with Elixir
Is Elixir able to do this efficiently? In particular, I'm w...
re: Why we need CSS subgrid
I think what I really want is the ability to set constraint...
re: How conventional commits improved my git skills
I think active voice would make it even better, eg: git ...
re: Marcus Hutchins and America's Plea Deal Problem
Well written and thoughtful, thank you!
re: Don't commit that file!
Nice, I didn't know about commit -v I still have to do it o...
re: Don't commit that file!
I think this is fun, but that the correct solution is to st...
re: DRY to the point of WET yak shaving
Completely agree.
re: The Three Stages of a Developer
IMO, all three phases have value. That first stage might fe...
re: REPL Driven Development
I do something very similar in Ruby. I don't put it at the ...
re: What is Dependency Injection?
Dependency injection is basically passing parameters to a ...
re: Daily Coding Puzzles - Oct 29th - Nov 2nd
Oh holy shit! I was looking at it for several minutes and i...
re: Don't be a Shotgun Coder
Both approaches have merit, choosing the wrong one is painf...
re: Relearn You a Haskell (Part 1: The Basics)
I'm fine with it. SQL's not-equal-to operator is <> t...
re: why branching on git is wrong
+1 ♥️
re: Technical Virtue Signaling
If you were a coin and you got stuck in a blender how woul...
re: dev.to Show us your octocat alter ego
re: What happens when you submit an article?
Really enjoyed this post! Would love to read one about auth...
re: Pwned Together: Hacking dev.to
Although, we should probably check whether you're allowed t...
re: Pwned Together: Hacking dev.to
How about something like this? require 'uri' def valid?...
re: Pwned Together: Hacking dev.to
Oh wow, I was sweating as I read this! lol.
re: 03. The truth.
So true! I literally hit this yesterday! Spent an hour and ...
re: Elm 0.19 Broke Us 💔
Props to the OP, I would not have kept my cool replying to ...
re: Explain WebAssembly Like I'm five
DISCLAIMER This is how I make sense of it in my head, I ha...
re: Explaining Load Balancers
Of course. Although compared to application server that pr...
re: Just got my first job offer, going to take it. What are some tips for being the best junior developer I can be?
Just make sure you grow every day. At the end of each day, ...
re: Explaining Load Balancers
Hi, thanks for the post! Some Qs, if you don't mind: If al...
re: This website is open source
They're for setting your shell up so that when you type rub...
re: Programming as a Job and a Hobby
I hyper avoid commitment and then just code for short durat...
re: What is the simplest code to explain a loop?
I was once struggling to teach this to a student, tried sev...
re: Why Pylint is both useful and unusable, and how you can actually use it
Hmm. I played around with it for a while and this is the be...
re: The dev.to codebase will go open-source on August 8
Super excited about this :) I don't want to stand up my own...
re: My preferred merge strategy for Pull Requests
Note that github saves the branches, so you can still get b...
re: The basic Elm example that I wish I'd had
You should be to syntax highlight the source code like this...
re: Learn programming in 1 hour a day
Of course _^
re: Brief: 2 Tactics for Fostering Mentorship
What are your question standards?
re: Finding the other end of a pipe on Linux
Omg, I never knew about less -R!!
re: Finding the other end of a pipe on Linux
I've always done it by checking whether the output is a tty...
re: How long do you spend learning to code?
Hi, Reynaldo. I made a reply to this, but it felt like it m...
re: Why (I think) "Cost of Living" pay for remote workers is BS.
A bit confused, are you saying that companies in the midwes...
re: JavaScript Quiz
Shoutout! I didn't get NaN
re: JavaScript Quiz
You have to wrap it in parens b/c JS treats toplevel curlie...
re: JavaScript Quiz
I scored 4 out of 6. But if I wasn't able to run them as I ...
re: Why (I think) "Cost of Living" pay for remote workers is BS.
I think, to make this argument, you need to offer a solutio...
re: There's no "else if" in JS
Here are two real-world pieces of code I wrote yesterday. I...
re: What is your favourite function()?
In Ruby, backticks are a function call. And what's especial...
re: Importance of diagrams
I basically don't use diagrams. Maybe every now and then, v...
re: Rails quick tips #3: Adding a Gemfile.dev
Oh, that's a really great tip!
re: Let's talk about clients
never reduce your rates for a client without removing some...
re: Soft(er) skills that make you a better programmer
In the end, we’re all in this field for the money—that’s w...
re: Soft(er) skills that make you a better programmer
Someone (I think on this site) once said we should call the...
re: Homographs, Attack!
This was super informative! Anyway, what about requiring a ...
re: This is the feeling of working with legacy code.
Gilded Rose is as logically as gnarly as this, the reason t...
re: This is the feeling of working with legacy code.
Always fun to see the Gilded Rose in production! ❤️
re: What does it mean to commit responsibly?
A lot of these (the ones about the quality) I don't think a...
re: How we decreased load time by 40% by removing just 1 file
Love it! I found something similar: We were shipping fkn m...
re: Coming Back to Old Problems: How I Finally Wrote a Sudoku Solving Algorithm
Nice job! Always rewarding to go back and solve problems th...
re: Is This Snowflake Code?
I could def survive in a codebase like that (I mean, hell, ...
re: Discuss: Why do developers equate popularity with success for OSS projects?
Oh, I love Elm! Anyway, success depends on whether somethin...
re: The Ultimate Postgres vs MySQL Blog Post
This was such an epic post O.o
re: Vim basics(part 2): Navigation, Configuration and Plugins
Looks like the site is breaking the lines in ways you weren...
re: Useful commands to check directories and files size
Great tips!
re: PHP: Return true to win - WriteUp (Part 1)
You can't really figure out when user code is malicious, an...
re: PHP: Return true to win - WriteUp (Part 1)
Really enjoyed this 😊
re: [Web] Your download will start in a few seconds...
A 303 response code feels simpler to me.
re: When is code "too clever" / how do you think about readability/cognitive load?
My preference for the short-circuit is b/c I think it's imp...
re: Do You Know Mental Models in IT?
I don't think there is a model that works in all situations...
re: The 7 Most Popular DEV Posts from the Past Week
Hi, Jess! Since this is a series you post often, felt like ...
re: When is code "too clever" / how do you think about readability/cognitive load?
I prefer the short-circuiting approach. The second one is o...
re: Let me explain to you what is `this`. (Javascript)
This was really good :) In the flow chart, I don't think th...
re: Project Euler #2 - Even Fibonacci numbers
My original solution (Ruby) a, b, sum = 1, -1, 0 while a...
re: Code consistency vs using new features
In general, I'd rather use a useful feature than keep writi...
re: Is it a good idea to leave your "digital fingerprint" in a company's project?
I'd find it strange. I know they do things like that in vid...
re: Do you have nice examples of refactoring code?
Someone at work asked me to refactor their 99 bottles code....
re: Pros and Cons of Quarantined Tests
Hmm. I absolutely hate tests that fail when nothing is wron...
re: 5 Things I Learned From Creating My First Ruby Gem From Scratch
Actually, looking @ my walkthrough, the stuff that's releva...
re: 5 Things I Learned From Creating My First Ruby Gem From Scratch
Thanks for checking out my repo too! Actually, I tried to ...
re: 5 Things I Learned From Creating My First Ruby Gem From Scratch
Congrats on your gem! #1 I 1000% agree! I use different wo...
re: Which programming language/environment is more “powerful” than people realize?
I'm going to put Ruby under this one, as well. Ruby inherit...
re: How to build command line tools on shifting sands
Yeah, I actually didn't realize it at first, either, and ha...
re: Javascript needs competition on the front end. Thoughts?
IMO, that's an argument in favour of the OP's point. In you...
re: Javascript needs competition on the front end. Thoughts?
It's a good point, but I'd assert that we lost that a while...
re: How to build command line tools on shifting sands
I don't know much about mysql, but I agree that it is weird...
re: A viable alternative to Operator Mono in Visual Studio Code
Link to dl the font? I prob won't go to the effort of editi...
re: Hello tensorflow
+1 this makes it available to a huge audience without them ...
re: Write a simple but impactful script
it writes to the wrong filename. That's quite not 100% acc...
re: Write a simple but impactful script
Ahh, there we go _^
re: Write a simple but impactful script
Hi, Victor! 😊 I'm super ambivalent about this, lol! On one...
re: Write a simple but impactful script
I don't have sort -R or shuf (I'm on OS X). I did not know ...
re: Dealing with non-educated Clients / Project Managers.
Oh, I wasn't trying to put it down or anything. My point w...
re: There's no "else if" in JS
Apparently I didn't use the word block in there, but yes, I...
re: There's no "else if" in JS
I'd expect three times. The function foo(x) would receive t...
re: Dealing with non-educated Clients / Project Managers.
It's not clear to me whether the frustration is with the to...
re: How to think like a programmer — lessons in problem solving
Trying things that might work is a reasonable strategy in m...
re: There's no "else if" in JS
Another blind gospel: braces around if-statements imply tha...
re: There's no "else if" in JS
I believe it's also true for C / C++ / Java. I didn't go ch...
re: There's no "else if" in JS
-1
re: Is Ruby lang dying?
Note that It's pretty popular in security circles (eg metas...
re: The secret for Unit Testing on Rails
It totally never occurred to me to do that locals thing, bu...
re: The secret for Unit Testing on Rails
Read further.
re: Security Sprint: What I learnt in a CTF
This is super cool! I've only used 2 of them before (tcpdum...
re: Daily git usage
Nice! Careful with that force flag, though! (I use the tha...
re: Is it worth reading source code?
I'm advocating considering refactoring first, not saying it...
re: Is it worth reading source code?
Best to consider refactoring before considering rewriting/r...
re: Is it worth reading source code?
Last paragraph is legit.
re: Is it worth reading source code?
Yes. Read the code of libs you use and of libs that do cool...
re: Abstraction for the sake of Abstraction
Love your point, here! Do note, in. your bash script, sever...
re: Why do people like Perl?
Love this answer! It's worth noting that Ruby stole enough ...
re: A Little Story About the 'no' Command
Regarding performance, this was a pretty enlightening post:...
re: Most effective and simplest way to write readable code.
There are tradeoffs for every decision :) Eg while the init...
re: Most effective and simplest way to write readable code.
They both have tradeoffs, so my default position is to be c...
re: CSV Challenge
A few things to note: cache is a program I wrote that cac...
re: Gamification Apps – Embracing the power of a play
Missing number 3 :) Also, I'm skeptical of David's comment...
re: What's your favorite useless repo/package/website/etc?
I'm super distracted by the header image setting a class va...
re: It's just a tiny refactor. What's the worst that could happen?
Called the first three (didn't really evaluate the Erlang o...
re: Git branching done right with Gitflow & improving code quality with code reviews
Of course, this can work well if you know a person that's ...
re: Finding that pesky listener that’s hijacking your event (Javascript)
Would love to see more like this! (how to get feedback in d...
re: We Call It 'Saw Time'
I consider it borderline unethical to allocate other people...
re: I am scared of Javascript
Hi, Harvey! I get that each of the things you can learn pro...
re: Don’t pay the for-loop tax
So for N loops, you get at least N+1 additional function c...
re: When do you become a Jack of all trades but a master of none?
Oh, just looked at your profile and I see it says "A die ha...
re: When do you become a Jack of all trades but a master of none?
Hi, Hannah! My opinion is that it is worth becoming a maste...
re: Dynamic Programming Series - Introduction
Good article! I think C++ isn't the right language for it, ...
re: How do you keep track of what you’re working on so you remember where to start next time?
For something I'm actively working on: a text file with a t...
re: Why might I want to learn Elixir?
Because you use Ruby but want to learn Erlang. Why do you u...
re: Explain waterfall project management, why did it fall out of style?
Waterfall assumes that the project is complicated, ie not o...
re: Why is functional programming gaining popularity?
Enough languages that are popular today have accrued impor...
re: When to make a Git Commit
A third context I seem to hit a lot is debugging something ...
re: What are your tips for avoiding burnout?
Don't do it obligatorily (for me, at least, that makes it a...
re: What is your advice to people just getting started in code?
Redo something you struggled to do. Redo it at least twice....
re: Are you considering a career switch? From what to what?
I program right now, I'd like to get into molecular biology...
re: What are your must-read programming books?
For testing: the RSpec book. I know it's old and dated, but...
re: What is the next language you want to learn, and why?
I guess in a practical sense, Elm and Rust. I know a little...
loading...