SittingWave

joined 2 years ago
[–] SittingWave@programming.dev 2 points 2 years ago

I heard the same, but not sure why. Do you have a link?

[–] SittingWave@programming.dev 0 points 2 years ago* (last edited 2 years ago) (1 children)

I don't really see the point of this approach. The whole bane of programming in low level languages like C is that you had to write one line of code, then 10 lines of error management for that line. Repeat until 500 lines, potentially with gotos in order to rollback previously successful operations. The result was that C was mostly error handling of function calls, and the ways to return such errors were hackish. Add reentrancy and multithreading requirements and it became a mess.

The idea of exception throwing is to forget all of this and have a separate channel where exceptions conditions flow, so the code is mean and lean and just does things, and when something goes wrong it throws a fit. If someone understands and manages that fit, great, there will be a specific handler for that, otherwise it won't. An exception is never ignored. Either it's handled or it reaches the top and stops the whole thing. With value as errors, the default is exactly the opposite.

So I don't really see a big case for going back to the old days of errors as values, because it really, really sucked.

[–] SittingWave@programming.dev 2 points 2 years ago

Everything you code is disposable. Get at peace with that fact and you will be happy. It was crappy code anyway.

[–] SittingWave@programming.dev 2 points 2 years ago

Yes the problem is that they are management. You can say they are shitty managers all you want, but the only result you'll get is that they will fire you.

[–] SittingWave@programming.dev 11 points 2 years ago

The thing I dislike about Atlassian is everything from Atlassian

[–] SittingWave@programming.dev 10 points 2 years ago (1 children)

It would be even nicer if we could click on a pixel and see the computations screenshot, so we can find the error.

[–] SittingWave@programming.dev 16 points 2 years ago (3 children)

Who are the mods now?

[–] SittingWave@programming.dev 5 points 2 years ago

Goodbye Bram, teach angels how to quit vim.

[–] SittingWave@programming.dev 4 points 2 years ago (1 children)

interesting. Is it required for the refs/ to be "atomic" or can it be anything that is not "agreed upon convention" and thus recognised by github?