Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MillenialMan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
MillenialMan
5y ago
My experience of Hacker News comments is not positive. They tend to be very convincing but actually kinda bullshit (or just vacuous), which is arguably a lot worse than communities that are transparent.
122.
▲
by
MillenialMan
5y ago
I feel like you didn't really engage with most of what I said. It sounds like you're repeating what you were taught as an undergraduate (I hope that doesn't come across as crass). I understand the standard justifications for
123.
▲
by
MillenialMan
5y ago
Let me try explaining a few ways: 1. --- You don't need to assert absence, the abstraction inherently ignores that which is left out, and the reader remains ignorant of it (that's the point, in fact). The abstraction asserts tha
124.
▲
by
MillenialMan
5y ago
It is both a waste of time and easy to game. The reason it's a waste of time is that it's easy to game, so some of your rivals will be gaming it. Which means you have to do it too, so it just becomes a dumb tax you pay every tim
125.
▲
by
MillenialMan
5y ago
These are interesting points, but they very much read like post-hoc rationalisations to me. Let me take a different tact, I want to try challenging some of the more fundamental assumptions. Do you really believe in the quality of Leetcode a
126.
▲
by
MillenialMan
5y ago
Ok, but companies do select based on Leetcode performance, in practice. It's the largest portion of the interview. It's useful as a filter, but it's treated as a benchmark. As evidenced by: > Personally I did double my i
127.
▲
by
MillenialMan
5y ago
Thank you. Your macro idea is interesting, but I definitely want to be able to defer to the compiler on things like this. I want my scope restrictions to also be a form of embedded test. Similar to typing. I wish more IDEs had the ability t
128.
▲
by
MillenialMan
5y ago
The biggest tell that Bob Martin isn't operating from direct experience and first principals is his 180 from object-oriented to functional programming. You don't get a dichotomy like that if you derived your opinions. The principa
129.
▲
by
MillenialMan
5y ago
It's not that it's unreasonable, it's that it's a bad criteria because it's so easy. In 40 hours, a college graduate can get to the point where they're outdoing, say, one of the principal architects of AlphaG
130.
▲
by
MillenialMan
5y ago
I'm not really convinced by this argument. Consistently improving your overall skills will lead you to outpace the competition significantly more in the long run than min-maxing, unless your industry is extremely bad at differentiating
131.
▲
by
MillenialMan
5y ago
I think this is the most plausible explanation too, but is this true in practice? I would have thought most talented programmers don't want to waste their time on leetcode, so it would primarily select for people who can't succeed
132.
▲
by
MillenialMan
5y ago
It's similar, but lambdas don't specify the behaviour as precisely, and they're not as readable since the use of a lambda implies a different intention, and the syntax that transforms them into a scope block is very subtle. T
133.
▲
by
MillenialMan
5y ago
Code should be written for debugability , not readability. I don't care if it takes someone 20 minutes to understand my algorithm, if when they understand it bugs become immediately obvious. Most simplification added to your code ob
134.
▲
by
MillenialMan
5y ago
My point was not just about performance - a lot of bugs come from the introduction of abstractions to increase readability, because the underlying algorithms are obscured. Humans are just not that good at reading algorithms. Transforming op
135.
▲
by
MillenialMan
5y ago
Code is not primarily written for other programmers. It's written for the computer, the primary purpose is to tell the computer what to do. Readability is desirable, but inherently secondary to that concern, and abstraction often inter
136.
▲
by
MillenialMan
5y ago
I posted this elsewhere in the thread, but local blocks that define which variables they read, mutate and export would IMO be a very good solution to this problem: (reads: var_1, var_2; mutates: var_3) { var_3 = var_1 + var_2
137.
▲
by
MillenialMan
5y ago
The problem being solved here is just scope, not re-usability. Functions are a bad solution because they force non-locality. A better way to solve this would be local scope blocks, /that define their dependencies. E.g. something like:
138.
▲
by
MillenialMan
5y ago
I don't think they're fighting because they hold differing misconceptions. Politics is a bar fight, you won't change people's minds by giving them information because it's not about information. If it was, then the
139.
▲
by
MillenialMan
5y ago
I have a fun conspiracy theory that the variety of emojis is a subtle plot to increase the barrier to entry against smaller companies. Now they have to invest in a much larger number of graphics to create unique set, which encourages them t
140.
▲
by
MillenialMan
5y ago
Worth noting that ignoring the stated justification, Coinbase offered their workforce the limited-time voluntary severance package that was a lot more generous than normal. So it's hard to say how many of those that left did so for pol
141.
▲
by
MillenialMan
5y ago
I don't like doing that because I don't like to lie.