Recent submissions

Comment · 3 years ago
Luck is winning the lottery.
Comment · 3 years ago
In the Netherlands you're either a tourist or 60 year or older if you wear a helmet. But it is also not that fair to compare the Netherlands to other countries. We grew up with bicycles and our infrastructure is much better for cycling.
Comment · 3 years ago
I don't care if i'am not using every feature in Vim. I gave up on NVIM, because i was completely done with configuring plugins with bad documentation, no good defaults. For every plugin i needed to learn more and more shortcuts. After an update some plugins were broken etc. I just now stick with VSCode with the NVIM plugin.
Comment · 4 years ago
I always used the cursor function, but did not know about the press again selection mode. I still have a iPhone 10, so i can still enjoy while it lasts.
Comment · 4 years ago
I always use VS Code to program C#. But i can't use VS on Linux, so i also don't know what i am missing out on.
Comment · 4 years ago
It does not have CarPlay?
Comment · 4 years ago
Me neither, but you will fail your driving test if you don't use the mirrors before opening the car door.
Comment · 5 years ago
If those 5 lines do so much that you can't scan it quickly, why is it not in a function? I don't understand, why so many people here have a hard time of understanding this here on HN. You can't trust that comment, you don't know if its outdated or not.

Update: I noticed you updated your comment.

So my reaction to your addition is that a class can always be abstracted to higher level. It will probably do to much at this point.

Comment · 5 years ago
Yes, this is bad. If it was not clear enough that this created a VScrollBar, then create a function CreateVerticalScrollBar(). Why? Well this does exactly the same as commenting the code, except that this can easily be renamed with your IDE if the code base changes. Comments will always be outdated, functions not.
Comment · 5 years ago
Great, but that's not the reason why obvious comments are bad. They are bad because it's not maintainable. For you this means that the next time a developer refactors the code, you need to check if the comment is still accurate with the refactored intentions. I repeat, this is not maintainable! I love how the book Clean Code described it: "A comment is a failure to express yourself in code." There are situation they are useful, but those are definitely not obvious comments.
Comment · 5 years ago
A million? Can you back this up somehow? Did you take in account the infrastructure and offices of our existing "technology"?
Comment · 5 years ago
Idea people are most of the time really creative. Creative people are most of the time more chaotic. This article is all about a well balanced team composition in the end. A team full of code robots does not work and a team full of 'idea people' does also not work.
Comment · 5 years ago
Most of the time my C# code uses most of the functional paradigms. I write pure functions when i can and use LINQ almost everywhere. Recently i created a F# API with the dotnet CLI, but the syntax is not even close. I get the concepts, but syntax is a little bit to much to just try it when i have to write a new microservice. Am i the only one?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton