25 karma · joined October 21, 2022
You can refer to https://www.bls.gov/ooh/computer-and-information-technology/..., or https://www.bls.gov/ooh/computer-and-information-technology/... - those people are all in tech, and most aren't new grads. Median salaries for "computer programmers" and "software developers" are 91K and 107K respectively.
[~] $ cat main.go
package main
import "fmt"
func main() {
x := []int{1, 2}
append(x, 3)
fmt.Println(x)
}
[~] $ go run main.go
# command-line-arguments
./main.go:7:2: append(x, 3) (value of type []int) is not used
and if you assign the result of the append to something else, x is unchanged.This article has a quote from a California Lottery spokesman saying 138 people won a million+ in 2021: https://patch.com/california/orange-county/californias-top-1....
This article also from 2021 estimates 7000+ millionaires from 35 bay area IPOs that year: https://www.nytimes.com/2021/03/08/technology/silicon-valley...
When you factor in the number of lottery tickets sold each year vs the number of people working for startups, and the fact that at a startup you do have at least some degree of control over the outcome (that's part of the reason you would take the job), it seems like the lottery comparison is pretty far from correct in reality.
I think if you were going to do SQL over you would probably do it that way. SQL is definitely not perfect or optimal, just ubiquitous.