2,387 karma · joined Sep 6, 2020 (6y ago) · 638 submissions
comment 5y ago · link · parent
IMO C# is picking up a lot of small things that make it incrementally better than it was before, and at some point it's not worth the hassle to go to F#. F# features are gradually added to C# so C# developers have time to pick them up as well.
I've heard of F# only projects doing great, but I think you need to have a team committed to doing F#. Back when I was into Clojure they had this mantra of "add Clojure to your work projects as a library and pretend it's just this small thing you used to solve some problem because it's all on JVM and Java compatible and then keep expanding on it" - I think this turns out terrible in practice.
comment 5y ago · link · parent
Hydrogen sounds useful for commercial vehicles where you can plan routes and stay close to pumps (eg. delivery, bus, etc.) Sounds horrible for personal vehicles.
I can see Japan investing in it - you are unlikely to travel out of country with your car.
comment 5y ago · link · parent
I would guess that even with the engine you would take some games to rank up to that high so if chess.com is good at banning cheaters most of them would probably get caught sooner.
comment 5y ago · link · parent
IMO TypeScript is VSCode strongest use case - I would use VS code over VisualStudio for example on C# projects when I had to edit fronted parts - it was so much better. IntelliJ TS stuff is the only thing that comes close/is on par maybe and I'm a happy camper in that ecosystem for the last few years.
None of the LSP plugins I've tried with neovim worked nearly as well as they do in VSCode (the few times I tried to spin it up for old times sake).
comment 5y ago · link · parent
I do agree on the debugging aspect - especially in dynamic languages - metaprogramming stack traces can be really hard to follow.
comment 5y ago · link · parent
For example I think F# idea of type providers > code generators.
comment 5y ago · link · parent
Just the other day someone on copilot threads was arguing that this kind of boilerplate optimizes for readability... It's like Java Stockholm syndrome and the old myth of easy to approach = easy to read (how long it took them to introduce var).
I've always viewed code generators as a symptom of language limitations (which is why they were so popular in Java land) that lead to unmaintainable code, this seems like a fancier version of that - with all the same drawbacks.
comment 5y ago · link · parent
This requires way more knowledge than I got from my undergrad classes and in comparison learning that part is trivial forward to the hard part that you can pick up in "refresher" part of a book/article on the topic.
I doubt your average undergrad could do it so I disagree with the extremely easy part as well (heck I doubt they could write a bug free version in the first place, even less a better performing one) that a correctly selected std lib container. Well at least not without researching and testing a bunch at which point the background knowledge is trivial in comparison.
comment 5y ago · link · parent
My undergrad course didn't say shit about losing cache locality + indirection overhead, allocation cost per entry, etc. You will almost always be better off using whatever the default List implementation is in your standard library, and if performance really matters you will be better off using some optimized tree or whatever fits your use case and measure. Languages these days are not C, you are provided with really good defaults, reading the usage docs and ignoring the internals will yield better results than basic theory without testing your assumptions. You really need to know what you are doing to beat the standard library offerings - and knowing what is available > having a grasp of the underpinnings.
Knowing about algorithms can be useful, recognizing your data structure is a cyclical graph or a DAG, implications of it, knowing how topological sort works, etc. is useful - but even there - if you are good with search you can find the solution to your problem, you will just take more time.
comment 5y ago · link · parent
Exactly - if a tool let's you write it explicitly too easily you're making that the default, and it ignores the readability/maintainability side of the tradeoff.
Maybe it gets good enough to recognise when things can be factored out for better readability as well. But in my experience code generators rarely result in maintainable code.
comment 5y ago · link · parent
This is wrong and the same retarded logic Java used to defend not introducing var and similar features for ages. Boilerplate is usually noise around the actual logic - it's a result of limited abstractions. When you're repeating same code over and over you raise that segment to a separate concept, that's how abstraction and high level programming works - it increases readability and maintainability. Being easier to type has nothing to do with it.
comment 5y ago · link · parent
Larger than dealing with an oil tanker spil or gas line explosion ?
The main problem with nuclear is potentially global consequences of an accident - small reactors don't have that and people are used to dealing with localised risks.
comment 5y ago · link · parent
Working on acquiring experience early on in your career will accelerate the point where you're making decent money where you're able to save/invest a decent portion of your income.
Your path doesn't sound widely reproducible.
comment 5y ago · link · parent
In software development this is a realistic goal if you play your cards right. Plenty of other careers too.
I think there's also statistical data to support this as well (hours worked early on increasing your income and net worth down the line).
Working hard early on in your career does pay off.
comment 5y ago · link · parent
comment 5y ago · link · parent
I use an iPhone for iOS development and as a backup phone, I use Android as a daily driver - WhatsApp couldn't sync history when I broke my phone twice in a year and had to switch to iPhone. And I prefer using a desktop app over mobile one, if my phone dies I can still use telegram desktop (this was useful a few times I left my phone in the car and wife drove off with it, I could keep using telegram to message her, my only other option would be messenger at that point).
I don't mind privacy implications of my random chats being read by telegram.
comment 5y ago · link · parent
People ended up doing most work towards end of sprint and Friday would usually be really busy - basically he always had to be present and management would offload priority stuff to him since he was done. So he'd end up busting his ass all week. Eventually he got tired and reverted to standard schedule - but this meant his relative performance dropped - I saw him get singled out in a review for performance drop (and not a lot of people noticed when he was going above the norm).
comment 5y ago · link · parent
This is sad for me because I hate how locked down Apple ecosystem is, I constantly get rubbed by their store policy that I stick with Android, but life is much simpler in the Apple ecosystem and none of their competitors look like they have what it takes to compete (eg. Samsung software is a joke even when the hardware is competitive).
comment 5y ago · link · parent
I'd have higher hopes Samsung pulls something off with their fab but still skeptical. Apple seems to be generations ahead in this space.
comment 5y ago · link · parent
Windows has gone to shit, I have visual glitches in the UI using dark mode (even the search box on bottom left doesn't render correctly in dark mode until I hover it). They preinstall some shitty "news" bar right there on the task bar and hide disabling it behind a submenu of a right click on taskbar. Start menu search goes online by default and misdirects me because of it (I disabled it quickly).
Using a 5k monitor and display scaling is very iffy as well compared to MacOS.
I'm waiting on next get M1 and then I'm using the Windows box as a docker server I'll SSH into and maybe play some games. But using it as a daily driver is really underwhelming. I would use Linux desktop but from what I've heard HDPI scaling is even worse.