loading...

Last 250 Comments

re: Is agile a scam?
Sounds like you've been working at a place where they said th...
re: Where do you ask dev related questions other than dev.to #discuss
You could try to find an active Discord server where your int...
re: What's the strangest Wi-Fi name you've ever seen? 😮
Haven't seen it first hand, but someone on the internet poste...
re: What´s wrong with Array.reduce ?
This seems a prime candidate for map though. const result =...
re: What´s wrong with Array.reduce ?
Math.max(...numbers) Edit: also note that your implementa...
re: What´s wrong with Array.reduce ?
The way I see it, it's mostly familiarity bias. reduce will b...
re: Why is Isomorphic JavaScript not longer talked about?
Well, it depends on how much isomorphism you expect. Of cours...
re: What do your friends and family think about the software industry?
I once had an acquaintance who believed that my job consisted...
re: How did you become a mobile dev (especially if you are full stack)?
Slightly off-topic but... Mobile seems to be a big market, ...
re: 🤔 What is the worst technology advice you have received?
From the organisation's architect: writing unit tests is a wa...
re: Importance of Project Management?
You might want to consider adding a short description to defi...
re: In BDD (behaviour driven development) what is the difference between cucumber and jbehave?
A quick search shows that they are two different libraries to...
re: What type of computer do you use for programming and why?
I use a Slimbook KDE from 2018. It is good hardware and it's ...
re: Developer Bingo!
Five hits. Has a mechanical keyboard. Hasn't updated their ...
re: What do you think about double publication?
You can use canonical urls to tell search engines that two or...
re: Which computer to choose for Linux OS with good graphical processing power?
I came here just to say the same thing. I've been using a Sli...
re: eCommerce without backend?
Well, you could try and store your data in Google Sheets as l...
re: What terminal do you use?
I mostly use Terminator as well.
re: What keyboard do you use?
I've been using a Ducky One RGB with Cherry MX Red switches f...
re: When would be the ideal time to quit your unhappy job to seek new one?
I think it's usually ok to leave a job early if you're not ha...
re: Why anti-encryption laws are crazy
I always learn so much with your posts, thanks for the write-...
re: How long should I hang onto a promise?
Six months is quite some time if you're unhappy. I guess the ...
re: Thoughts on IT Stickers 💻✨
Yeah, you could say so :)
re: Thoughts on IT Stickers 💻✨
Even though I collect quite a few at conferences and such, I ...
re: Junior Developer Check List
I wish I could like this more than once.
re: What do you call yourself to people outside of tech?
I usually go for programmer or software developer.
re: Journey to being full stack?
It sounds like that's a conversation you should have with you...
re: Why to use Deno?.
I think this article could use some references and more detai...
re: Making a case for english codebase to my boss
Well, I don't think there's much to add to what you've alread...
re: Class Contradictions in TypeScript vs JavaScript
Care to elaborate why?
re: Add #puppet tag
You can email yo@dev.to and ask to moderate that tag. Then it...
re: What are some exciting compile to Js languages?
I think there's a compiler for almost anything to Javascript ...
re: Hurdles of full stack JS engineer transistion
Have you explored the option of transitioning to the new role...
re: How do you approach your DEV "Reading List"?
I'm ashamed to admit this, but my strategy is adding articles...
re: is java better than python?
Er... if I recall correctly, Python was first publicly releas...
re: Should we post in our native language?
There's plenty of authors posting in languages other than Eng...
re: Why does the image not display on the canvas?
You could take the height and the width from the image if the...
re: Why does the image not display on the canvas?
Yeah, but your default value for height and width is undefine...
re: Why does the image not display on the canvas?
Yeah, my bad. Look at my previous comment, the problem isn't ...
re: Why does the image not display on the canvas?
Actually nevermind, after some more testing, your original co...
re: Why does the image not display on the canvas?
I've seen the problem now, it's still in your drawImg functio...
re: Why does the image not display on the canvas?
So I've tried it in my local machine opening the html file di...
re: Why does the image not display on the canvas?
Hmm... where are you loading the image from? It might be that...
re: How I've been misusing Async Await
I mean, your function could be shortened to get rid of async/...
re: Why does the image not display on the canvas?
No problem :)
re: Why does the image not display on the canvas?
The image is loaded asynchronously, so when you draw it in th...
re: Makefiles and alternatives?
I don't know how to use Makefile. Do I need to install cmake...
re: Dev.to Community Discord
I recall that this has been brought up in the past and at tha...
re: For standing desk owners, how do you manage your sit/stand schedule?
I switch whenever I get tired of my current position, which i...
re: How to do a better code review?
I have a few personal guidelines I try to follow when reviewi...
re: ask for help
Hi, it's a bit hard to help you if you don't say what you nee...
re: Daily Challenge #233 - Get Planet Name by ID
def get_planet_name(id): planets = [ 'Mercury', 'Venus', ...
re: When integrating APIs, Which API Authentication method do you prefer?
JWT if I can, OAuth otherwise.
re: Client wants to modify the SPA website in the future.
If I recall correctly, Wix is more of a WYSIWYG website build...
re: Second Year Group Project?
It's kinda hard to suggest something without knowing your pro...
re: Where do you put your stickers?
That's funny, the only place where I actually put stickers is...
re: If you had to create a desktop app what tech stack would you use?
I would use the Rust bindings for web-view, implement anyth...
re: How can I reserve/protect/disable certain keywords in applications?
The first part should be straightforward. Simply store the li...
re: A Quick JS Reduction: My possibly-too-clever way to reduce an array into one object in javascript
Not that it matters, but for the sake of offering an altern...
re: How has your opinion on "clean code" changed throughout your career?
In my early years I had no idea that clean code was even a ...
re: Asteroid App: Project Submission
Great job! Congratulations on finishing the project!
re: Explain Async/Await Like I'm Five
After many discussions about it, I've come to the conclusion ...
re: Union Types with Javascript
Wonderful! I'm glad you found it useful!
re: COVID-19 INDONESIA
Hi Efrii, we would appreciate it if you would at least write ...
re: How Do You Answer The Question 'Why Do You Want To Work Here?'
Or you can try this one if you're feeling brave:
re: How Do You Answer The Question 'Why Do You Want To Work Here?'
I do some research on the companies behind job postings bef...
re: Help me out, guys
If we are talking about aesthetical beauty of the sites, th...
re: New Programming Jargon
Science Driven Development: it's when you try things and se...
re: Do you use some kind of GUI for git, and if you do, when do you have to resort to terminal?
I always use the CLI for git. I felt that most GUIs aren't ...
re: YAML vs. XML vs. JSON for Configuration
If it's simple enough, I'll just set it as a bunch of envir...
re: What library/language/tool wowed you with its developer experience?
Elm taught me that code can be elegant and explicit and tha...
re: What’s your alternative solution? Challenge #1
const { forEach, range, } = require('ramda') const...
re: Programming YouTube channels
Fun Fun Function. It's not only coding "tutorials", but als...
re: Daily Challenge #210 - Separate Capitalization
Ooh, clever! I like it!
re: Daily Challenge #210 - Separate Capitalization
Scala A good old fold and I use the Next type to...
re: Do you consider ethical to offer half the course for free but no refunds?
As I said, I think that what you are suggesting is fair but...
re: Do you consider ethical to offer half the course for free but no refunds?
If the purchaser has had the chance to review part of the c...
re: Daily Challenge #208 - Delete Occurrences of an Element
Hmm... I wonder what happens if deleteNth is invoked more t...
re: Daily Challenge #208 - Delete Occurrences of an Element
Scala def deleteNth[T] (xs: Seq[T], n: Int):...
re: Daily Challenge #207 - Snakes and Ladders
Scala Instead of saving the state internally, the ...
re: Daily Challenge #206 - Pound Means Backspace
Scala def cleanString (str: String): String ...
re: Daily Challenge #205 - Consonant String Value
Scala lazy val values = "abcdefghijklmnopqrs...
re: Daily Challenge #204 - Partial Keys
Scala import scala.language.dynamics object P...
re: Imperative vs functional in human language
I dunno, both phrasings sound quite declarative to me. Th...
re: Daily Challenge #202 - Complete the Pattern II
Thanks for the tip!
re: Daily Challenge #202 - Complete the Pattern II
Haskell I'm writing this on my phone, so there a...
re: Unpopular opinions
Javascript has become worse in the past couple of iteration...
re: What is your opinion on callbacks in JavaScript?
I always transform callback based APIs to use promises for ...
re: Daily Challenge #201 - Complete the Pattern
Haskell pattern :: Int -> String pattern n ...
re: 10 reasons to choose Linux
Docker can be run in rootless mode as well. Albeit it is st...
re: What is the best scripting language for secure automation and speed?(python, ruby, rust)
As @bittnkr said, you can spawn multiple processes easily ...
re: 10 reasons to choose Linux
Nope, on Linux you have to run docker as root to run it at...
re: Daily Challenge #199 - List of All Rationals
Scala This was really fun. I want to refine the ...
re: Daily Challenge #197 - Population Growth
Haskell module PopGrowth ( nbYear ) where ...
re: Javascript Array Condensing
Point-free ramda sorcery. const { compose, equals, ...
re: What's the worst code you have seen by a senior dev?
That's just an overlook. I've seen functions that are hundr...
re: Have you taken the 2020 Stack Overflow survey?
I have now :D
re: Daily Challenge #195 - No Zeroes for Heroes
Does this work when passing 0 as argument?
re: JS Data Privacy
I don't really use classes with Javascript. You can encapsu...
re: Daily Challenge #195 - No Zeroes for Heroes
Haskell import Data.List (dropWhileEnd) noZer...
re: Daily Challenge #194 - Spread Number
Haskell The easiest challenge yet. spreadNumbe...
re: Tabs vs Spaces?
I don't think there's any technical aspect to consider. It ...
re: What are the languages you wish you could use for work?
Haskell or any lisp dialect.
re: Daily Challenge #187 - Most Sales
Haskell module MostSales where import Data.Li...
re: Daily Challenge #187 - Most Sales
Scala object MostSales { private implicit va...
re: Working in Teams
I don't think I have any good advice, but I do have some ra...
re: Daily Challenge #175 - Complementary DNA
Another javascript solution const complementaryKeys = (pr...
re: Daily Challenge #172 - Find All in an Array
Haskell Written on the phone, it might not work,...
re: Whats you preferred jvm build system?
Sbt
re: Comparing Arrays using isArrayEquals() method
Why would you consider two arrays with the same elements in...
re: The Various Levels of "Senior" | Satire
I still don't know what I'm doing senior. ...but I'm doi...
re: Daily Challenge #158 - RGB To Hex Conversion
We have padStart now in strings to add characters to the be...
re: Features of Different Javascript Framework : Node Js, BackBone JS, Ext Js
Node is a runtime environment for JavaScript, not a framewo...
re: Daily Challenge #157 - Is N Divisible by X and Y?
Racket (define (is-divisible n x y) (and (=...
re: What are the worst programming languages that nobody should learn?
Algol 58 is probably far from the optimal choice in most ca...
re: What are the worst programming languages that nobody should learn?
To be fair, your argument sounds to me like someone might l...
re: What are the worst programming languages that nobody should learn?
Why would copy-pasting be substantially more painful with P...
re: Linux distro you are using for development?
Yep, had it for a while now, still very happy with it :)
re: Why I don't like JavaScript
[].sort(() => Math.random() - 0.5) tends to not displace...
re: Why I don't like JavaScript
Not really, since the intent of the original implementation...
re: Order of arguments in HOF
I'm not sure, but ramda does it the other way around, which...
re: dev.to posts tagged 'beginners' considered harmful
You can send an email to yo@dev.to if you're interested in ...
re: Daily Challenge #144 - Box Office Clerk
Scala object BoxOffice { sealed trait Answer...
re: Daily Challenge #142 - Parts of a Whole
Scala object whole extends App { def solve (...
re: Daily Challenge #141 - Two Sum
Doesn't this return the values that sum up to the target va...
re: Daily Challenge #141 - Two Sum
Scala def solve (xs: Seq[Int], target: Int): O...
re: How many programming languages do you know?
I dunno, no matter how many languages I learn, I still don'...
re: Daily Challenge #137 - Help the Bookseller
I was under a strong sleep deprivation when I wrote that so...
re: Daily Challenge #137 - Help the Bookseller
Scala object Bookstore { case class Book(code: String, ...
re: Daily Challenge #136 - The Deaf Rats of Hamelin
Nice math trick with the piper, hadn't thought of that!
re: Daily Challenge #136 - The Deaf Rats of Hamelin
Slightly over-engineered solution in Scala. object Hameli...
re: Does being an introvert influence the chance of getting hired at a job interview?
If you are asked open ended questions and answer with a sin...
re: Daily Challenge #135 - The Wide Mouthed Frog!
Maybe, I don't write a lot of Haskell so I couldn't say.
re: Daily Challenge #135 - The Wide Mouthed Frog!
Haskell mouthSize :: String -> String mouthSize "allig...
re: Other language support?
You can just write in Spanish, no need to do anything speci...
re: What non-CMS tools would you use to make a small but growing website?
I had to do a simple static webpage recently and I went wit...
re: What language are you planning to learn next?
Currently, I'm learning Scala. At some point I want to get ...
re: Question regarding "Junior Full Stack Developers"
Ironically, I started my career as a junior fullstack develop...
re: What do you really want from your employer?
Remote work. I think it's valuable to be co-located with t...
re: Cool Object methods in JavaScript
What would you do with the output of entries though? It'...
re: Daily Challenge #130 - GCD Sum
You might be right, I had forgotten about that tiny detail....
re: Advent of Code 2019 Solution Megathread - Day 3: Crossed Wires
That's what I suspected would happen. I think the best opti...
re: Advent of Code 2019 Solution Megathread - Day 3: Crossed Wires
You can generate segments with only the start and end point...
re: Daily Challenge #130 - GCD Sum
Haskell. A bit ineffective because it generates all possib...
re: Advent of Code 2019 Solution Megathread - Day 3: Crossed Wires
Scala! I'm slowly falling in love with this language. obj...
re: Dev.To Time Limit setting
Make it 14, to make sure we are eating and getting enough s...
re: What are the key skills necessary to be a competent developer?
I Am Recruitr ...
re: Advent of Code 2019 Solution Megathread - Day 1: The Tyranny of the Rocket Equation
I like option 2 a bit better. I'd rather see the people tha...
re: Social skills for tech folks (?)
Am I wrong? What do you think about it? In all my years ...
re: What's the ideal number of weeks in an agile sprint?
The ideal length depends on the situation. If you can't fin...
re: How to mock Date with Jest
I just want to point out that both Date and RealDate refere...
re: What's the WORST thing about serverless?
That kinda defeats the point of only running it when needed...
re: What's the WORST thing about serverless?
You spend half the day writing glue code between different ...
re: How do you test your side projects?
When I start a side project, my first goal is to have somet...
re: An introduction to promises in JavaScript
Nice article, just a small comment. As long as there is a...
re: Refactoring a Legacy Project
I didn't know about Joel Spolsky article, it was an interes...
re: Refactoring a Legacy Project
That's why we write tests before refactoring a piece of cod...
re: Refactoring a Legacy Project
I've spent a good deal of the last year refactoring a few p...
re: Anyone planning on doing Advent of Code this year?
I will try, but life will probably get in the way after the...
re: Tell us about a time when your tests saved you
We were using a statistics library developed by another tea...
re: Is there any way to have JavaScript variables in an eval() statement?
Well, instead of evaling a string, you could send in a pred...
re: Favorite project management software, besides Jira?
I use often Trello and Quire. Both work reasonably well, bu...
re: Ethical Editor / IDE ?
What makes you think the communities around Emacs don't wa...
re: What do you think the BEST feature is that dev.to could add?
Can't you do that already? I think I got a notification whe...
re: Refactoring node.js (Part 1)
We could discuss all day long the merits of the second arti...
re: Refactoring node.js (Part 1)
Async/await allows us to build asynchronous non-blocking cod...
re: Aren't we biased in our choices
Yes, we all are to some degree biased by our own experience...
re: Is it really a defect ?
I'd just log it as technical debt.
re: Daily Challenge #95 - CamelCase Method
The confusion is because the description says camelCase but...
re: My First Week In Tech
Nice story, thanks for sharing and best luck in your new ca...
re: What's your thought about pseudoclassical OOP in JS?
Using objects doesn't make your code object-oriented progra...
re: Love at First Code
Yes, that's the one!
re: To reestimate, or to not reestimate, that is the question!
What are you estimating for? If you want a prediction of wh...
re: How would you build it? - Cross-platform Desktop GUI
I would use web-view. I can still use the web stack for the...
re: Actor model vs Microservices
I think that the actor model and micro-services solve entir...
re: Love at First Code
Lisp. It's so simple and elegant, and it has so many parent...
re: What's an interesting question you've been asked at an interview?
That's an odd one, how did you answer?
re: Top 5 DEV Comments from the Past Week
Oh, hey, I made it to the list! I want to thank everybody w...
re: What Javascript tools should use for this use-case?
How do your json files look like? Do you need to merge only...
re: The Best Software Testing Tools
+1 for Insomnia. It feels leaner and easier to use in gener...
re: What's an interesting question you've been asked at an interview?
Lol, that would beg the question do you have 5000+ lines st...
re: I need an information
You want to implement a camera system that is centered on t...
re: What's an interesting question you've been asked at an interview?
That's a good question. In our case, we then explained that...
re: What must we do to encourage more female coders?
What can we, as an industry, do now to encourage more female...
re: The 3PM code review rule
We have a similar rule in my team. In the morning, first th...
re: What's an interesting question you've been asked at an interview?
Haha, that's a fun one! At a previous team we used to ask c...
re: What's an interesting question you've been asked at an interview?
O.o That's an odd one. Was there anything in the context th...
re: What's a better way to start a conference talk than "Uh... okay, so I guess it's time to get started?"
Hello, my name is Iñigo Montoya and today I'll talk about ...
re: Daily Challenge #87 - Pony Express
My challenge is writing this is Haskell on the phone withou...
re: ICE, Github, Tech & Politics
Why Gitlab though? Aren't they based in the US and, therefo...
re: 💵 What are the perks that come with a pro subscription to dev.to?
I think so. I remember a similar experience.
re: What database do you use?
Same.
re: Daily Challenge #81 - Even or Odd
Sure! Let's start at partition, since we pass its output to...
re: Daily Challenge #81 - Even or Odd
Haskell Since I'm not entirely sure what a strin...
re: To rewrite or not rewrite that is the question.
From the #discuss tag guidelines: These posts should be q...
re: Daily Challenge #80 - Longest Vowel Change
Haskell import Data.List (groupBy) longest ::...
re: Implicit classes in Scala
I know next to nothing about .NET, but after a quick read i...
re: Why Java is the best Programming language to Learn Coding for beginners?
I first learned programming with python and then I coded pr...
re: Linux Development Environment for Flatiron School
You might want to include in your post why #sqlite, #node a...
re: Daily Challenge #78 - Number of Proper Fractions with Denominator d
Scala def properFractions (n: Int): Int = { ...
re: Daily Challenge #75 - Set Alarm
Haskell set_alarm :: Bool -> Bool -> Boo...
re: How often do you clean your screen/keyboard?
I didn't know you're supposed to clean them.
re: Daily Challenge #72 - Matrix Shift
Haha, yeah, it's marginally easier once you get used to the...
re: Daily Challenge #72 - Matrix Shift
Haskell shift :: Int -> [String] -> [Str...
re: Seek-Help!
Using a while loop to generate a number of eaten cupcakes s...
re: Daily Challenge #68 - Grade Book
Scala def grade (a: Int, b: Int, c: Int): Stri...
re: What’s overrated?
Everything.
re: Daily Challenge #63- Two Sum
Haskell A recursive solution that checks for eac...
re: Daily Challenge #62 - Josephus Survivor
Wow, this one was hard to figure out. Haskell ...
re: Daily Challenge #61 - Evolution Rate
My knowledge of statistics is a bit rusty (yet I didn't use...
re: What features do you like about JavaScript?
I really like functions as first-class citizens, nowadays ...
re: What do you call people who don't code?
Normal people.
re: We are the Borg
That was a fun read and an odd simile, thank you!
re: Are utils (folder where you put random stuff you don’t know where to put otherwise) a code smell?
I think they are fine for functions that are too general or...
re: Daily Challenge #51 - Valid Curly Braces
Smart! I like it!
re: dev.to hashtags documentation
You can check the guidelines for a specific tag in the tag ...
re: How do *you* pronounce sudo?
Useful after a tough day
re: How do *you* pronounce sudo?
I added this to my .bashrc file: alias please='sudo'
re: How do *you* pronounce sudo?
Neither, I've aliased sudo to please.
re: Is Object-Oriented Programming "Dangerous"?
I think part of the problem is that people say OOP but mean...
re: How to initialize a Singleton mongo connection with expressjs
Glad it helped :) this looks very promising I hope this...
re: How to initialize a Singleton mongo connection with expressjs
What I do is initialize the database connection, plus any o...
re: Daily Challenge #48 - Facebook Likes
Some simple pattern matching with Haskell. likes :: [Stri...
re: Daily Challenge #47 - Alphabets
Haskell Some function composition sorcery in Has...
re: Developer frustrations
Ooh, PHP...
re: Developer frustrations
Unclear requirements that change after every discussion.
re: Developer frustrations
When you're trying to fix one bug for an entire week and t...
re: JavaScript Challenge
Of course, we can just implement the same algorithm in Java...
re: JavaScript Challenge
I know the header says "Javascript", but this is really eas...
re: Do you write your own thoughts every day?
I don't manage to do so every day, but often. What softwa...
re: 6 points you need to know about async/await in JavaScript
Agree, I think promises are better that async/await when it...
re: What is your hack for coming up with variable and function names?
When I can't come up with a good name for a function, I jus...
re: Daily Challenge #43 - Boardgame Fight Resolver
Care to explain how it works? I don't get it 😅
re: How would you build a desktop app nowadays?
Interesting project, thanks for sharing!
re: Daily Challenge #43 - Boardgame Fight Resolver
Look ma, pattern matching! fightResolve :: String -> S...
re: How would you build a desktop app nowadays?
I didn't know about wxWidgets, interesting option :)
re: How would you build a desktop app nowadays?
I would probably start with the Rust bindings for web-view,...
re: Why do you like or dislike React?
By the way, I've read the second article you linked and it ...
re: Why do you like or dislike React?
I do like React's idea of using a virtual DOM, and it reall...
re: Do you use Axios or Fetch?
I use either fetch or node's native http module. The fewer ...
re: FizzBuzz challenge in as many languages as possible
I did write solutions in Javascript and Racket for a simila...
re: How to be a Python developer?
Oops, I wasn't aware of that, thanks for the correction.
re: How to be a Python developer?
Having a mentor with whom you can discuss periodically your...
re: You're not worth hiring unless...
On the other hand, most C/C++ developers don't spend a big pa...
re: Daily Challenge #32 - Hide Phone Numbers
Using a library kinda defeats the purpose of these exercise...
re: Daily Challenge #32 - Hide Phone Numbers
Today I'm folding the other way around. I've chosen not to ...
loading...