HN user

JoshuaAshton

179 karma
Posts3
Comments60
View on HN
[dead] 5 years ago

Rasengan goes 1 week without spamming his inane crap on HN challenge!

Or you can just select to hold that package for updates in a package manager in a competent distro that actually gets needed security and usability updates.

Doesn't help that some ""stable"" packages are outright broken and won't be fixed until the next release (ie. MinGW is stuck on a broken version of 8.3 which has a buttload of compiler bugs I keep hitting)

Usually documentation tends to have this, or you can look at the function and immediately know what it will return, whereas with exceptions any passthrough errors are transparent.

You also can't possibly know all error codes to handle for a function if it calls other functions returning error codes

You aren't using error codes or documenting correctly. You get a choice whether the error propogates upstream

That's because you're inexperienced.

That's fairly rude to the guy, and doesn't make your point any stronger.

I've worked with exceptions before, it leads to try/catch spaghetti code.

You can't possibly know instantly all the exceptions to handle for a function (given it calls other functions w/ exceptions), whereas, if it returns a fixed bunch of error codes, then you can know why that specific function failed and handle appropriately.

Doesn't help that (language) exceptions typically have awful codegen.

There's a reason nobody uses them in game-dev.

[dead] 7 years ago

Give me an example of their real work they have done while at Buzzfeed.

That person is also not on this list :v

I like the twist at the end of saying it already exists and it is COBOL.

Maybe the reason nobody uses COBOL is for the exact reasons mentioned in the article.

The author really wants to make an ambiguous, confusing language not fit for logic or any form of serious data processing. Which is pretty much entirely useless.

No, it would be very easy actually. For example...

Problem: Other players can change your player's player model with cheats: Solution: Ignore that message if its from another player

Problem: Other players can spawn in massive Ferris wheels in the middle of the map in Freeroam Solution: Ignore that message if its from another player and we're in freemode.

So on and so forth, It's not difficult.