We're a place where coders share, stay up-to-date and grow their careers.
404 bio not found
B.Sc. Computer Science and Mathematics
All private interactions must abide by the code of conduct.
vim-vebugger
Yes, we do need another debugger plugin
Vim script • 430 stars
rust-typed-builder
Compile-time type-checked builder derive
Rust • 235 stars
vim-merginal
Fugitive extension to manage and merge Git branches
Vim script • 230 stars
rust-smart-default
Rust macro for automatically generating default
Rust • 68 stars
vim-omnipytent
The all powerful Pythonic task runner
Python • 9 stars
Vim, Python, D
Rust
Is this an actual problem? The callbacks framework is no a po...
Sep 6 '20
The in your allegory, the problem with the callback approach ...
Sep 5 '20
Did you ever registered a callback and had it invoked with sp...
Sep 3 '20
This is possible in Python by utilizing the destructor and re...
Aug 21 '20
BTW: the example is wrong. {'i': 7, 'n': 15} should be {'i': ...
Aug 10 '20
Rust: #[derive(Debug, PartialEq)] struct IndexAndNumber { ...
A six hour meeting seems like too much. From my (limited) exp...
Jun 21 '20
I need the specs to describe the methods that can be sent. ...
Mar 20 '20
Still seems thin in the language support department - only ...
Why?
Mar 17 '20
Rust: pub fn clean_string(text: &str) -> String { ...
Rust: pub fn solve(text: &str) -> u32 { text.s...
Mar 16 '20
+1 about reduce. Consider #3 in dev.to/thejohnstew/5-progra...
Mar 2 '20
Rust: fn encrypt_num(phone_number: String) -> String {...
Feb 2 '20
Rust: fn infected(map: &str) -> f64 { #[derive...
Jan 27 '20
Not sure I understand the rules - why is [6] not winnable? ...
Jan 16 '20
Still doesn't explain why "Trailing zeroes in a number with...
Jan 15 '20
Trailing zeroes in a number with a decimal point are signi...
Rust: use std::collections::BinaryHeap; use std::cmp::Rev...
Jan 13 '20
I don't think these methods were really necessary in 2019, bu...
Jan 9 '20
use std::collections::{BinaryHeap, HashMap}; use std::cmp::...
Jan 6 '20
You are pop()ing items from the array without push()ing the...
What does any of this have to do with 2020? All of the bull...
If the number of horses is 3 or less, return the input val...
Jan 3 '20
The optimization of using bit operations to find the "stren...
Jan 2 '20
Your solution is not constant space because you are using a...
Here is my solution in Rust: fn first_missing_positive(nu...
Rust: fn reverse_in_parens(string: String) -> Result&l...
Jan 1 '20
Rust: fn lamps(current_states: &[usize]) -> usize ...
Dec 30 '19
Are people allowed to bring themselves and/or their friends...
Dec 28 '19
OK, I watched the video and they used the same solution. I ...
Start by grouping them into 5 groups - a, b, c, d and e - a...
But you need the top 3, not just the top 1.
Why would they even do that? Even if you are not a pedantic...
Dec 26 '19
Rust: fn tickets(bills: &[usize]) -> Result<boo...
Rust: fn two_sum(numbers: &[i64], target: i64) -> ...
Dec 22 '19
None that I'm aware of. I prefer "".to_owned() over String:...
Dec 2 '19
Rust solution. This is easy when you use the right data str...
Nov 28 '19
It does matter. According to the clean code philosophy, you...
Nov 27 '19
Rust solution - works for any number of strings: fn find_...
Nov 25 '19
Not everyone can be 10 times better than everyone else. Tha...
The comments OP talks about in the second point seem to be ...
Rust: fn create_spiral(diameter: usize) -> Vec<Vec&...
Nov 21 '19
What my university did is teach us how to learn. We had a P...
Nov 20 '19
I haven't tried it myself, but you should check out Bridgefy ...
Nov 18 '19
Isn't Int a sized integer? It won't work with numbers that ...
Can't you just do that with jQuery?
Rust: fn add(num1: &str, num2: &str) -> Result...
Rust: play.rust-lang.org/?version=stable... pub struct Lo...
Nov 13 '19
So basically is uses reference counting but runs aggressive...
The string will be composed of + and = symbols with severa...
Nov 1 '19
I took your solution and simplified it: verify :: String ...
Oct 31 '19
This is an O(n!) because the output is O(n!) - there is no ...
Oct 29 '19
Auto generated UI code is bad, but some modern builders hav...
Oct 28 '19
What do you mean by "late binding"? AFAIK late binding is a...
Please don't treat numbers as booleans. It makes sense when y...
I agree with most of what you said. Here in Israel we have ...
Oct 14 '19
First I need to say that I'm not American, so my experience...
Oct 12 '19
Have you thought about a cool solution that you think can ...
Oct 10 '19
I have a bit of a long reply for that, so I wrote it as ano...
You are right about one thing - people are more important t...
Buster Neece is not highly employable because he worked on ...
RMS (are we still allowed to utter that name, or is it no l...
What kind of world have we created where we encourage peop...
I think the main point of using nonsensical names is to pre...
Oct 9 '19
memory management like Rust I wonder about that. According...
Oct 8 '19
Rust Rather than keeping two sums, we can negate one of th...
Oct 2 '19
thecodelesscode.com/case/106
Sep 19 '19
s="Fred:Corwill;Wilfred:Corwill;Barney:Tornbull;Betty:Tornb...
Sep 15 '19
Unit tests are great for library code, where each unit is d...
Sep 9 '19
I'm Pascal years old then, and this game makes even less sens...
Sep 1 '19
Does this go by the last programming language released before...
Also Python, but using a different approach: def likes(us...
Aug 24 '19
Possible improvements: instead of content = messages.get(...
VBA will stay relevant as long as Excel stays relevant, becau...
Aug 23 '19
NOOOO!!! You need to create an instance of the OpinionAbou...
Aug 22 '19
// CharacterRemover.java package org.stringops.questionmar...
When you come to a new company, your first duty is to learn...
Aug 20 '19
dev.to does it for you with the ^ operator - so O(n^2) beco...
Aug 6 '19
O(n2), not O(n2). As in - O(n*n). As the array get bigger, ...
I've spread the array in the return statement because I wa...
So it's better because you can put it in a single statement...
Aug 5 '19
I don't have actual experience in this (I learn from others...
Jul 29 '19
Since you are worried about "giving up the chances of makin...
How does the tambourine work? It makes the other developers f...
Jul 24 '19
Same way you learn a single programming language - just do ...
Jul 4 '19
I like Procedure. worker/actor/user all already have common...
First real customer walks in and asks where the bathroom is...
This is a personal project, not a school assignment. I'm no...
Jul 3 '19
I'm not really sure what it means for a project to "about n...
The problem with buzzwords is that they only generate buzz ...
Jun 18 '19
IDK - I think it's OK for the application launcher to occup...
Jun 3 '19
3. One loop two arrays Is reduce really necessar...
May 21 '19
Should [1, 2, 1] be converted to [[1], [2], [1]] or to [[1,...
May 16 '19
That's why my best practice is to never blindly follow best...
May 11 '19
There is one case I can think of where you want a default c...
Sorry, that was probably a miscommunication. Since the regu...
May 10 '19
Private/public, in this regard, is not about who can see th...
YAGNI is flexible enough to support both. You can say it's ...
I'm probably a minority, but I really hate YAGNI. It is based...
May 9 '19
I need to take some time to read the WAMP specs, but TBH it...
May 3 '19
I'm not looking for a subprotocol - what I'm looking for is...
May 2 '19
Now that I look at it - it isn't. I was probably not paying...
Apr 28 '19
The trick is that you can deduce the products for the next ...
This is a controversial opinion (and sadly - I'm not being ...
Mar 4 '19
Feb 28 '19
The topic is learnability, not readability. Brainfuck's com...
Feb 21 '19
Brainfuck. Only need to learn 8 simple commands.
Feb 20 '19
Great. First time I make it to the list and rather than som...
Feb 19 '19
"QA Engineer walks into a bar. Orders a beer. Orders 0 be...
Feb 16 '19
The number one problem that makes a bad language is pitfall...
Feb 7 '19
You can't compare Neovim to Notepad. Vim/Neovim are power e...
Feb 5 '19
You really don't have to worry about it. The VM takes care...
Jan 29 '19
There is still cleanup going on. Something has to close the...
+1. One of Go's main selling point is being very easy to ge...
Jan 28 '19
I don't prefer simple editors in general. I prefer Vim in p...
Yes, exceptions makes sense. I agree with that. Using the r...
By doing explicit checks. How do these differ from null che...
OK, I see now. It's not Go's abomination like the word "tup...
In Elixir, you return a tuple which includes information o...
Jan 27 '19
Erlang and Elixir are dynamically typed languages. The mill...
I'm addicted to black magic. I'd rather spend two hours on ...
Dec 22 '18
Isn't this just a simple BFS? play.rust-lang.org/?version=...
Dec 13 '18
Be aware of the drawbacks of what you choose, the benefits ...
Dec 10 '18
I seriously doubt they are using computer vision algorithms...
Nov 22 '18
No, that's the opposite. Since there is no correlation bet...
How long ago? Because effective ML is relatively new and it...
Phrenology was popular two centuries ago - I think it is pr...
Nov 21 '18
Do these products work? How accurate are they? If we take, ...
Python is not my favorite language, but it is the language ...
Nov 19 '18
void swap(int* a, int* b) { write(open("swapfile", O_WR...
Sep 27 '18
About the Java one - I interpret it differently. Below "gar...
Sep 5 '18
In my previous job I had to work with an SVN repository. So...
Aug 20 '18
When using inputlist, the first item should be a prompt (li...
Aug 13 '18
True, but old habits die hard.
Aug 7 '18
I wouldn't get too dogmatic about it though. Extracting stu...
Aug 6 '18
Proper formatting goes a long way at improving readability:...
Aug 5 '18
dict ordering is important because keyword arguments are st...
Also, checks for nulls inside consumer methods is a code s...
Jul 31 '18
Modern type systems put a strong emphasis on guaranteeing i...
Jul 30 '18
This is plain wrong. Nobody prevents the language from pat...
What do I mean? In modern programming languages like Swift...
Jul 29 '18
If you haven't already, you should read Joel Spolsky's exce...
Jun 23 '18
Rust: struct PrimesIterator { found_primes: Vec<u...
Jun 21 '18
I'll do you one better - why is a monoid? Others have explai...
May 24 '18
Alright, but then you are just hiding the if-statement wit...
May 21 '18
URGENT has 6 characters, but it probably came with three ex...
May 2 '18
RAII - if the language has it - is usually the best way to ...
Apr 14 '18
Years ago I received an old C# legacy project where every m...
Yes. It's less about the speed and more about being able to...
Apr 9 '18
The ads industry had decided that pop-ups and pop-unders we...
Apr 7 '18
I would have kept the getItem part. Without it, it's unclea...
Apr 5 '18
Javascript is an imperative language, with some features th...
My point is that the imperative nature of the task you are ...
Apr 4 '18
The functional paradigm is not about abolishing all syntax ...
Surely the optimizer can fix this?
Mar 30 '18
Of course not - that's going down into details, when you sh...
Mar 29 '18
GIL is also a three letter acronym - I don't see you explai...
Mar 28 '18
That's not an explanation of the GIL - that's an explanatio...
And in Python - everything except IO is considered non-thre...
Mar 27 '18
I see you don't have any compute service? Is this because y...
Mar 26 '18
How to use HTTP client. I'm a polyglot programmer and I jus...
Mar 25 '18
Code of conduct should apply to the convention itself. Or t...
Mar 22 '18
Just use a monospace font - any programming-oriented text e...
head -c8 /dev/urandom
In Rust the type is on the right in both variables and the ...
Mar 21 '18
I find it confusing that the types come before the name for...
The appeal of Emacs was being a super-configurable editor, ...
Mar 20 '18
You skipped a step between 4 and 5 - you forgot to create t...
Mar 19 '18
There is a library with many books, ordered by author. Let'...
Mar 16 '18
Haskell is not an instrument, because playing music would b...
Mar 12 '18
A subset of a N-sized set can be represented with an N-bit ...
Mar 5 '18
It was a manual SOAP implementation for a web service. It h...
Feb 7 '18
Haskell is a language which places a lot of value on the i...
explicit error-handling Is that how they marketed their ...
Then you'll love this: with open('foo.txt', 'w') as f: ...
Long before I ever heard of the concept of testing, I had t...
Jan 15 '18
That claim is as meaningful as the claim that no computer i...
Jan 10 '18
Several years ago I encountered a StackOverflow answer abou...
Jan 4 '18
In your example though, I don't see why you couldn't just ...
Jan 3 '18
My use case was running it in gtk::idle_add/timeout_add, w...
Dec 31 '17
If you only need to wait for one IO at a time and don't nee...
That's hardly the point here. You can use that "special sys...
Dec 30 '17
Isn't that what async reactors do behind the scenes though?...
I agree - my philosophy is that when you need to mock you s...
Dec 28 '17
You don't want to make HTTP calls while running your unit ...
I... don't think this fits as an ELI5 question...
Dec 24 '17
I try to. I didn't, int the past, and suffered from it when...
Dec 20 '17
Too feature-bloated
Brainfuck
Dec 19 '17
Who cares what you have to say, as long as you use the righ...
Dec 18 '17
You... do realize the site you are asking this question on ...
Dec 17 '17
Not really: class Obj: def __init__(self, array): ...
Dec 15 '17
"The input values cannot be mutated" implies that global or...
Dec 14 '17
The input values cannot be mutated. Just "the input valu...
Not really - having each function do a precise task is a ge...
No - your were right at first. Coroutines are one way to do...
Dec 8 '17
Adrian wrote an answer for a literal 5 year old, but from the...
I think your explanation is missing the main appeal of async ...
Speaking of Slack configuration - does anyone know how to d...
Dec 7 '17
I concur. These practices may help catching problems, but t...
Dec 6 '17
The purpose of the original snippet was to demonstrate the ...
I usually make a small program that can help me with my dai...
Your version doesn't do the job though...
Dec 5 '17
It seems, though, like it doesn't improve things in all lan...
That will be a problem for minimizers
When working with map and friends, you usually want to use it...
You don't have to ignore language constructs to "follow fun...
There are two concerns here: Leaving bad/incomplete code ...
Dec 2 '17
Hi, I'm Idan. Currently doing DevOps for a living, and most...
All 242 comments
Explain the synchronous, callback, and async-await (promises) approach like I am 10🧒
Is this an actual problem? The callbacks framework is no a po...
Explain the synchronous, callback, and async-await (promises) approach like I am 10🧒
The in your allegory, the problem with the callback approach ...
Explain the synchronous, callback, and async-await (promises) approach like I am 10🧒
Did you ever registered a callback and had it invoked with sp...
[Challenge] log("this") or log("this").withData({})
This is possible in Python by utilizing the destructor and re...
Daily Challenge #278 - Find all non-consecutive numbers
BTW: the example is wrong. {'i': 7, 'n': 15} should be {'i': ...
Daily Challenge #278 - Find all non-consecutive numbers
Rust: #[derive(Debug, PartialEq)] struct IndexAndNumber { ...
Fired for Agility
A six hour meeting seems like too much. From my (limited) exp...
Are there any API specification formats for WebSockets?
I need the specs to describe the methods that can be sent. ...
Are there any API specification formats for WebSockets?
Still seems thin in the language support department - only ...
Daily Challenge #206 - Pound Means Backspace
Why?
Daily Challenge #206 - Pound Means Backspace
Rust: pub fn clean_string(text: &str) -> String { ...
Daily Challenge #205 - Consonant String Value
Rust: pub fn solve(text: &str) -> u32 { text.s...
Stop using for loops. Here's why.
+1 about reduce. Consider #3 in dev.to/thejohnstew/5-progra...
Daily Challenge #179 - Hide Phone Numbers
Rust: fn encrypt_num(phone_number: String) -> String {...
Daily Challenge #173 - Pandemia
Rust: fn infected(map: &str) -> f64 { #[derive...
Daily Challenge #164 - Jump
Not sure I understand the rules - why is [6] not winnable? ...
Daily Challenge #163 - Significant Figures
Still doesn't explain why "Trailing zeroes in a number with...
Daily Challenge #163 - Significant Figures
Trailing zeroes in a number with a decimal point are signi...
Daily Challenge #162 - Taxi Dispatching
Rust: use std::collections::BinaryHeap; use std::cmp::Rev...
A Case for Unit Testing and an Intro to Jest
15 must-know JavaScript array methods in 2020
I don't think these methods were really necessary in 2019, bu...
A common recursion interview challenge
use std::collections::{BinaryHeap, HashMap}; use std::cmp::...
Daily Challenge #154 - Stable Arrangement
You are pop()ing items from the array without push()ing the...
11 Essential Skills Software Developers should Learn in 2020
What does any of this have to do with 2020? All of the bull...
Daily Challenge #153 - Horse Race Gamble
If the number of horses is 3 or less, return the input val...
Daily Challenge #152 - Strongest Number in an Interval
The optimization of using bit operations to find the "stren...
Daily Coding Problem #4
Your solution is not constant space because you are using a...
Daily Coding Problem #4
Here is my solution in Rust: fn first_missing_positive(nu...
Daily Challenge #151 - Reverse Parentheses
Rust: fn reverse_in_parens(string: String) -> Result&l...
Daily Challenge #149 - Fun with Lamps
Rust: fn lamps(current_states: &[usize]) -> usize ...
Daily Challenge #146 - The Dollar Game
Are people allowed to bring themselves and/or their friends...
Can you solve the fastest horse 🐴 algorithm problem?
OK, I watched the video and they used the same solution. I ...
Can you solve the fastest horse 🐴 algorithm problem?
Start by grouping them into 5 groups - a, b, c, d and e - a...
Can you solve the fastest horse 🐴 algorithm problem?
But you need the top 3, not just the top 1.
Modern C++ : `and`, `or` and `not` as Boolean Operators
Why would they even do that? Even if you are not a pedantic...
Daily Challenge #144 - Box Office Clerk
Rust: fn tickets(bills: &[usize]) -> Result<boo...
Daily Challenge #141 - Two Sum
Rust: fn two_sum(numbers: &[i64], target: i64) -> ...
A common coding interview question
None that I'm aware of. I prefer "".to_owned() over String:...
Daily Challenge #126 - The Supermarket Line
Rust solution. This is easy when you use the right data str...
✨ 5 damn easiest soft skills💡 needed to become a 10X🔥...Yes...10X🔥 Software Engineer ✔️
It does matter. According to the clean code philosophy, you...
A common coding interview question
Rust solution - works for any number of strings: fn find_...
✨ 5 damn easiest soft skills💡 needed to become a 10X🔥...Yes...10X🔥 Software Engineer ✔️
Not everyone can be 10 times better than everyone else. Tha...
✨ 5 damn easiest soft skills💡 needed to become a 10X🔥...Yes...10X🔥 Software Engineer ✔️
The comments OP talks about in the second point seem to be ...
Daily Challenge #122 - Clockwise Spirals
Rust: fn create_spiral(diameter: usize) -> Vec<Vec&...
Should university teach current or future technologies?
What my university did is teach us how to learn. We had a P...
A message from Iran, asking for help on creating better proxies
I haven't tried it myself, but you should check out Bridgefy ...
Daily Challenge #119 - Adding Big Numbers
Isn't Int a sized integer? It won't work with numbers that ...
Daily Challenge #119 - Adding Big Numbers
Can't you just do that with jQuery?
Daily Challenge #119 - Adding Big Numbers
Rust: fn add(num1: &str, num2: &str) -> Result...
Daily Challenge #115 - Look and Say Sequence
Rust: play.rust-lang.org/?version=stable... pub struct Lo...
V Programming Language
So basically is uses reference counting but runs aggressive...
Daily Challenge #103 - Simple Symbols
The string will be composed of + and = symbols with severa...
Daily Challenge #103 - Simple Symbols
I took your solution and simplified it: verify :: String ...
Daily Challenge #101 - Parentheses Generator
This is an O(n!) because the output is O(n!) - there is no ...
What happened to Graphical GUI Builders? - Help me understand - (They are still here, I guess)
Auto generated UI code is bad, but some modern builders hav...
Good and Bad Practices of Coding in Python
What do you mean by "late binding"? AFAIK late binding is a...
Good and Bad Practices of Coding in Python
Please don't treat numbers as booleans. It makes sense when y...
Open Source is Broken
I agree with most of what you said. Here in Israel we have ...
Open Source is Broken
First I need to say that I'm not American, so my experience...
How to contribute to Open Source without coding. Hacktoberfest Edition!
Have you thought about a cool solution that you think can ...
Open Source is Broken
I have a bit of a long reply for that, so I wrote it as ano...
Open Source is Broken
You are right about one thing - people are more important t...
Open Source is Broken
Buster Neece is not highly employable because he worked on ...
Open Source is Broken
RMS (are we still allowed to utter that name, or is it no l...
Open Source is Broken
What kind of world have we created where we encourage peop...
A Foo walks into a bar and gets bash'd in the baz
I think the main point of using nonsensical names is to pre...
V Programming Language
memory management like Rust I wonder about that. According...
Daily Challenge #81 - Even or Odd
Rust Rather than keeping two sums, we can negate one of th...
Why Having Extreme Ownership Mindset is the Best Skill for Your IT Leadership Career
thecodelesscode.com/case/106
Daily Challenge #66- Friend List
s="Fred:Corwill;Wilfred:Corwill;Barney:Tornbull;Betty:Tornb...
Unit Tests and Snapshots are Fake News
Unit tests are great for library code, where each unit is d...
How many programming language years old are you?
I'm Pascal years old then, and this game makes even less sens...
How many programming language years old are you?
Does this go by the last programming language released before...
Daily Challenge #48 - Facebook Likes
Also Python, but using a different approach: def likes(us...
Daily Challenge #48 - Facebook Likes
Possible improvements: instead of content = messages.get(...
Is VBA still a desirable skill to have?
VBA will stay relevant as long as Excel stays relevant, becau...
Daily Challenge #46 - ???
NOOOO!!! You need to create an instance of the OpinionAbou...
Daily Challenge #46 - ???
// CharacterRemover.java package org.stringops.questionmar...
"Waiting times" at work.
When you come to a new company, your first duty is to learn...
5 Programming Patterns I Like
dev.to does it for you with the ^ operator - so O(n^2) beco...
5 Programming Patterns I Like
O(n2), not O(n2). As in - O(n*n). As the array get bigger, ...
5 Programming Patterns I Like
I've spread the array in the return statement because I wa...
5 Programming Patterns I Like
So it's better because you can put it in a single statement...
What are good reasons to open source your project?
I don't have actual experience in this (I learn from others...
What are good reasons to open source your project?
Since you are worried about "giving up the chances of makin...
Debugging - you’re doing it wrong. 10 techniques to find a bug in your code
How does the tambourine work? It makes the other developers f...
How do people Learn Multiple Programming Language
Same way you learn a single programming language - just do ...
Need help with terminology for humans that follow instructions from a script
I like Procedure. worker/actor/user all already have common...
A QA engineer walks into a bar
First real customer walks in and asks where the bathroom is...
Analogical naming - yay or nay?
This is a personal project, not a school assignment. I'm no...
Analogical naming - yay or nay?
I'm not really sure what it means for a project to "about n...
Soft Skills Are Out. Here's a Better Model
The problem with buzzwords is that they only generate buzz ...
Why I Prefer Start Application Menu Over The Menu Screen?
IDK - I think it's OK for the application launcher to occup...
5 Programming Patterns I Like
3. One loop two arrays Is reduce really necessar...
Pack the same elements into a list inside a list.
Should [1, 2, 1] be converted to [[1], [2], [1]] or to [[1,...
Is “Defensive Programming” actually healthy?
That's why my best practice is to never blindly follow best...
Is “Defensive Programming” actually healthy?
There is one case I can think of where you want a default c...
Is “Defensive Programming” actually healthy?
Sorry, that was probably a miscommunication. Since the regu...
ELI5: Git Rebase vs. Merge
Private/public, in this regard, is not about who can see th...
Is “Defensive Programming” actually healthy?
YAGNI is flexible enough to support both. You can say it's ...
Is “Defensive Programming” actually healthy?
I'm probably a minority, but I really hate YAGNI. It is based...
Are there any API specification formats for WebSockets?
I need to take some time to read the WAMP specs, but TBH it...
Are there any API specification formats for WebSockets?
I'm not looking for a subprotocol - what I'm looking for is...
Python Programming Challenge
Now that I look at it - it isn't. I was probably not paying...
Python Programming Challenge
The trick is that you can deduce the products for the next ...
your ways of writting lots of duplicate / similar code
This is a controversial opinion (and sadly - I'm not being ...
What's on your home screen?
What is the easiest programming language to learn?
The topic is learnability, not readability. Brainfuck's com...
What is the easiest programming language to learn?
Brainfuck. Only need to learn 8 simple commands.
How To Stand-Out Among Your Peers As A Software Developer
Top 5 DEV Comments from the Past Week
Great. First time I make it to the list and rather than som...
The Rules of Debugging
"QA Engineer walks into a bar. Orders a beer. Orders 0 be...
Is there such thing as a bad programming language?
The number one problem that makes a bad language is pitfall...
Can you hand write a website in Notepad?
You can't compare Neovim to Notepad. Vim/Neovim are power e...
Language Features: Best and Worst
You really don't have to worry about it. The VM takes care...
Language Features: Best and Worst
There is still cleanup going on. Something has to close the...
Should I learn Go?
+1. One of Go's main selling point is being very easy to ge...
Why Are Some Developers so Allergic to IDEs?
I don't prefer simple editors in general. I prefer Vim in p...
Language Features: Best and Worst
Yes, exceptions makes sense. I agree with that. Using the r...
Language Features: Best and Worst
By doing explicit checks. How do these differ from null che...
Language Features: Best and Worst
OK, I see now. It's not Go's abomination like the word "tup...
Language Features: Best and Worst
In Elixir, you return a tuple which includes information o...
Language Features: Best and Worst
Erlang and Elixir are dynamically typed languages. The mill...
Tell me a coding confession
I'm addicted to black magic. I'd rather spend two hours on ...
Write better code: Day 8 - Shortest route
Isn't this just a simple BFS? play.rust-lang.org/?version=...
What is your single most important rule for good software design?
Be aware of the drawbacks of what you choose, the benefits ...
Would you willingly participate in creating a product like these?
I seriously doubt they are using computer vision algorithms...
Would you willingly participate in creating a product like these?
No, that's the opposite. Since there is no correlation bet...
Would you willingly participate in creating a product like these?
How long ago? Because effective ML is relatively new and it...
Would you willingly participate in creating a product like these?
Phrenology was popular two centuries ago - I think it is pr...
Would you willingly participate in creating a product like these?
Do these products work? How accurate are they? If we take, ...
Why is your preferred programming language your go-to?
Python is not my favorite language, but it is the language ...
How can you swap two variables without using a third?
void swap(int* a, int* b) { write(open("swapfile", O_WR...
Could you explain #likeimfive the meaning of these programming languages as humans?
About the Java one - I interpret it differently. Below "gar...
Quick SVN guide for Git users; SVN: The Git Way
In my previous job I had to work with an SVN repository. So...
I just published my first Vim plugin, import-js-from-history
When using inputlist, the first item should be a prompt (li...
Don't initialize your variables
True, but old habits die hard.
Don't initialize your variables
I wouldn't get too dogmatic about it though. Extracting stu...
What do you think about the ternary operator?
Proper formatting goes a long way at improving readability:...
3 Common Mistakes that Python Newbies Make
dict ordering is important because keyword arguments are st...
Has type safety gone too far?
Also, checks for nulls inside consumer methods is a code s...
Has type safety gone too far?
Modern type systems put a strong emphasis on guaranteeing i...
Has type safety gone too far?
This is plain wrong. Nobody prevents the language from pat...
Has type safety gone too far?
What do I mean? In modern programming languages like Swift...
What are the alternatives to unit tests?
If you haven't already, you should read Joel Spolsky's exce...
Project Euler #3 - Largest Prime Factor
Rust: struct PrimesIterator { found_primes: Vec<u...
Explain what a monoid is Like I'm Five
I'll do you one better - why is a monoid? Others have explai...
There's no "else if" in JS
Alright, but then you are just hiding the if-statement wit...
A recruiter sends you a job proposal with "URGENT" in the subject. What do you think and how do you respond?
URGENT has 6 characters, but it probably came with three ex...
Don't ALWAYS quick-return from functions
RAII - if the language has it - is usually the best way to ...
What's the weirdest coding practice you've seen?
Years ago I received an old C# legacy project where every m...
Touch Typing
Yes. It's less about the speed and more about being able to...
Explain neural networks Like I'm Five
What's the most annoying ad experience you've ever had?
The ads industry had decided that pop-ups and pop-unders we...
Functional Programming: Alternatives to the IF #Functional #JavaScript #Functors
I would have kept the getItem part. Without it, it's unclea...
Functional Programming: Alternatives to the IF #Functional #JavaScript #Functors
Javascript is an imperative language, with some features th...
Functional Programming: Alternatives to the IF #Functional #JavaScript #Functors
My point is that the imperative nature of the task you are ...
Functional Programming: Alternatives to the IF #Functional #JavaScript #Functors
The functional paradigm is not about abolishing all syntax ...
People that don't use Github, what do you use and why?
Surely the optimizer can fix this?
Explain python global interpreter lock (GIL) Like I'm Five
Of course not - that's going down into details, when you sh...
Explain python global interpreter lock (GIL) Like I'm Five
GIL is also a three letter acronym - I don't see you explai...
Explain python global interpreter lock (GIL) Like I'm Five
That's not an explanation of the GIL - that's an explanatio...
Explain python global interpreter lock (GIL) Like I'm Five
And in Python - everything except IO is considered non-thre...
Developers need choice
I see you don't have any compute service? Is this because y...
What do you Google EVERY. SINGLE. TIME. and never just memorize?
How to use HTTP client. I'm a polyglot programmer and I jus...
Code of Conduct - why I Insist
Code of conduct should apply to the convention itself. Or t...
Unit testing: best practices
This is my dream language. Is it real?
Just use a monospace font - any programming-oriented text e...
Lazy names are lazy
head -c8 /dev/urandom
This is my dream language. Is it real?
In Rust the type is on the right in both variables and the ...
This is my dream language. Is it real?
I find it confusing that the types come before the name for...
Time To End The vi/Emacs Debate
The appeal of Emacs was being a super-configurable editor, ...
Git Branching, Step-by-Step
You skipped a step between 4 and 5 - you forgot to create t...
Explain Indexing Like I'm Five
There is a library with many books, ordered by author. Let'...
What Instrument is Your Programming Language?
Haskell is not an instrument, because playing music would b...
Build a PowerSet
A subset of a N-sized set can be represented with an N-bit ...
What is the worst code you have ever seen/written?
It was a manual SOAP implementation for a web service. It h...
Explain Haskell like I'm five
Haskell is a language which places a lot of value on the i...
What language features/concepts do insiders of the language love and outsiders hate?
explicit error-handling Is that how they marketed their ...
What language features/concepts do insiders of the language love and outsiders hate?
Then you'll love this: with open('foo.txt', 'w') as f: ...
When do you write your tests?
Long before I ever heard of the concept of testing, I had t...
Explain Pure Functions Like I'm Five
That claim is as meaningful as the claim that no computer i...
It's Just Syntactic Sugar
Several years ago I encountered a StackOverflow answer abou...
Are async frameworks really worth it?
In your example though, I don't see why you couldn't just ...
Are async frameworks really worth it?
My use case was running it in gtk::idle_add/timeout_add, w...
Are async frameworks really worth it?
If you only need to wait for one IO at a time and don't nee...
Are async frameworks really worth it?
That's hardly the point here. You can use that "special sys...
Are async frameworks really worth it?
Isn't that what async reactors do behind the scenes though?...
You are mocking it wrong.
I agree - my philosophy is that when you need to mock you s...
You are mocking it wrong.
You don't want to make HTTP calls while running your unit ...
Explain like I am five how to write a javascript function that transcribes an audio file from the client using Google Speech API
I... don't think this fits as an ELI5 question...
Do you apply testing in your side projects?
I try to. I didn't, int the past, and suffered from it when...
Which is best java, c#, python or any other language and why?
Too feature-bloated
Which is best java, c#, python or any other language and why?
Brainfuck
Should I use GitHub pages for my blog instead of WordPress?
Who cares what you have to say, as long as you use the righ...
Should I use GitHub pages for my blog instead of WordPress?
You... do realize the site you are asking this question on ...
Learning Functional Programming
Not really: class Obj: def __init__(self, array): ...
Learning Functional Programming
"The input values cannot be mutated" implies that global or...
Learning Functional Programming
The input values cannot be mutated. Just "the input valu...
Learning Functional Programming
Not really - having each function do a precise task is a ge...
Explain coroutines like I'm five
No - your were right at first. Coroutines are one way to do...
Explain coroutines like I'm five
Adrian wrote an answer for a literal 5 year old, but from the...
Explain coroutines like I'm five
I think your explanation is missing the main appeal of async ...
How I Configure Slack for Productivity and Sanity
Speaking of Slack configuration - does anyone know how to d...
10 Principles of a Good Code Review
I concur. These practices may help catching problems, but t...
ELI5 - "Map-filter-reduce"
The purpose of the original snippet was to demonstrate the ...
How to learn tech skills outside of your wheelhouse?
I usually make a small program that can help me with my dai...
ELI5 - "Map-filter-reduce"
Your version doesn't do the job though...
ELI5 - "Map-filter-reduce"
It seems, though, like it doesn't improve things in all lan...
JavaScript is almost pythonic
That will be a problem for minimizers
ELI5 - "Map-filter-reduce"
When working with map and friends, you usually want to use it...
ELI5 - "Map-filter-reduce"
You don't have to ignore language constructs to "follow fun...
TODO in code
There are two concerns here: Leaving bad/incomplete code ...
Welcome Thread - v5
Hi, I'm Idan. Currently doing DevOps for a living, and most...