On about 75% of all my assignments since I have been contracting I will, at some point, encounter a construct called a Generic API (or words to that effect). What I want to know is WHO is responsible for this monstrosity? I'm convinced it's all the handiwork of the same person. I'm looking at one right now and you have to pass in frikkin string literals to tell it what you want it to do! Cue endless hours spent leafing through outdated technical specifications trying to work out what those literals should be
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
The Generic API
Collapse
X
-
-
Originally posted by wurzel View PostOn about 75% of all my assignments since I have been contracting I will, at some point, encounter a construct called a Generic API (or words to that effect). What I want to know is WHO is responsible for this monstrosity? I'm convinced it's all the handiwork of the same person. I'm looking at one right now and you have to pass in frikkin string literals to tell it what you want it to do! Cue endless hours spent leafing through outdated technical specifications trying to work out what those literals should beInsanity: repeating the same actions, but expecting different results.
threadeds website, and here's my blog. -
The perfect API
object DoStuff(string command, params object[] args)
Sorteeed!
Next project please.
Comment
-
Originally posted by wurzel View PostOn about 75% of all my assignments since I have been contracting I will, at some point, encounter a construct called a Generic API (or words to that effect). What I want to know is WHO is responsible for this monstrosity? I'm convinced it's all the handiwork of the same person. I'm looking at one right now and you have to pass in frikkin string literals to tell it what you want it to do! Cue endless hours spent leafing through outdated technical specifications trying to work out what those literals should be
http://en.wikipedia.org/wiki/IoctlLast edited by doodab; 11 March 2010, 10:06.While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'Comment
-
Originally posted by DimPrawn View PostThe perfect API
object DoStuff(string command, params object[] args)
Sorteeed!
Next project please.
object DoSomeStuff(string command, ...)
object DoTheRest(string command, ...)Insanity: repeating the same actions, but expecting different results.
threadeds website, and here's my blog.Comment
-
Actually I prefer:
object DoStuff(int commandCode, int subCommandCode, int subSubCommandCode, int subSubSubCommandCode, params object[] args)
Don't bother with documentation, it slows the project down.Comment
-
Oh dear, no wonder I've been going round in circles. I wanted to do a delete operation so naturally passed in "delete". Now I've finally located the relevant page in the documentation I see I should be passing in "delet". It was obviously put together by an illiterate.Comment
-
Originally posted by wurzel View PostOn about 75% of all my assignments since I have been contracting I will, at some point, encounter a construct called a Generic API (or words to that effect). What I want to know is WHO is responsible for this monstrosity? I'm convinced it's all the handiwork of the same person. I'm looking at one right now and you have to pass in frikkin string literals to tell it what you want it to do! Cue endless hours spent leafing through outdated technical specifications trying to work out what those literals should be
I commented one day that it must be very stable because it hasn't changed in years. However, I got the reply that the reason for no changes is that nobody understands anything about it and there are too scared to touch it.
Can't blame Bob as it pre-dates him.How did this happen? Who's to blame? Well certainly there are those more responsible than others, and they will be held accountable, but again truth be told, if you're looking for the guilty, you need only look into a mirror.
Follow me on Twitter - LinkedIn Profile - The HAB blog - New Blog: Mad Cameron
Xeno points: +5 - Asperger rating: 36 - Paranoid Schizophrenic rating: 44%
"We hang the petty thieves and appoint the great ones to high office" - AesopComment
-
object DoPostOnCUK(text,” ...”)
object F_uckWorking(string command, ...)And what exactly is wrong with an "ad hominem" argument? Dodgy Agent, 16-5-2014Comment
-
Originally posted by DimPrawn View PostDon't bother with documentation, it slows the project down.Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Streamline Your Retirement with iSIPP: A Solution for Contractor Pensions Sep 1 09:13
- Making the most of pension lump sums: overview for contractors Sep 1 08:36
- Umbrella company tribunal cases are opening up; are your wages subject to unlawful deductions, too? Aug 31 08:38
- Contractors, relabelling 'labour' as 'services' to appear 'fully contracted out' won't dupe IR35 inspectors Aug 31 08:30
- How often does HMRC check tax returns? Aug 30 08:27
- Work-life balance as an IT contractor: 5 top tips from a tech recruiter Aug 30 08:20
- Autumn Statement 2023 tipped to prioritise mental health, in a boost for UK workplaces Aug 29 08:33
- Final reminder for contractors to respond to the umbrella consultation (closing today) Aug 29 08:09
- Top 5 most in demand cyber security contract roles Aug 25 08:38
- Changes to the right to request flexible working are incoming, but how will contractors be affected? Aug 24 08:25
Comment