Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amw-zero
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
601.
▲
by
amw-zero
6y ago
That’s ok. You should have the option to use that UX. I can tell you that any non-programmer on the planet would ever choose that UX over the “app-like” feel. I think we forget that most users are not programmers way too often.
602.
▲
by
amw-zero
6y ago
“Let the page refresh” translates to a terrible UX. It devalues the application. It’s equivalent to buying a physical product, say a car, but the car jerks up and down whenever you hit the gas, and you hit your head on the roof every time.
603.
▲
by
amw-zero
6y ago
You can’t compare the UI of a web page built in this way to an SPA or a native client. Re-rendering an entire page on every interaction is strategically never going to get you the same experience. I understand wanting to be a browser purist
604.
▲
by
amw-zero
6y ago
I agree with the sentiment of what you're saying, but I don't agree with the premise that there are no use cases for single page apps. You can achieve a decent UX for some applications by using small amounts of vanilla JS, but it&
605.
▲
by
amw-zero
6y ago
We should create a better division in web standards between the "document web" and the "application web." I think there are valid use cases to both, and we shouldn't rule out either. Wikipedia has to be the greatest
606.
▲
by
amw-zero
6y ago
I wish I could upvote this 10 times. The Silicon Valley meme of some companies is too real. I only work for companies with a practical business model that I think has an actual chance of making money. It seems strange to have to stress that
607.
▲
by
amw-zero
7y ago
I've started to agree with this view of the test pyramid as well. This is a great video overall, but here's a part where Aslak Hellesoy (creator of Cucumber) is talking about how a better way to think about the test pyramid is as
608.
▲
by
amw-zero
7y ago
Hitting a database in tests is an order of magnitude slower and also involves worrying about a lot more code, i.e. the database engine. You may or may not want to take on that burden.
609.
▲
by
amw-zero
7y ago
What I got out of the article was that, in unit tests, you should stub the response of a database query. However, you shouldn't directly assert that some database API method is called, because that is one additional level of coupling.
610.
▲
by
amw-zero
7y ago
Sounds like that’s a complete facade though. Plenty of people are overly polite because it inflates their ego to be perceived as polite. And the article isn’t talking about politeness so much as openness. Which, the Elm team seems very very
611.
▲
by
amw-zero
7y ago
Jordan Walke, the creator of Reason (also the creator of React) said that syntax is unfortunately very important, because psychologically people want something familiar. I think syntax is totally superficial, but I’m also a human who intera
612.
▲
by
amw-zero
7y ago
Interesting perspective on spec since I find it very well designed, very consistent, and very useful. What isn’t well thought out about it?
613.
▲
by
amw-zero
7y ago
You can go an entire lifetime without ever even knowing about GADTs. I don’t find their absence limiting at all.
614.
▲
by
amw-zero
7y ago
I should have said “commercial airplanes are among the most important and critical things that use software.” It’s obviously difficult to determine the objective most important use case.
615.
▲
by
amw-zero
7y ago
And how many people know Ada vs. C? Orders of magnitude more right? I think that’s the problem here - it’s important to analyze orders of magnitude accurately. C isn’t a little more conservative than Rust or Ada. It is orders of magnitude m
616.
▲
by
amw-zero
7y ago
You’ll find that for very serious, industrial applications, a conservative mindset prevails. C may not be trendy at the moment, but it powers the computing world. Its shortcomings are also extremely well known and also statically analyzable
617.
▲
by
amw-zero
7y ago
Interesting, I think the opposite. Of course there’s the bare minimum needed to execute properly, but past that I think the idea and market are much more important in the long run. For example, if the TAM isn’t there, you can execute as wel
618.
▲
by
amw-zero
7y ago
HTML is not enough. It’s why templating languages / libraries were invented, and it’s why SPA’s are so popular. There’s a difference between “sites” and applications. The web has been trending toward supporting applications more and mo
619.
▲
by
amw-zero
7y ago
You hit the nail on the head. At this point I’ve done about equal amounts of time building native apps and web apps. I’m very fortunate in that I don’t have to “pick a side” because I understand the strengths of both platforms and I try and
620.
▲
by
amw-zero
7y ago
Monad is a design pattern.
621.
▲
by
amw-zero
7y ago
The best way to tell if someone has no idea what they’re talking about and are just mindlessly repeating other ideas is when they say the phrase “easier to reason about.” It appears in thousands of talks and blog posts. It’s completely subj
622.
▲
by
amw-zero
7y ago
Having a smaller amount of data structures makes the whole graph of code more comparable. Creating a bespoke data structure for 10 different elements of a problem means writing quite a lot of code just to orchestrate each individual structu
623.
▲
by
amw-zero
7y ago
Data-oriented programming in games is a completely different concept though. It’s about designing your data to be able to be operated on very efficiently with modern computer hardware. It speeds up a lot of the number crunching that goes on
624.
▲
by
amw-zero
7y ago
I can’t agree with you. Inconsistent UI is not what users want at all. I hear them complain about it all the time.
625.
▲
by
amw-zero
7y ago
Except you end up needing platform specific code with React Native anyway. Cross-platform toolkits don’t actually work in practice.
626.
▲
by
amw-zero
7y ago
You don’t want to write the predominate amount of app logic in C++. I’ve been there. The portability isn’t worth it.
627.
▲
by
amw-zero
7y ago
It’s not built into any frontend web framework by default that I know of. It’s the default approach on Android on iOS.
628.
▲
by
amw-zero
7y ago
I do get that, but one is bad for developers and the other is bad for users. It’s up to you to decide which is more important for your project. Most projects I’ve worked on, the user experience was more important to the business, in which c
629.
▲
by
amw-zero
7y ago
This is a very great point that I’d like to highlight. The main problem with languages of today is shared mutable state. It’s the default in every major language, and it is the wrong default because of the inherent complexity it brings. You
630.
▲
by
amw-zero
7y ago
I don’t think the ad part is the biggest influencer in the lack of ability for a website to degrade into a less styled form. I think the bigger factor is that people are also designing applications that run in the browser, and those make le
More ›