Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
UK-Al05
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
391.
▲
by
UK-Al05
7y ago
Thats not how f# works normally. Normally you chain option operations with either binds, or you do a match(Which is exhaustive). Directly accessing the value is normally frowned upon. This guy either needed to make the option type go away,
392.
▲
by
UK-Al05
7y ago
Frankly, that's because C# doesn't support proper discriminated unions in a concise way. F# is a lot better at using result types. You don't even need to specify the return type.
393.
▲
by
UK-Al05
7y ago
> Exceptions are a hell of a lot better than littering your code with null checks or error code checks, especially when you forget one and get a null pointer error or your code wanders away from the root cause and fails later. That'
394.
▲
by
UK-Al05
7y ago
The compiler by its self can do it, if you run it. I believe the language server is just for real time editor integration.
395.
▲
by
UK-Al05
7y ago
I don't mind it happening. Just most of these tools are rehashes of stuff that happened in the 90's and still have the same problems. Programming has been an evolution higher and higher abstractions. It's not different. We wi
396.
▲
by
UK-Al05
7y ago
That old software is full bugs, they've just figured out to work with them.
397.
▲
by
UK-Al05
7y ago
How much effort is it to maintain k8s provided by a cloud service provider instead of something you have set up yourself?
398.
▲
by
UK-Al05
7y ago
Normally cloud providers provide k8s to their customers.
399.
▲
by
UK-Al05
7y ago
Minimum wages benefit people already in low paid jobs, at the expense of people who are struggling to get one.
400.
▲
by
UK-Al05
7y ago
It is, but there is also a lot of artificial complexity created for lock-in purposes. A lot of ERP systems move away from well-trodden programming tools to their own custom stuff. I know of ERP systems have their own source control version
401.
▲
by
UK-Al05
7y ago
The problem is when the database becomes the performance bottleneck. Scaling a database is incredibly difficult, and requires a lot of expertise. Some of the biggest engineering projects I've been a part of is removing a central db tha
402.
▲
by
UK-Al05
7y ago
I've been in tons of agile places that do pair programming.
403.
▲
by
UK-Al05
7y ago
I believe commitment has now been removed from the scrum guide.
404.
▲
by
UK-Al05
7y ago
The trick is not to have large updates... Move a bit at time.
405.
▲
by
UK-Al05
7y ago
Yeah. The lesson is to get good at changes, not to avoid them. Making fewer changes makes you bad at them over the long term.
406.
▲
by
UK-Al05
7y ago
The culture is don't make changes at any cost. As a result you don't make many changes, and as a result you're bad at them. Modern technology companies make tons of changes all of the time. As a result they become good at the
407.
▲
by
UK-Al05
7y ago
I mean a for loop is just a syntatic sugar of a if and a go-to, but go-to is easier to mess up. Same with map, they are a constrained for each that is guaranteed to be a correct implementation.
408.
▲
by
UK-Al05
7y ago
It's actually a fairly old method, that's recently gained popularity as functional programming interest increases.
409.
▲
by
UK-Al05
7y ago
Previously you had to write a lot of code to implement equality/compare etc. Records automatically implement them. So its lightweight in that you need less code.
410.
▲
by
UK-Al05
7y ago
Think it's more about preventing use of older features which you don't want. Not stopping use of the new stuff.
411.
▲
by
UK-Al05
7y ago
I'm the opposite I'm cynic over languages simply adding more and more stuff. The new languages are simple like original languages started out but with a different set of simple principles that have learned about from the previous
412.
▲
by
UK-Al05
7y ago
What would extension methods, and extension state have over inheritance at that point? Those restrictions are in place for a reason.
413.
▲
by
UK-Al05
7y ago
This may surprise you, but tests only help you find breaking changes. They don't guarantee it. To guarantee anything costs a lot.
414.
▲
by
UK-Al05
7y ago
According to a government report[1] 68% of workers are satisfied working for ride-sharing services. Which admittingly isn't super high, but not awful either. But the most important thing like is the independence it gives. 1] https:&#x
415.
▲
by
UK-Al05
7y ago
People who want Uber banned are often middle-class people following their left-wing ideology pretending to be on side of the working class worker. That or black cab drivers. If you actually listen to vast majority workers working Uber they&
416.
▲
by
UK-Al05
7y ago
You have to remember that people work for the best option they have right now. If uber wasn't their best option they simply move to a better job. If you ban uber you simply remove the current best option for most people working for ube
417.
▲
by
UK-Al05
7y ago
Full employment is includes the fact people are going to be out of work for other reasons like in the process of switching jobs. Also you have to remember that people work for best option they have right now. If uber wasn't their best
418.
▲
by
UK-Al05
7y ago
"exploiting THEIR workers." - The UK has full employment right now. If they're working uber, they're doing it because they like working for Uber.
419.
▲
by
UK-Al05
7y ago
"regulations gives us passengers safety and fair prices." - We had these before Uber, and it was worse. Uber has pushed up quality in general. Market pressure is often a better way of doing these things rather trying to have a cen
420.
▲
by
UK-Al05
7y ago
I would imagine the advantages of manager roles are highly context dependent. Being a manager when everything works well is great. When everythings falling apart, awful.
More ›