"How long is a piece of string?"

How often have you heard someone ask, "How long is a piece of string?"? But is it really a question? Often, it's used as more of a rhetorical statement than posed as a question to be answered. It's often used in exasperated response to some other question seemingly impossible to answer as in: "How long will you take to finish this piece of code?"

Of course, there are answers to the 'string' question.

In mathematics, you could apply laws of probability or plot the distribution of string length on a graph to produce a mean result of sorts. I bet fans of spread betting could also provide an answer. Then you've got the 'smart -Alec' answers, such as: "It's as long as you want it to be" or "It's as long as you cut it."

There is even a formula for the length of a piece of string:

•    2(0.5l) [or 2l/2] - where 'l' is length (doh!).

In other words, that can be written as "Twice as long as half it's length."

The question posed above, "How long will you take to finish this piece of code?" is a leading question, because it provides a segway to the question, "How long does it take to write a telephony application?" And the answer is that it depends upon the programming language and the application programming interface (API). Everyone knows that it takes a long time to code an application in C and that it's not only the time taken to develop the code base that causes concern. The size of the resultant code base is also an issue when it comes to de-bugging. Things just take a long time; no matter how hard you work - or how many strings you have to your bow.

In most people's experience, crafting a new application and being able to ship a new product in volume takes months. Sure, it depends on the 'app', but that's just the point; the application is about more than just the telephony. I'm talking about telephony-based applications, a good example of which is unified communications, where telephony is only one piece of tied-in string. Instead of programming for months on end in C, try using a high-level language, such as C# or Python (or Perl or Ruby or ...) and a corresponding API for the telephony engine. The end result will be that the time taken to craft a given application will be reduced from months to days; forget about weeks! That's an order of magnitude differential of 2 - months to weeks to days. The end result for the business - the product company benefit - is that a quicker time to market is achieved. The R&D Manager is delighted and the CEO is ecstatic, because he'll have seen a quicker return on his investment.

But you still want to know how long the piece of string is?

You can use your programming language to create a parameter, which is the string, the length of which you wish to know and an action, which counts the string length, and a return result, which provides your answer.

Syntax string.length (string)

string.length ("How long is a piece of string?")

Answer: the length of a piece of string is - '30'

"Ah Yes! Pieces of string, my friend, pieces of string."
| 0 Comments | 0 TrackBacks

Listed below are links to sites that reference "How long is a piece of string?":

"How long is a piece of string?" TrackBack URL : http://blog.tmcnet.com/mt/mt-tb.cgi/43467

Around TMCnet:

Leave a comment

Recent Comments

  • Houston CRM: Integrated communication is the new wave and it benefits any read more
  • los angeles unified communications: Having all types of communication integrated makes things so much read more
  • Kevin Rodak: http://www.youtube.com/watch?v=Eff7M9EZYPc Leaked military protoype test video ... lots of capability read more
  • Eddie Marietta: Extremely useful and informative article. I wish i can do read more
  • Erin Locknane: Stumbled into this site by chance but I’m sure glad read more
  • David: This is good information on FoIP, and you may want read more
  • Jules Turnner: Good job! read more
  • Ebonie Behrman: Awesome blog! read more
  • Aculab: Steve, Interesting scenario you have, and I am sure one read more
  • Steve Klinger: Hello Andrew, We have 14 offices across the world with read more

Subscribe to Blog


Recent Entry Images

  • zeus
  • evolution.jpg
  • Traditional_vs_cloud_based_deployments.png
  • Prosody X - boxed
  • Telephony_paas2.jpg

Recent Activity


  • Aculab tweeted, "Want to try your hand at creating an SMS app? Download our #SMS walkthrough guide here http://bit.ly/1Q0Cnzt  pic.twitter.com/pYYpXrbM9p"


  • Aculab tweeted, "@aculab are at #APIWorld 2015. Come and see them at booth 416 to find how to enable your #apps with #voice & #messaging"
  • Aculab tweeted, "Disrupted or Disruptor? The API Economy is coming to API World on 09/29/2015. Are You Ready? http://ibm.co/1QoEgH7 "
  • Aculab tweeted, "@FullContact @aculab sweet ride"
  • Aculab tweeted, "Alex got @aculab in the running! Go #beawesomewithpeople and win this trike! #APIWorld pic.twitter.com/IRpUotuPpq"
  • Aculab tweeted, "Here's Ian from @aculab speaking at #apiworld about Voice and Messaging APIs #integrate15 pic.twitter.com/IVPf62UZvG"


  • Aculab tweeted, "@aculab are at #APIWorld 2015. Come and see them at booth 416 to find how to enable your #apps with #voice & #messaging"


  • Aculab tweeted, "Well, I'm going to be there - and I'm doing a presentation at 11.20 on Tuesday 29th. Stop by and say hello. Stand 41…http://apiworld.co/ "


Around TMCnet Blogs

Latest Whitepapers

TMCnet Videos