Live data from Hacker News

Ask HN: What's the worst API you've run into?

news.ycombinator.com

21–30 of 35 posts

Re: Ask HN: What's the worst API you've run into?

#21
WebRTC: There's simply too much to configure and the modularization is also exaggerated.

WinAPI: Because of compatibility some old API procedures with ugly designs have to remain, for example CallWndProc. Bonus: WinAPI is Pascal calling convention based (__stdcall vs __cdecl).

Unity Engine: Because pascal case sucks (I consider CamelCase for C# master race).

Webpack/Gulp: again the same clause of WebRTC but ‘parenthesized’/‘bracketized’

Re: Ask HN: What's the worst API you've run into?

#24
post #8

Hmmm... Anything enteprisey. I once had to interop with Viacess-Orca RiGHTv IPTV/DRM clusterfuck, and wouldn't recommend anyone to get remotely close. Not just to that, but to anything SOAP. Then, maybe, PayPal's NVP APIs. Quite a mess (although, I guess, I can understand why it's that way), with docs not really covering the fine details, esp. all the possible failures.

" Viacess-Orca RiGHTv IPTV/DRM " a what?

An system used for IPTV services by one of ISPs (a large telco) I've worked for. Basically, a giant piece of Java EE that strives to make everyone's life harder. Consumers get all the niceties of DRM, service provides get fun time trying to tie it with their accounting systems (that's what I had to do) and trying to figure out when it breaks, etc.

Re: Ask HN: What's the worst API you've run into?

#27

The old Microsoft Crypto API (the newer one is better, but still bad) It's been a few years, but from memory: IIRC you could e.g. install new keys, but not quite list them (somehow only almost), and you couldn't remove them again. Amusingly you could also tell the API was developed by three different people, who preferred different API styles (I remember one was fond of callbacks, the others apparently not so much).…

I guess you mean the API discussed here: http://sethnielson.blogspot.nl/2008/12/repost-playing-around... (Badly formatted and code is missing)
Post reply on HN