Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nendroid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
91.
▲
by
nendroid
6y ago
The fermi paradox isn't even a real paradox. We don't have enough information on how likely or unlikely life is to occur because we haven't even been able to replicated it yet. It could be that life is so unlikely that it we&
92.
▲
by
nendroid
6y ago
I disagree with a lot of this. I feel these are minor minor complaints. You hear this kind of stuff for lisp too. For example, keeping track of parens is just as annoying as keeping track of indentation. Also the migration from python 2 to
93.
▲
by
nendroid
6y ago
He used javascript so he's probably talking about composition without type checking. But yes more important then just composition is to use combinators and segregate your combinators from IO.
94.
▲
by
nendroid
6y ago
There's a lot to complain about for python. But I see genuine hate. People, groups and companies who literally refuse to use it. I had an interviewer tell me that I couldn't code up the solution in python. I think it might be beca
95.
▲
by
nendroid
6y ago
What's with the hate for python. I've noticed some hate this irl and it's strange. Python is one of the best languages out there right now in terms of ease of use and future maintainability (with types).
96.
▲
by
nendroid
6y ago
"let" is still english. "let x =" is short for "let x equal"
97.
▲
by
nendroid
6y ago
>That's not the only thing. It's also how fast they can read/understand the program code. What are you doing? Speed reading? Even 2xing the reading time with verbosity is not a factor if lack of verbosity forces the reader
98.
▲
by
nendroid
6y ago
Man of course there are english passages that are too verbose to read. Everyone knows this. This is not what I'm talking about. I am saying the level of NORMAL verbosity in the english language is already illogically considered to be t
99.
▲
by
nendroid
6y ago
No. You missed the point. You're not a stupid person so you being not stupid knows that I and pretty much everyone on the face of this earth knows that we all are aware that no one understands ALL of learning. So if you're not stu
100.
▲
by
nendroid
6y ago
No you misunderstood me. I'm saying the normal level of verbosity in english when applied to code is considered to be over verbose. I'm not even talking about areas where there is domain expertise. There's no need to spell ou
101.
▲
by
nendroid
6y ago
But if the structure is unused and my program only deals with a single integer does it make sense to modify the structure of the program for readability? No. If my program only modifies the left bottom side of the box it doesn't need t
102.
▲
by
nendroid
6y ago
I use the word "english" but really my argument is language agnostic. Choose the language relative to the audience is my moto. >I have in my day job some code we got from Korea. I'm told by those who have spent the time to
103.
▲
by
nendroid
6y ago
struct BoxDimensions { topLeft, topRight, bottomLeft, bottomRight } I agree it is a better name. My version was deliberately designed to hurt your eyes to show you that the pain is just psychological. There is no intrins
104.
▲
by
nendroid
6y ago
>I can only quote Lutwid Wittgenstein: "The limits of my language mean the limits of my world" Except I don't see how a quotation proves anything or how this is relevant. First off is Lutwid correct? Can you think of thing
105.
▲
by
nendroid
6y ago
:) A better phrase is "Learning isn't coming up with new analogies for concepts you already more or less understand over and over again." Happy? does that satisfy your overly pedantic mind?
106.
▲
by
nendroid
6y ago
>I can just as well argue that long rambling variable names are unreadable, because they obscure the macro-level structure of the code and the continuous repetition creates extra cognitive load ("is this really the same variable as
107.
▲
by
nendroid
6y ago
>Thus said I would find the other example an ominous sign on the code architecture. I would be more at ease to find a line like : That's just your bias kicking in. I didn't define the requirements of the program. If I defined t
108.
▲
by
nendroid
6y ago
What's wrong with flat data? Why is nested data better than flat data? If you think about it, there's really nothing wrong with either. The only reason you would want to structure your data like that is if you want to think about
109.
▲
by
nendroid
6y ago
>Look at how many much useless text we have here. "measurementOf" and "SideOfBox" add nothing but clutter to the naming, and writing out practically the same thing 4 times suggests we could abstract this into a data s
110.
▲
by
nendroid
6y ago
Unfortunately for your argument, it actually is completely true. You're thinking about it the wrong way, an analogy to english doesn't prove your point when the analogy is irrelevant. Sure there's advanced vocabulary in Engli
111.
▲
by
nendroid
6y ago
>By analogy, plenty of people find reading Homer, Shakespeare, or Nabokov difficult and challenging, but we don’t say “Macbeth is unreadable.” We understand that the problem lies with the reader. Why does the responsibility Have to be so
112.
▲
by
nendroid
6y ago
This isn't really a learning technique. It's an analogy on learning. Every other day there's some blog post on HN about some analogy on some self improvement topic like learning, project management or complexity or whatever..
113.
▲
by
nendroid
6y ago
Is this on the front page because a ton of programmers have diabetes? Is this more common among programmers?
114.
▲
by
nendroid
6y ago
>In the first couple weeks of working on their own startup they seem to come to life, because finally they're working the way people are meant to. People aren't designed to be programming either. People aren't designed to
115.
▲
by
nendroid
6y ago
>Hence why i say why there is a data model mismatch. There is no data mismatch if the data model is richer, than it can cover it. Unless you're saying SQL is not rich enough to cover the PL. Well you can implement a database that do
116.
▲
by
nendroid
6y ago
No. Get yourself straight and reread my post. The full post is saying that the interpretation of what you see is NO DIFFERENT from an alternate universe. I am not saying this is actually what's going on. All reflections on all surfaces
117.
▲
by
nendroid
6y ago
Some detail here. What goes on in relational algebra is that the FROMCLAUSE is encoded into an axiomatic primitive called a RELATION and you get stuff like this: SELECTCLAUSE(WHERECLAUSE(relation)) = relation WHERECLAUSE(SELECTCLAUS
118.
▲
by
nendroid
6y ago
That's a hack. The where clause itself is not decomposable. But if you made every where clause a single function taking in multiple parameters than yes that function is composable but you're taking extra steps to do a non-traditi
119.
▲
by
nendroid
6y ago
>The lack of really natural integration into modern day programming languages (and data model mismatches) is a much bigger issue imo The SQL data types consist of a few primitives like ints strings and chars placed in higher order data t
120.
▲
by
nendroid
6y ago
"attributes" are "generic" properties of relations. So for example the union operator can take two different relations that have the same columns but different rows and create a new relation. In this binary operation tha
More ›