Better HN
topnewbestaskshowjobs
Log inSign up

frigo_1337

13 karma · joined Nov 22, 2015 (11y ago) · 12 submissions

Submissions

comment 9y ago · link · parent

One thing from Clean Code that fundamentally changed the way I write code was the bit about how “Comments Lie”.

I hadn’t really thought about it much before. But since then, I see lying comments absolutely everywhere. Many of which I have written myself. The author is right, comments are really hard to maintain.

Nowadays I try my absolute hardest to avoid writing comments. 9 out of 10 times, it can be solved with some refactoring.

comment 9y ago · link · parent

I'm not a huge fan of the UI (images are nice, but only for about half of the usual HN content), but I am very impressed by the performance of the app.

The speed at which images and content are loaded (esp. during paging) makes it feel very snappy to use. I don't know why, but it "feels" even faster than the standard client.

comment 10y ago · link · parent

As far as beginners are concerned, that shouldn't really matter.

Hide all that complexity in a `./build.sh` or `make` and hand them a config and a README. The author of the article is a web designer with a slightly technical problem to solve. He didn't even need to know about gulp, or grunt, or webpack or babel. Those tools are (should be) as relevant to his domain as the tools used to manufacture the circuits that run them.

comment 10y ago · link · parent

I'm getting tired of these pointless non-specific rants. You could write an article about "How it feels to learn C++ in 2016" and make it all about the complexities of operating systems, linking, compilation, text editors and the QWERTY keyboard layout, and you'd still be as accurate.

All you need to "JavaScript in 2016" (as a beginner) is a config file and one or two commands. That's it. If that's too information or too hipstery for your taste, then follow the footsteps of other programming languages and use an IDE with a button that can hide that complexity for you.

comment 10y ago · link · parent

When "sprinkling Javascript" turns into "making sauce for the spaghetti you've been cooking", it's probably time to consider React or something similar.

comment 10y ago · link · parent

What do you mean?

Somebody wanted to write code in a particular way and extended the language with a couple of utilities for doing so, then decided to publish it for others to use.

I don't see the problem. Could you elaborate?

comment 10y ago · link · parent

Honest question: Why?

I don't understand why people inherently dislike Javascript (aside from, y'know, creepy ad networks).

comment 10y ago · link · parent

...but why do you want to access it by index?

Since you refuse to be more specific, it sounds like you're just not willing to learn the language and the way problems are solved with it.

Expecting mutable C-type arrays in elixir/erlang is like expecting classes and lambdas in an assembly language. It's just not a good fit for what the language was designed to do.

comment 10y ago · link · parent

I really like the ideas behind Matrix. Sure, the existing (open) clients aren't all that sexy, and synapse can be a bit slow sometimes. But implementing your own client is a breeze and bridging other networks through application services makes it incredibly powerful.

My experience with the matrix.org community has been very pleasant so far. Keep up the good work, folks!

comment 10y ago · link · parent

The "positive" things about the issue/pull request etc. is presumably already explained by the author.

"Issue 1234: We need this feature because reasons A, B and C."

If you don't think that A, B and C justifies the change, send a downvote and/or explain why A, B and C aren't good enough reasons.

An upvote is sufficient to say that "Yes, I agree with A, B and C. Do it."

Of course, if you agree with the change but for reasons other than A, B or C, you can leave a comment to start a discussion. It has nothing to do with culture. It's just a way to minimize the redundant "Yes, I agree with what you just said".

comment 11y ago · link · parent

Yeah I guess.

Still, I for one would be more than willing to pay a few extra bucks for a stripped-down version of the Pi with wireless included.

Actually, all I'm looking for in this type of machine is Linux, Wi-Fi and GPIO, in a reasonably compact format. Maybe the Pi isn't a good fit, since it is more about "teaching computing" than "building your IoT stuff".

comment 11y ago · link · parent

I don't see anything about Ethernet/Wi-Fi. Am I missing something?

I understand they had to cut some features to reduce the prize. But networking is such a fundamental requirement for these types of systems, you'd think that it would be the last feature to be excluded.