686 karma · joined Jan 11, 2021 (5y ago) · 278 submissions
comment 4y ago · link · parent
Migrations, however, are always painful:
1) You're going to end up writing code that ends up being difficult to type later; to the extent that you and every single other developer on the team is disciplined enough to avoid that, you may as well adopt the typing ahead of time
2) The support & tooling for managing "halfway" migrated JS -> TS projects "exists", but is obviously inferior to just "buying in" all the way
If you haven't put in a huge amount of work yet, I'd strongly suggest pivoting to Typescript ASAP. I don't know how Vue handles it but it performs beautifully for React.
comment 4y ago · link · parent
It's also baseline entry-level comp at Jane Street, and Hudson River Trading goes even higher.
First-year bonuses are generally guaranteed, and after that are "speculative" in the same way that stock compensation is speculative - largely dependent on firm performance (though personal performance can actually pull it them significantly in finance, unlike with stock).
I didn't say this was the majority of devs, I said this was entry-level comp for "top-end finance shops", which is true. It is also true that there are competitors in that space which pay much less, just like there are tech companies which pay much less FAANG & Co, but does not mean that FAANG & Co don't exist or shouldn't be relevant to people's decision-making.
comment 4y ago · link · parent
> If you are in your 20's, it is totally worth moving to the US where you can get paid 500K+ per year if you navigate your career efficiently.
I don't want to say that it's "easy" to hit numbers in this ballpark as a senior engineer in the US, but the way to do it is relatively straightforward and doesn't require any particularly unusual skills, connections, knowledge, etc.
1) There is a set of companies which pay that kind of money
2) Those companies employ a non-trivial percentage of the software engineers in the country
3) Those companies are _always hiring_ more software engineers at those levels
4) The interview processes for those companies are public and quite similar
Obviously nobody is guaranteed to get a job paying that well at one of those companies. Some people simply won't be able to clear the bar (either technically or socially). But the bar is not "one in a thousand". These companies already employ something like 8-10% of the software engineers in the country, so "one in ten" is a hard _upper bound" on how strict they are (and obviously, since their selection process isn't perfect and they don't in fact have every single 10%ile engineer or better locked up, the bar is lower, probably much lower).
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
1) 99.9%+ of the time, it'll be an instance of `Error` or some child class.
2) There's a recent compiler flag that's been added which defaults caught errors to `unknown` rather than `any`.
3) You still have access to the same tools to inspect unknown errors as you do everything else - `instanceof`, checking the presence/absence of properties, etc.
It's not great but it's something.
I would actually say the propensity of libraries to use exceptions as control flow and then _fail to document anything about those totally expected outcomes_ is a much bigger headache; that truly is an artifact of its JS inheritance.
comment 4y ago · link · parent
comment 4y ago · link · parent
Performance is really not an issue unless you're doing very CPU-intensive work which you can't offload to a native library for some reason, or you need to scale vertically rather than horizontally (which is even rarer). Compute cost only really starts being a worthwhile optimization target at the "hundreds of billions of requests per day" level, and even then you're not gonna see much of an improvement from moving to Java unless you're actually very good at tuning threadpools (and it might still not be enough of a win compared to whatever else your developers could be doing with that time).
comment 4y ago · link · parent
The median on levels.fyi is probably higher than the true median, because well-paying companies are overrepresented (people who work at those companies tend to be more plugged in, etc), but most companies that have a sufficiently large number of developers will have enough data points listed that you can get useful information out of it. Heck, there's 69 data points for SWE comp at Nordstrom!
comment 4y ago · link · parent
comment 4y ago · link · parent
> You can leave a job (by choice or otherwise) where you worked for a year and were making "1 million a year" with less than $300k in total compensation.
For the purposes of discussing compensation at FAANG & similar, this is basically untrue. If you work at those companies for a year you'll take home (short of a massive movement in stock price) something approximately resembling what was promised to you. Taxes do not change the equation on this, since vested RSUs are taxed as income (_not_ short-term gains; them being the same rate is irrelevant - they are in fact just reported as income on your W2, without being broken out from your salary, it's literally one number). AMT applies regardless of whether your income is derived from vested RSUs or base salary - if you work at Netflix you're probably getting hit too. I don't see how state income taxes are relevant, since, again, those apply exactly the same way to RSUs as they do to salary.
> Ultimately, any compensation number that rolls all of this up into one number is mostly useless for actually knowing how much money you’ll have in N years
Uh, no? You can straightforwardly project your take-home pay over time; if you want to be really precise you can do it as a probability density function to take into account the potential movement of the stock price over time based on the volatility.
This is all a bit of a distraction from your main point:
> I'm sure some people actually enjoy the full benefits of what they're promised, but I'd be surprised if that's a majority.
Untrue! Obviously, trivially untrue, as demonstrated above.
comment 4y ago · link · parent
Also, even with a 1-year cliff, for most people it'll still basically be indistinguishable from cash? Leaving (or getting fired) before you hit the 1 year mark is pretty rare, and after the first cliff it usually transitions to something like every 3 months.
comment 4y ago · link · parent
Very nearly every publicly-traded tech company, actually. The list of "tech" companies where mid-level engineers aren't breaking 200k TC is much shorter than the opposite.
> 2. That high compensation has been achieved by stock options multiplying in value, thanks to abnormal run of the stock market (thank you Federal Reserve), which is not going to continue with rising interest rates
Initial offers have been increasing; we aren't talking about golden handcuffs that employees have from stock growth. To give a very recent example: Amazon recently bumped up their pay-band for mid-level engineers and they seem to be hitting 350k/year (maybe more; have seen a couple reports of 400k). Their mid-level pay-band previously topped out at ~300k/year.
> 3. Salary base seems to be stuck at $150K for mid-senior developers in bigger cities (except for NYC) for many years now
...you mean "except the Bay Area", right? Though it's definitely not true either way; I live in a large city that isn't in the Bay, Seattle, or NYC, and 180k is a pretty common number for senior engineer base salaries, and I see 200k+ more and more frequently. (Not that I care too much about just base; given the choice why would I work for a company that only pays base salary, i.e. ~half of what other companies pay?)
comment 5y ago · link · parent
40th percentile compensation in the US is probably still much higher than in the EU, but you do you.
comment 5y ago · link · parent
I'm pretty happy with the trade-off w.r.t. freedom of association where a business can fire me for ~any reason at any moment, and likewise I can go and get a new job paying mind-bogglingly huge amounts of money with minimal friction. (No amount of "worker rights" will save you if the company employing you goes under, like so many did in the dot com era.)
comment 5y ago · link · parent
comment 5y ago · link · parent
An instructive example would be India: TC for senior engineers at Google, Amazon, Uber, etc is already north of $150k there. Note that this is _already higher_ than the median tech salary _in the US_. Meanwhile there are still places in India paying new grads $10k.
You see something similar in Ukraine, where 40-50k was a reasonable rate for senior engineers, and then Lyft enters the market and starts giving seniors 6-figures.
I think the answer, as always, is that there are just not enough sufficiently talented & qualified engineers, even taking into account the global talent pool, to balance the rapidly increasing demand for those engineers. If it was just one or two companies paying this level of outsized compensation I'd be skeptical of the long-term trend, but it's not - this is pretty much all modern tech companies, because the unit economics of software businesses make good developers extremely valuable.
I was curious what the story looked like for South America, and, hey, turns out these tech companies already pay 6-figures there too. Heck, Coinbase is offering _mid-level_ engineers in Brazil 6-figures for remote roles.
comment 5y ago · link · parent
comment 5y ago · link · parent
But if you're single, your annual after-tax take-home is ~95k, assuming you max out your 401k contribution, and ~110k, assuming you don't contribute at all. Saving 50% of that does not even require living particularly frugally. That gets you to the top-end of the required down payment in 2 years.
comment 5y ago · link · parent
I was speaking specifically of senior engineers at Google, Facebook, and Amazon (which are the only FAANGs to have meaningful presence in Ireland), because that was the context I was replying to.
comment 5y ago · link · parent
And, like... we _do_ see that the growth in CS degrees granted (broadly speaking - the most granular data I could find is "Computer and information sciences") does slightly outpace other the growth in other Engineering degrees: https://nces.ed.gov/programs/digest/d20/tables/dt20_322.10.a...
CS/CIS went from 43,066 in 2010-11 to 88,633 in 2018-19, while Engineering went from 76,356 to 126,687 over the same time period. ~106% increase vs ~66% increase. Of course, degrees granted are a lagging indicator; if you graduated in 18-19 you didn't start later than 14-15. It's possible that the rate of increased enrollment in CS has continued to itself increase, since compensation really only obviously went on a tear a couple years after that. Nonetheless I'm very bullish on the 5-10 year outlook for SWE compensation, to the extent that it's reasonable to make predictions that far out in the future.
comment 5y ago · link · parent
This is a meme; every other tech company that's remotely competitive in terms of compensation pays similarly at the corresponding levels (across the entire ladder). Even if you want to rule out every single social network and ad-tech company (which is also a meme, but for the sake of argument), you've got plenty of uncontroversial options like Netflix, Roblox, Doordash, Dropbox, Square, Snowflake, etc. Also a ton of late-stage pre-IPO startups (Stripe, Instacart, Databricks, etc.)
comment 5y ago · link · parent
comment 5y ago · link · parent
That does _not_ sound like "popular support for skewering"! That sounds like "Amazon is one of the most popular, well-liked, and trusted organizations in the world".