• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

camel++  RSS feed

 
author & internet detective
Posts: 39244
727
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw this on twitter. So a camel plus one is another camel?

 
Bartender
Posts: 2232
94
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:.. So a camel plus one is another camel?...


Count the humps
 
Marshal
Posts: 64182
215
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But this gets really scary: In that case . . .
what do you call a camel with one hump?
What do you call a camel with two humps? camel++
What do you call the camel now?
 
Sheriff
Posts: 5931
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The one-hump camel is actually a dromedary.  Two humps is a true camel.  So

   ++dromedary == camel
 
Campbell Ritchie
Marshal
Posts: 64182
215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, adding one to a dromedary gives you a Bactrian camel. And what do you get if you increment that further?
 
Knute Snortum
Sheriff
Posts: 5931
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An abomination.
 
Campbell Ritchie
Marshal
Posts: 64182
215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right. And by the way, there are enough hints in that Twitter article to allow me to verify that I can convert 🐪 to 🐫 in Java┬« too.
 
salvin francis
Bartender
Posts: 2232
94
Eclipse IDE Google Web Toolkit Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:...And what do you get if you increment that further?


Reminds me of an old joke ...

Q: What would you call a camel with 3 humps ?
A: Pregnant

 
Campbell Ritchie
Marshal
Posts: 64182
215
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer I know to that riddle is different.
 
You have to be odd to be #1 - Seuss. An odd little ad:
ScroogeXHTML - the small and fast RTF to HTML converter library
https://coderanch.com/t/707504/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!