wood burning stoves*
The moose likes Meaningless Drivel and the fly likes Acronymania or Why Chinese is a Superior Language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Acronymania or Why Chinese is a Superior Language" Watch "Acronymania or Why Chinese is a Superior Language" New topic
Author

Acronymania or Why Chinese is a Superior Language

Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
I am reading Wrox's Professional Java Web Services and sad thoughts come to my mind. XML's bad experience didn't teach anybody. What is XML? A piece of text, specially formatted. Basically, <myPieceOfData>12345</myPieceOfData> - that's all. Now look at all these crazy APIs that were created to process simple text files: DOM, SAX, JDOM, JAXP, JAXB, JAXM, JAXR ... I was proud that our software development community proved that we can take any simple task and make so damn complex and ourselves look so damn cool.
But isn't one proof enough?
What are Web-services? Simple idea: programs communicate by sending text (formatted according XML rules) requests over HTTP and get responses in the same format. Simple, elegant and beautiful.
How can we make this task complex and ugly? That's where acronyms come to the rescue. Subset of XML to code messages is called SOAP, another subset of XML to describe services is WSDL, then we have UDDI etc. etc. etc... (notice recent shift toward four-letter acronyms, three letters are already not enough. You simply do not look cool if you use three-letter acronyms. The same tendency can be observed in distributed computing: JINI superseded RMI).
Wrox's Web-services book is 500+ pages in such a small font that it's almost unreadable. IBM Web Services Tool Kit (WSTK) download is 43 MB and asks to install 53MB of "Web services Base Code". Yes! Of course! We cannot send a piece of text over HTTP without 53MB tool kit (besides standard Java API), can we? Hm, but if we call it "WSDL publishing to UDDI registry", then maybe we *do* need 53MB of cool software?
I already said somewhere in MD that Chinese language is an ideal fit for OO programming due to its hierarchical nature. You start with a simple sign for a basic concept, like "a woman". You add a stroke and get "a sister" -a special case of women. You can construct as complex concepts as you want but you never forget from where you start, because your hieroglyph keeps visual track of all your insane activity.
If we used Chinese, we would end up with "a piece of text that uses verbose markup" for XML and "a piece of text that uses verbose markup and odd tag names" for SOAP... Maybe then we wouldn't have to download 43MB to send a small text file over HTTP.
[ March 10, 2002: Message edited by: Mapraputa Is ]

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Stevie Kaligis
Ranch Hand

Joined: Feb 04, 2001
Posts: 400
hmmm... interesting,
I remember when my friend translated 10 pages of client's document review (in english) into chinesse character, he can put all together into 4 pages only
but according to traditional chinesse people's, you can write 1 single chinesse char in 150 different ways, and every chinesse char can be devide into 4 differences pronunciation, and each has a different meaning. the question is if you use it for XML or SOAP, don't you think that we also need a smart tool's to generate the meaning of each chinnese tag
and the worst is maybe the size is larger than 43mb.
go to the nearest post office to send your letter Map
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Well, I idealized Chinese a little, of course... It was more my idea about Chinese.
One Javaworld's article mentioned Rube Goldberg, who described his amazing cartoon machines as "symbols of man's capacity for exerting maximum effort to accomplish minimal results."
His machines design definitely reminds me something... Maybe "favor composition over inheritance"?
Question: (deep thinkers only) which pattern(s) is at work at the above picture? Strategy? Observer? Proxy? ...?
[ March 11, 2002: Message edited by: Mapraputa Is ]
 
permaculture playing cards
 
subject: Acronymania or Why Chinese is a Superior Language
 
Similar Threads
Web Services - a specification or a framework or ...
Alternative to UDDI/WSDL (newbie)
Translating XML from http request
what is SOAP?
On portability of XML