All 193 Comments

re: Solving Eggnog Problems with Binary
Nice! I really, really love the Advent of Code problems. Th...
re: What was the most over-hyped software movement?
I recall the opposite, where coworkers would print out GIAN...
re: What's your greatest software development skill?
I came to say the same thing! I worked at my college's IT ...
re: What was the most over-hyped software movement?
Inheritance in OOP (Interfaces and Composition with Delega...
re: What was the most over-hyped software movement?
+1 for XML. JSON ate it for breakfast. But I don't underst...
re: I've never become overly convinced that switch statements are that much cleaner than `if else if else if else if else`
Swift's switch is the only one that I think gets it right. ...
re: JavaScript, Ruby and C are not call by reference
Same for Java. The way I phrase it is: Java/JS/Ruby/C/etc ...
re: Seeing Context with `grep`
It's best to also use them in conjunction: Use tldr for th...
re: Seeing Context with `grep`
You absolutely can: tldr.sh/#installation
re: Ensuring accuracy of README code snippets
What a neat solution. Thanks for sharing!
re: Do you drink coffee while working?
At least one, usually two, max four.
re: What's new and interesting in Java?
I've used all three, and your assessment is spot-on.
re: Today I learned how to animate a text gradient in CSS (and JavaScript)
Love it 🏳️‍🌈
re: Seeing Context with `grep`
Meta advice: "tldr" (tldr.sh/) is a wonderful, pragmatic wa...
re: Which dotfiles (e.g. .bashrc, .vimrc) do you actually customize/depend on for your daily dev machine setup?
git, vim, & shell aliases github.com/valbaca/dotfiles ...
re: How Do You Manage Dotfiles Across Environments and Machines
I'm in a similar boat. I also have a git repro for my dotfi...
re: Why do you choose Mac over other options?
I use a Mac; actually I use several. At home, I have a Ma...
re: Internship vs interview prep
I'm confused: what specifically are your options? It sound...
re: Write Code That Writes Code
You are correct. In referring to computer instructions, "co...
re: Write Code That Writes Code
Compilers, transpilers, macros, metaprogramming are all pow...
re: What languages are you learning or planning to learn, and why?
I've been doing a "breadth-first" style tour of languages t...
re: What are you "old enough to remember" in software development?
Love it. I had a Metallica Fan site on Geocities Red text...
re: Anyone got/need working Perl tags generator for Vim?
I've just used ctags to work with perl in vim: reddit.com/...
re: Architecture diagrams for Github README.md?
You can keep the files as xml instead.
re: What do you code to relax?
I've been going through past years of adventofcode.com/ It...
re: Any of y'all have a favorite algorithm? Here's mine
Your code is missing an important element: "Even when the...
re: Ruby and Python, them and the differences
See the StackOverflow Developer Survey: stackoverflow.blog/...
re: Pointers in practice
I'd highly, highly recommend these questions from the FAQs:...
re: What's your DJ name?
DJ lambda
re: Be careful when memoizing booleans!
You're confusing the value of a with what the statement a =...
re: Be careful when memoizing booleans!
c/o github.com/rubocop-hq/ruby-style-g... "Don't use ||= t...
re: What's your Wifi's name?
FIREWALL and MAINFRAME Just to give a Terrible TV/Movie Ha...
re: What do you find yourself searching for again and again?
Good luck! I think that this post would be very helpful be...
re: What do you find yourself searching for again and again?
Not to throw another command in the mix, but ag the silver ...
re: The history behind "grep"'s name
g matches all lines ("global") In general, to see all lin...
re: Master Of One
I'm envious :( In just the past week, I've worked with Jav...
re: How much of a memory impact do tabs in my terminal have?
The main factor is whether infinite scrollback enabled. If...
re: Discuss: Favorite Non-Tech Hobby / Activity
My primary hobby is playing Magic: the Gathering semi-compe...
re: Is it good or bad practice make developers pay money for his bugs?
Seek to learn, not to blame. git config --global alias.l...
re: What’s the better way to use PC Keyboard on macOS?
This is exactly what I do with my "PC" mechanical keyboard ...
re: Looking for Tech Lead resources (books, sites, etc.)
This looks spot on. Thanks!
re: #OneDevMinute: Go back to the Previous Directory
popd is different. I'm sorry if it wasn't clear that I mean...
re: #OneDevMinute: Go back to the Previous Directory
correct, popd uses the pushd history; it does not use the d...
re: How long have you been programming?
8th grade (about 13 years old), in an afterschool program t...
re: #OneDevMinute: Go back to the Previous Directory
I use autopushd and popd and cd - alias po=popd cd -...
re: Do tech companies care about your look?
Depends on the location and company culture. In Dallas at ...
re: How many email addresses do you use?
2 Personal gmail and work. I use the myemail+tag@gmail tr...
re: Explain iOS development like I'm five
Where do I put reusable functions? It depends :) If, say, ...
re: The best book for learning backend design patterns
Patterns of Enterprise Application Architecture
re: JavaScript Quiz Part 3
My answers, 50%: [{}] // Wrong [0] // Wrong 1 // Right 0 ...
re: Linux distro you are using for development?
In decreasing order of "seriousness business" and increasin...
re: Git [Script] Aliases That Could Be Helpful
I don't use all of them and by no means have them all memor...
re: Average daily coding time of a developer
Our team estimates 50% overhead: in other words 8 hours at ...
re: What has programming taught you that you keep-in-mind/use in your daily life?
"Programming is the art of doing one thing at a time" (sour...
re: What do folks use for programming window management?
What OS? for macOS: Spectacle and HyperSwitch are must-hav...
re: What are good ways to learn software architecture and systems design?
Check The Architecture of Open Source Applications out! It...
re: What’s something that should be obvious that developers seem to misunderstand?
Style guides are so the code is consistent and easy to read...
re: What are the most used commands in your shell history?
Thanks. I've found that autojump and the like are too non-d...
re: I got 99 problems, and I wish builds weren't one of them. Android devs: what are your Gradle pain points?
Don't rely on git to let you know if your workspace is "cl...
re: JavaScript Quiz
Got 3 and 6 wrong. Neat quiz!
re: What are the most used commands in your shell history?
No surprise here. git, cd, ls, vim, build, search 1...
re: What kind of keyboard you are using?
Currently: Cooler Master QuickFire Stealth Tenkeyless. Cher...
re: What kind of keyboard you are using?
I have nearly the same keyboard: CoolerMaster Quickfire wit...
re: Why it is not possible to extend a final class in Java?
Because it's final. Use composition instead of inheritance...
re: A better way to handle magic values and constants?
On the surface it seems string values would be an improvem...
re: Back to basics: Naming
prereq question: Is 'email' an actual email or is it an ema...
re: What’s the best laptop for devs?
My stock answer for someone needing a spiffy new laptop: n...
re: Do tattoos influence the probability of getting hired?
It's all about company culture. In Dallas, the dress code ...
re: Do tattoos influence the probability of getting hired?
Funny you say that. Every UX person that I've worked with t...
re: what are lambda functions in python
What restrictions? How are they are random? Python may not...
re: What was the worst day in your job?
Worst day, but has a happy ending: I was working on a team...
re: The gotchas of the var keyword in JavaScript
This is one of the biggest differences between Javascript a...
re: what are lambda functions in python
A lambda is an anonymous function. Let's break down what th...
re: Can you share your favorite quote or rule related to IT?
I like the classics: Premature optimization is the root ...
re: Recomeded music to listen to while programming?
I've been listening to this Programming Music playlist for ...
re: What's your favorite editor/terminal color scheme?
tl;dr: boring default light theme. I could never find a th...
re: What do you dislike about your favorite language?
You can thank ISO C for that one: Not that python directl...
re: There's no "else if" in JS
This not new or unique to JS. It's how else-if has been sin...
re: Even Though She Was Bad At Math, She Coded
I'll come at it from the other side: This is going to come...
re: How do you keep track of all the great resources you find?
+1 Pocket It's the only thing with 'tags' where I actually...
re: What was your first computer?
The first laptop that I bought was the same Macbook going i...
re: Web Servers Explained by Running a Microbrewery
Good stuff and solid analogies. I do think it's funny that...
re: What is the difference between an IDE and a text editor?
It's about intents. Plugins bridge the gap though. Text Ed...
re: What are the unwritten rules of development?
You've got that sign backward there :)
re: Is Javascript a compiled language?
Read past the first sentence of wikipedia: The name compi...
re: What Is Your Main Language?
I work for a website that sells books :)
re: Elementary Element Queries
Neat! P.S. Love the Sombra gifs. boop
re: What Is Your Main Language?
Java for the front and backend: serverless on AWS Lambda wi...
re: The Boy Scout Rule is Now the Scout Rule
I like this a lot more. Focus on what the rule is, rather t...
re: How do you take notes?
vim In particular, macvim for notes so that I can Cmd+tab ...
re: What do you think of the new Go logo?
No a fan. It does not indicate that Go is a programming lan...
re: Write a function that shows off something unique or interesting about the language you're using
It still is. bool is a subclass of int: $ python3 Python...
re: Git [Script] Aliases That Could Be Helpful
To be a little nitpicky, those are technically shell aliase...
re: Do You Use Calculators or Programs?
For me, for most everyday math I use either google (Command...
re: What do the heart/thinking/praise/unicorn buttons mean to you?
test123
re: What's your job title and why is that your title?
Obligatory legalize disclaimer: These words are mine and no...
re: Other People's Code and the Intentional Fallacy
OP can correct me, but this discusses code once written Whi...
re: How to struggle with debugging before sleeping?
1) Braindump. Write things down; type them if you must. Eit...
re: Which is the best code editor⛦ and what type of theme☳ do you prefer for it.
$ vim :colorscheme default
re: Whats the most irritating "if statement condition" that you've come across?
Good ol' javascript "scream boolean casting": const foo ...
re: Whats the most irritating "if statement condition" that you've come across?
To be a bit fair, the ternary operator can be a bit decisiv...
re: Whats the most irritating "if statement condition" that you've come across?
It's making me so mad! Love it
re: How do you decide what order to put code in?
for java classes, this is a rough outline, but it's not ver...
re: What does ** (two asterisks in a row) mean in Ruby?
I used to do Project Euler in college with Ruby during seme...
re: Javascript Underdogs: Part 1 - The WeakMap
Very informative! One potential correction: If we lose t...
re: Which markdown editor do you use?
Same here. Vim or Sublime w/ Vintage Mode However, occasio...
re: What's the point of learning how to sort?
It's not about sorting: it's about teaching algorithms (the...
re: Who Rubber Ducks?
I use Jace the Mind Sculptor as my rubber duck. He's an int...
re: Tabs vs. Spaces
Whatever the existing style guide uses. If no style guide ...
re: Tabs vs. Spaces
This is a common misconception. No one presses their spac...
re: Tabs vs. Spaces
This is a common misconception. No one presses their spac...
re: "You're overthinking it."
It's a really hard balance to find, especially in the worki...
re: Lazy names are lazy
For truly throwaway things, like tutorials or learning, her...
re: Which programming language has the prettiest syntax?
Python, Ruby, Go, and well-written C and SQL. I like terse...
re: Which mainstream programming language has the ugliest syntax?
...and then there's Objective-C++ I want to tell whoever m...
re: Devs, why do you use terminal tabs over tmux windows?
Command+#: one key combo, muscle memory (browser tabs use t...
re: Which mainstream programming language has the ugliest syntax?
Basically every language that's actually paid my bills (whi...
re: Can I see your terminal?
minimal. iTerm. Menlo 13pt. zsh
re: Can I see your terminal?
FYI You can get rid of the "Last login" with touch .hushlog...
re: What language features/concepts do insiders of the language love and outsiders hate?
It depends on context of course, but in general I tend to d...
re: Do you use any special glasses for work?
I wore contacts in college, and when I played CoD:MW2 I wor...
re: Little Geo Stories: Square Miles
Neat post :) Having worked in maps, as soon as I saw "km2" ...
re: What are your favorite non-technical podcasts?
Welcome to Night Vale: fictional community radio show for a...
re: The Hawaii Missile Alert Was the Software Developer's Fault
"require additional and unique steps to perform." I comple...
re: The Hawaii Missile Alert Was the Software Developer's Fault
Great picture. Really drives home the idea because who want...
re: The Hawaii Missile Alert Was the Software Developer's Fault
Agreed. The interface apparently had a confirmation, but if...
re: What IT stereotype bothers you?
"Oh they just work with computers." This one doesn't bothe...
re: Is Perl still used ?
To make changes to existing code / services? Yes For greenf...
re: My Shell Workflow: Executing a command in lots of directories.
Very nearly the same, here's my "inall" script: $ cat ~/...
re: The Miracle of a Morning Routine
+1 to "Anyway, as so often with self help books, a well wri...
re: When working from home, how do you turn off at the end of the day?
6pm. Close laptop. Take dog for walk. After walk, enjoy the...
re: Programmers that can't type shall be shunned and treated with disdain.
I disagree wholeheartedly. 1) We should be solving problem...
re: Job != 'Software Developer' - What else?
I knew pretty early on I wanted to be an engineer (8th Grad...
re: Why do people like Perl?
modulecounts.com/
re: Why do people like Perl?
| What does make Perl so enjoyable to those people ? If yo...
re: Cleaning your room instead of doing your homework
I call this "procrastductivity" and honestly having one loo...
re: Lazy habits in linux terminal
These don't sound lazy at all, but just properly following ...
re: Terminal Comparison
Some key features of iTerm: Free Lightweight / Fast Easil...
re: Creating and Instantiating a simple class in python
Nice. Some constructive criticism: Try using the markdown ...
re: short-circuits && clean code
It appears that it's a growing idiom in JS. It's likely ada...
re: Challenge: Write a program that never stops
The original post was tagged with javascript and dev.to has...
re: MinGW pronunciation
I like "wub". Every other letter has a monosyllabic name ex...
re: What ever happened to putting the object type on the left?
As others have noted, I've seen it as an indicator of langu...
re: What should be in the software developers 'Hippocratic Oath'?
Here's a good start: nspe.org/resources/ethics/code-eth......
re: What are your UNIX pipeline commands that saved you from lot of coding/time?
The most common pipes I use are: grep # ALL HAIL. Should...
re: Challenge: Write a program that never stops
Javascript (empty statement evaluates to true so is effecti...
re: What do you Google EVERY. SINGLE. TIME. and never just memorize?
Converting Array<->List in Java*. Been coding Java f...
re: Considering changing to sans-serif for post body
Why not a have a user-set preference? If an article writer...
re: Analog Tools
Here's what I have at my desk: Huge cup for water (with a...
re: Explain Facebook's BSD+patents license like I'm five
I'm just catching up, but from what I can gather, this is h...
re: What is the next language you want to learn, and why?
Python and SQL I've been recommending Python non-stop for ...
re: Do you (re)arrange your class methods? Why?
Here's what I do, but not incredibly consistently: follow...
re: How I Fixed My Carpal Tunnel Pain
Thank you for the suggestions. I occasionally have wrist pa...
re: Do you use the 🤔 reaction on dev.to seriously?
I take it and use it seriously as "this made me think" but ...
re: Apple Event Takeaways?
We (iPhone users) finally get edge-to-edge screen, wireless...
re: Integrating Good Works
That's my point: don't try to directly contribute. Instead,...
re: Integrating Good Works
I'd highly recommend Doing Good Better : smile.amazon.com/D...
re: What is the best mechanical keyboard out there?
I had this one: smile.amazon.com/CM-Storm-QuickFir... It's...
re: We created the Crystal language, ask us anything!
Are there any plans (or hesitations) about extending into a...
re: Bash Shell Tricks
Even better! Thanks P.S. For posterity, all of these work ...
re: Is this the gate you want to keep?
The original "x" was the worst developer and the "10x dev"...
re: What apps, software, or tools do you use and why?
macOS: JetBrains Complete Suite (IntelliJ, etc.) - I love ...
re: Suggestion for a (maybe not to much) newbie
Vim and Git both have a very steep learning curve. In addit...
re: Whats on your desk?
I personally have a pair of Bose QC15 smile.amazon.com/dp/B...
re: What's your absolute favorite snack food while coding and why does it hit the spot?
Almonds [Edited to include "Why"] There's a large variety ...
re: Whats on your desk?
Fidget cube: keeps my hand busy while I read through code. ...
re: How does your team handle 'on call' evening/weekend hours?
Every dev goes on-call 24/7 for one-week. Every dev is on...
re: What have you been meaning to do but haven't gotten around to?
These are things I want to go "wide and shallow", as in get...
re: What do you eat at work?
['coffee', 'water', 'coffee', 'water', 'lunch', 'water', 'n...
re: Taking suggestions for new laptop
Congrats on the new job Omar! First, your employer most ce...
re: Tracking my bipolar through GitHub contributions!
Any fitbit with a heart rate monitor (it'll have "HR" in th...
re: Tracking my bipolar through GitHub contributions!
Great article! For the use case (personal tracking) the co...
re: Which is the best laptop for developers?
I'll be honest, I was first very skeptical (I am a mac fanb...
re: Which is the best laptop for developers?
Mac: Macbook Pro 20XX Linux or Windows: Thinkpad T4XX Wher...
re: What are your biggest struggles in learning JavaScript?
Closures and 'this' looping over properties browser nuance...
re: Bash Shell Tricks
Neat tips! thanks Here's mine: We all know !! but it's mo...
re: What are the apps with most beautiful UI/UX you've used?
Mutility - A Magic: the Gathering life counter. It's niche...
re: Have you ever learned something (or a better way of doing something) in software development that a non-developer taught you?
I thought I wrote a script for everything...until I met thi...
re: How do you arrange your screens/multiple desktops?
[ 34" widescreen ] [laptop] [ ...
re: Could you not finally?
Short of killing the process, calling another function with...
re: Seven useful programming habits
"Flow" is not doing things you just already know. It's when...
re: Things to learn in workplaces when we are free
You can never stop learning! IDEs: is there a shortcut th...
re: What simple things annoy you about your favourite programming languages?
For what language?
re: What simple things annoy you about your favourite programming languages?
YES. This is very annoying. They're not part of the core l...
re: Have psychological issues ever had a big impact on your career/life, and how did you deal with that?
During a particularly bad project (15 hour days, everyday),...
re: Does your setup include an external keyboard? If yes, which kind of keyboard do you prefer?
Yes. Apple Bluetooth Wireless keyboard since it matches my ...
re: The Power of the TODO List
Neat idea. I've been using a single huge "todo.txt" but mig...
loading...