Better HN
topnewbestaskshowjobs
Log inSign up

comp_throw7

686 karma · joined Jan 11, 2021 (5y ago) · 278 submissions

Submissions

comment 4y ago · link · parent

In my experience, most people who complain about TS slowing down development are devs who've been working with pure JS for a while and haven't gotten over the (relatively brief) learning curve to adopt TS.

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 not a "couple" of unverified outliers for Citadel, it's like half of their offers in the last few months.

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

The original claim you were attempting to rebut:

> 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

Err, what? The company I work for (in the US) has like 13-14 paid holidays, and recently gave everyone an extra 3 days off right before the New Year. I think we probably have one or two more than average, but not by that much.

comment 4y ago · link · parent

It is actually a lot better. The hard part is getting into the US, not getting one of these jobs. People meme about practicing leetcode for months but the reality is you should be able to land an offer with no more than 50-100 hours of practice (sure, you might need to do more if you're not actually that strong, but FAANG literally employees 5%+ of the engineers in the country, their standards aren't _that_ high).

comment 4y ago · link · parent

Entry-level SWE comp for top-end finance shops in Chicago & NY is 400k+, so, ah, no. See levels.fyi.

comment 4y ago · link · parent

It is, if they're offering RSUs rather than options. With options there's no meaningful "current valuation" since they're granted with a strike price that should be equal to their last valuation, there's only a potential distribution of future outcomes based on expected multiples (incl. 0).

comment 4y ago · link · parent

Yeah, the story for handling thrown errors is much worse than it is in Java, and arguably worse than e.g. C#. But it's not a total loss:

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

There are a few alternatives not owned by either: eHarmony, Coffee Meet Bagel, etc. But not many, yeah.

comment 4y ago · link · parent

I'll grant that Rust could make a solid argument for itself with traits and such (though I haven't had a chance to use it myself). What's the five-second rundown on Dart's type system being better than Typescript's? I take a look every couple years and back in the day I remember thinking it was a solid alternative to C#/Java simply for its better null handling but Typescript solved that problem and many others besides.

comment 4y ago · link · parent

Yeah, Typescript is a complete no-brainer as a pick - even if you're only picking a backend language. The type system is better than anything this side of Haskell, while still letting you write boring imperative code without getting in your way for every little thing if you just need to pipe some data around.

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

This is not quite right. levels.fyi has data for all companies that have enough submissions. For historical reasons it has a lot of data from well-paying tech companies in SV, but it also has 167 data points for SWE compensation at Accenture (which is pretty far from the "best compensation" you can get).

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

Per levels.fyi, Uber pays senior engineers in the Netherlands ~180k/year. That's a difference of ~2x compared to the US, and is pretty much top-of-market for the region. If by "local market rates" you mean "slightly more than the best-paying native tech companies", then sure.

comment 4y ago · link · parent

One of your original claims was this:

> 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

Facebook, Amazon (mostly cash bonus first two years, but still "vests" monthly with no cliff), Uber, Lyft (every 3 months), Snapchat, etc. It's not all of them but it's an increasing number.

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

> 1. High total compensation (not salaries) is limited to FAANG/Unicorn employees (awash with money)

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 4y ago · link · parent

Equity compensation at places like Google vests monthly with no cliff, and it's taxed as income. You get what you see on the tin.

comment 4y ago · link · parent

Whether or not you use SO is almost immaterial; the real red flag is the fact that an organization wouldn't _let_ you use it.

comment 5y ago · link · parent

Check levels.fyi, not Glassdoor. Glassdoor systematically underreports compensation for a wide variety of reasons. (And is in general pretty inaccurate; Amazon is publicly known to have a base salary cap of 185k in high cost-of-living locations, and 160k elsewhere, with the rest of the compensation coming from bonus/stock.)

40th percentile compensation in the US is probably still much higher than in the EU, but you do you.

comment 5y ago · link · parent

10th percentile compensation for senior engineers in the US looks something like 350-400k/year. (At a rough guess, Amazon, Google, Facebook, and Apple employ 6-7% of the software engineers in the country, and there are enough other firms paying similar amounts of money that 10th percentile sounds about right.) This is with pretty great benefits, too.

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

Even if we assume for the sake of argument that that's true, I think that only enhances my point: there aren't enough engineers that these companies are willing to employ such that they would tip the scale on the supply/demand balance sheet and push compensation down (in real terms; obviously every additional marginal engineer pushes down compensation in counterfactual terms).

comment 5y ago · link · parent

I think this would be an interesting hypothesis to entertain if it wasn't already falsified by the observation that FAANG (& similar) pay much more than a 30% premium over the "median" tech job not just in the US, but in pretty much every market where they compete.

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

If the company's gone through a down round, it's very likely they took funding on unfavorable terms (i.e. worse than 1x liquidation preference), which makes it that much less likely your (non-preferred) equity would ever be worth anything. Take the cash offer (though, if you're in the US and have 4 years of experience, $120k is a bit of a joke too; you should be able to do substantially better even limiting yourself to full-remote companies).

comment 5y ago · link · parent

What exactly is the problem with a downpayment on a 350k (or, heck, 500k) unit? Obviously there are exceptional circumstances, e.g. you're supporting multiple people on your salary alone, which might make it difficult to save up 70-100k quickly.

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

If you filter all available data points to just those located in Ireland, you get 310.

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

Anyone can go look at compensation data for Google, Facebook, and Amazon on levels.fyi, filtering on "Ireland", and see that every single data point for senior engineers is 200k+.

comment 5y ago · link · parent

I mean, trivially speaking, the reason you might see a continued mismatch is that supply is only one factor - demand is the other. Increased compensation is a factor of both the size of the mismatch in supply and demand, as well as the willingness-to-pay on the demand side. Willingness-to-pay is largely a function of the returns on that kind of labor, which are much greater for software engineering than they are for other engineering disciplines, and those returns are increasing over time, not decreasing.

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

> the pay is so high because otherwise no-one would go work there

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

I agree that there is a small minority of elites in certain domains which would like to weaken or destroy Amazon (& those other listed companies) for a variety of reasons, and are exerting some effort into making that happen. I simply disagree with the characterization that this constitutes "popular support", especially when contrasted to the amount of popular support that would be mustered for imposing consequences on the individuals listed in the comment you're replying to for lying to Congress.

comment 5y ago · link · parent

From [3]: "Thirteen percent of respondents who were familiar with the brand had unfavorable opinions of Amazon, compared to just 9 percent in 2020."

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".

1
678910