Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amw-zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
571.
▲
by
amw-zero
6y ago
I would use the “smart constructor” pattern for this: https://draptik.github.io/posts/2020/02/10/fsharp-smart-cons... Things like that require runtime logic, there’s no way around that.
572.
▲
by
amw-zero
6y ago
This makes me think of the Von Neumann bottleneck. How much do you think our CPU designs are affecting the high level languages of today?
573.
▲
by
amw-zero
6y ago
This really just sums up human nature.
574.
▲
by
amw-zero
6y ago
There are a lot of “totally timeless” ideas, so lots of reasons to have paper books. There’s also nothing wrong with a book becoming outdated. A book is the most efficient way to transfer a large amount of information between two human mind
575.
▲
by
amw-zero
6y ago
How is create-react-app more ergonomic than "lein new"?
576.
▲
by
amw-zero
6y ago
This is one data point. Saying that that's all of the validation that we need for web technologies being the best way to make a UI is really only proof that statistical significance and science currently has no place in the software in
577.
▲
by
amw-zero
6y ago
I don't think he's harmful. I think you take the good with the bad with him. He's way too convicted to trust blindly, but he also talks about some great topics that aren't widely discussed. So, if you consider him the le
578.
▲
by
amw-zero
6y ago
Well, there are helpful code / design review comments that can't be automated. I totally agree that if it's a tiny issue, just let it go. There's only so much feedback people can hear and actually respond to. But there a
579.
▲
by
amw-zero
6y ago
I will definitely admit that those numbers are made up, more of a rhetorical technique. Numbers are important, I do agree.
580.
▲
by
amw-zero
6y ago
I think Swift does this too?
581.
▲
by
amw-zero
6y ago
You don’t agree with an idea so it’s silly? Passing around state via variables is no more tedious than the extra syntax for class definitions, constructors, member variable access, extra semantics related to objects, extra keywords related
582.
▲
by
amw-zero
6y ago
Why? You would never suggest this if OO wasn’t the predominant paradigm. What is the benefit of implicitly passing the parameter? I prefer to see it passed explicitly, so the implicit passing is a downside to me, not a benefit.
583.
▲
by
amw-zero
6y ago
You can’t imagine any reason to worry? At all? Worrying about the future of surgical technology is very different. The end goal of surgery is to save a life or improve the quality of life, and it involves restoring a single person back to w
584.
▲
by
amw-zero
6y ago
This is a limitation of C++, not functions.
585.
▲
by
amw-zero
6y ago
None of these situations require an object to do. You can always have a function that takes in an extra ‘state’ argument. You can then do everything you said by passing in the corresponding state values.
586.
▲
by
amw-zero
6y ago
This is the number one feature I look for in a language now. It’s hard to describe why value semantics are useful when thinking about a language as it exists today, since the language influences what we think is possible. But having records
587.
▲
by
amw-zero
6y ago
You only looked at the conversion of an Object to a Record. That’s really not the point of this. The point of introducing true records and tuples is to bring value semantics to JS for compound data types. It seems like if you create two rec
588.
▲
by
amw-zero
6y ago
Honest question. Are you fearful of the moral implications of AI? Whenever I hear someone that is fascinated about AI and only thinks about it as an intellectual pursuit, I’m curious if they are thinking at all about the consequences of pow
589.
▲
by
amw-zero
6y ago
Agreed. The one thing the Internet surely did was enable self-starters to have their fill of the entirety of human knowledge. But you have to have determination and patience. Some things might not make sense the first time you read them. I
590.
▲
by
amw-zero
6y ago
No, I actually was able to successfully negotiate a better position and higher salary after getting an offer from a different company.
591.
▲
by
amw-zero
6y ago
jQuery is not part of standard web development, it’s a library. You can also view vanilla Javascript as a library, just one that ships with the browser. Where is the distinction between too much abstraction and not enough? You’re not develo
592.
▲
by
amw-zero
6y ago
How is that different than any other distribution platform?
593.
▲
by
amw-zero
6y ago
Not the end users that I talk to and interview. So ‘complete myth’ just means that you have a strong opinion. It doesn’t mean it’s actually true.
594.
▲
by
amw-zero
6y ago
What about Google Sheets? It would be pretty strange to input a number into a cell and have the page refresh to perform a calculation no? Frankly I'm not sure how any application falls into the document paradigm. It was created for lin
595.
▲
by
amw-zero
6y ago
> The difficulty in getting people to download your app shows that This one I'm always interested in. What is difficult about downloading an app?
596.
▲
by
amw-zero
6y ago
Well, I think this is really hyperbolic. I think it depends on the application, and the consumer. And the web is a tremendous success. You should take a step back and look at how your entire life is affected by the web. It seems really, rea
597.
▲
by
amw-zero
6y ago
Why do you assume that it's just web designers? Have you ever shown a web app vs. a native app to someone who doesn't write code? Or just someone who has design sensibility? The lightbulb example is also not a good one. A lightbul
598.
▲
by
amw-zero
6y ago
Yes, people who don't have the ability to see won't care about flickering on the screen and the better user experience that a single page app affords to users who can see. Not even sure why you're making that point other than
599.
▲
by
amw-zero
6y ago
It's funny, your example actually shows the primary benefit of an SPA, and doesn't do anything to show any downsides. A progress bar is a perfect example. You can't show a progress bar with HTML. You would have clicked someth
600.
▲
by
amw-zero
6y ago
Well UX is of course subjective. I don’t agree with you at all. I use Gmail every day and I would call its user interface very successful.
More ›