Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Tainnor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
961.
▲
by
Tainnor
3y ago
Its location in the codebase isn't.
962.
▲
by
Tainnor
3y ago
"Over-engineered cathedrals" aren't what I mean by "good, proper design". I hate huge, messy meta-frameworks where everything happens implicitly and you can debug nothing. But I hate piles of ad-hoc code where every
963.
▲
by
Tainnor
3y ago
> Are we reading the same article? There is zero concern for syntax. By "syntactical" I mean "concerned with the surface level appearance of low-level code structure". > Yes, and that's good, because it keeps
964.
▲
by
Tainnor
3y ago
No, I did understand the point the author was making. I just think it's a weak one.
965.
▲
by
Tainnor
3y ago
Yes, this is what I was talking about. Debating which function should include an "if" condition seems rather immaterial to me.
966.
▲
by
Tainnor
3y ago
But the article wasn't about "validate inputs at the boundaries" (which is a semantic concern), it was about "push your ifs up" (which is a syntactic concern). I agree that in the provided example, those two seem to
967.
▲
by
Tainnor
3y ago
The more experience I get, the more I feel that too many programmers worry about making things pretty "in the small", but not enough care about proper design of an entire codebase. I'll admit that I like a concise and well-cr
968.
▲
by
Tainnor
3y ago
Same. Even for technologies that it supposedly should know a lot about (e.g. Kafka), if I prompt it for something slightly non-standard, it just makes up things that aren't supported or is otherwise unhelpful. The one time I've fo
969.
▲
by
Tainnor
3y ago
I agree that this is achievable but it seems to contradict your original assertion. Mocking out other services doesn't give you the same assurances as end to end testing the whole stack. To me it's a classic tradeoff: the more you
970.
▲
by
Tainnor
3y ago
Distributed systems automatically bring challenges that makes it very hard to create reliable test suites. You can reduce the flakey-ness, but I don't think you can ever completely eliminate it. Beyond that, you haven't addressed
971.
▲
by
Tainnor
3y ago
> Also all (most) mathematics is not P=?NP level stuff. The list of open mathematical problems is as varied as it is vast. But even going beyond that, it's clearly evident (e.g. by considering drop-out rates of technical degrees) th
972.
▲
by
Tainnor
3y ago
Having been in the industry for 10 years, I would agree that after a certain point, your personal opinions about code style tend to change less and become more consistent, but I still run into enough other people that also have a lot of exp
973.
▲
by
Tainnor
3y ago
Don't you see the issue with claiming that "mathematics is shallow and simplistic", but then not being able to follow up on that claim by actually solving one of the most famous open mathematical problems? If it were shallow
974.
▲
by
Tainnor
3y ago
> Would also emphasize that while unit testing is often useful for the individual developer working on a piece of code, but as far as ROI, end-to-end integration testing has the most bang for the buck. If you have the full endpoint teste
975.
▲
by
Tainnor
3y ago
As somebody living in Berlin, this sounds exactly like something our authorities would do.
976.
▲
by
Tainnor
3y ago
Oh yes, I totally agree. Some things that I used to write, I would find insane now. But it doesn't make the problem any less real. At my current job, I think our tests are really bad because they mostly don't test what really matt
977.
▲
by
Tainnor
3y ago
Or when you remove some "unused" code, only to find out that it was somehow used by reflection and your IDE can't even figure that out because the framework you're using was discontinued in 2010. Also of course, there&#x
978.
▲
by
Tainnor
3y ago
> Formal systems like [...] mathematics [...] do depend on a certain style of thinking, but I don't think it's especially hard or deep. I'm awaiting your proof on whether P is equal to NP.
979.
▲
by
Tainnor
3y ago
I think the problem is that, while most people agree that badly factored code that drags down productivity is a problem, people can't agree on how to make it better. So, discussions about code quality get mired in subjectivity, often p
980.
▲
by
Tainnor
3y ago
Not GP, but I once asked my engineering colleagues if I was the only one who doesn't pay attention in the bi-weekly all-hands because most of the information is irrelevant to me (e.g. what new marketing strategies we're using). So
981.
▲
by
Tainnor
3y ago
Thinking that racism has to do (only) with skin colour is a typical American misconception. Hitler considered the Slavs the be a "race" (an inferior one that ought to be enslaved).
982.
▲
by
Tainnor
3y ago
> We didn't say "never again" after millions of people died in world wars. We did, that's why the League of Nations, the UN and the EU were created. I'm not saying we're doing an incredibly good job, but at
983.
▲
by
Tainnor
3y ago
It's entirely subjective. For me, most Linux UIs have a charm that I'm not seeing in Apple or Microsoft UIs. Those are often "too clean" or "too polished" for me. I'm not saying that font issues shouldn&#x
984.
▲
by
Tainnor
3y ago
Java was pushed onto universities, so of course what people are familiar with is what Java decided to support. I don't think that it's any harder for people to learn about algebraic data types than it to learn about inheritance, g
985.
▲
by
Tainnor
3y ago
You're misattributing cause and effect. Some programmers aren't "ready" for keyword params, proper FP, etc. because Java decided not to include these things, even though languages that were much older, such as Smalltalk,
986.
▲
by
Tainnor
3y ago
I don't think it's fair to couch this in terms of opposition to "breakneck speed" language development. Even when Java was created, many languages supported FP, but Java chose not to. They had to retrofit it in many year
987.
▲
by
Tainnor
3y ago
LISP has had higher order functions from day 1. Even Java's big rival at the time, Smalltalk, had them. Yet, they were only added to Java in 2014. I think that Java suffers from NIH syndrome. Nothing that other languages do is good eno
988.
▲
by
Tainnor
3y ago
I also experience weird 404 errors.
989.
▲
by
Tainnor
3y ago
And in Weimar Germany, there were violent street clashes between Nazis, Communists and the Police, as well as assassinations, attempted coups, etc.
990.
▲
by
Tainnor
3y ago
Node 12? That's cute. We have an application that runs on Java 6 .
More ›