1,487 karma · joined Dec 5, 2016 (9y ago) · 1,191 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
I get that and that's part of the point of my comment. That these screeds always make sure to mention javascript because by bundling javascript in the screed you get default acceptance from the JS haters.
But the fundamental essence of the article is about complaining about SPAs. Which betrays a striking ignorance of what most frontend web software engineers are working on. They are not working on websites for businesses that only need a single form and an email to get the form responses. That usecase is solved and does not require a software engineer. It can be built on wordpress or squarespace.
SPAs are the answer to the question of how do we build an app that is delivered in real time over an internet connection.
The reason these apps are built with JS is because until relatively recently it was the only option. Why is it still used while there are other options? Because WASM is not mature and JS is still faster and there is no killer reason to switch off it.
comment 3y ago · link · parent
Before someone qualifies my post with "ackshually I do this thing", yes I read blogs too.
That being said, NOBODY READS BLOGS. People don't want static html and css. They want real time updates, they want notifications, they want gamification. They want to play the slot machine.
So while you want to shit on javascript (it's fun to bundle in the shit language javascript when going on these tirades because everyone fucking hates javascript). The problem is not javascript. The problem is, we want real fucking apps, with interactivity, and we want them instantly, over an internet connection.
I want to play chess in my browser over an internet connection. And when chess 2.0. comes out I better have that shit in my browser in under 100ms.
Oh, and sure JS is shit. But if we were using Rust for our UIs we'd have the same problem. The most prominent Rust web UI frameworks are literal React and SolidJs clones.
And JS will be replaced, but we don't have a good enough garbage collected language for it yet.
edit: Can you even think of a modern business that could be just served by just html and css. Like what? A restaurant? Is that what we really think the average software engineer is working on? Restaurant websites?
comment 3y ago · link · parent
comment 3y ago · link · parent
This is not true but will be at some point.
> And unlike life, in poker there's no risk in making bad decisions during the game while you're still learning
You haven't met most poker players, they almost all start playing with real money before they even have a clue. What make s poker a truly terrifying game is that you can win a lot while making all the wrong decisions and get hooked for life while being a terrible player.
> Worst case scenario you just start a new game until you get the hang of it. Life is not like that. There's no practice run, and when you make what turns out to be the wrong decision it can follow you around for the rest of your life.
Yes, there are many unfortunate people that have made life altering decisions while young and the decisions follow them forever. Thankfully not all failures in life hold such dire consequences, in fact some failures seem like the end of the world but in reality the consequences are not as big as you expect (eg getting fired from your first job or failing an exam).
comment 3y ago · link · parent
Why do you model life as a single bet where you have a 1 or 2% chance of winning? In reality you are making bets every day, each with a range of odds of succeeding and each success can produce a range of outcomes.
Look at poker, a game that has a massive "luck" component, people still consistently win.
comment 3y ago · link · parent
You have a finite number of bets you can make in your life, if you waste them by partying, gambling and being high on drugs then yeah, I can see how it can feel like it's impossible to succeed.
And life is a lot easier than these board games, there isn't one winner in life.
comment 3y ago · link · parent
It's not a lottery game, it's a poker game (and in reality, it's much easier than poker because the economy is positive sum and poker is zero sum). If you only consider "wealthy" to be people who have made billions or hundreds of millions then it's a lottery. But someone that consistently makes decisions that maximize expected monetary gain can consistently become a "rich" person if our definition of rich is have more than $10million.
(Poker is negative sum if you are playing in a raked game)
comment 3y ago · link · parent
The entire concept of developing the same app multiple times for different platforms is just so mind numbingly dumb. 3x the engineering team, 3 different platforms with all their different idiosyncrasies. The impossibility of maintaining feature parity across all three platforms. 3x the testing and debugging.
26.
Ask HN: Why is Roblox allowed on the iOS app store?
11 points · by friedman23 · 3y ago · 3 comments
comment 3y ago · link · parent
Life does not work like this, the world isn't about "should" it's about "is" and "can".
So if you create something that makes the company 10% more money, at best you can expect a promotion and a small one time bonus that is a fraction of a percent of that 10% recurring revenue growth you just generated for the company you work for.
That is the best scenario. The alternate scenario is verbal recognition with 0 reward and if you work in a truly dysfunctional organization you can expect outright retaliation at some small frequency.