Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: "=?UTF-8?B?QXJuZSBWYWpow7hq?=" <=?utf-8?b?qxjuzsbwywpow7hq?=@1:261/38.remove-t9h-this> Subject: Re: Do C++ and Java professionals use UML?? Message-ID: <50254C50.56574.calajapr@time.synchro.net> X-Comment-To: All Newsgroups: comp.lang.java.programmer X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 bedcebcf Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 101 Date: Fri, 10 Aug 2012 18:39:01 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1344623941 69.21.70.65 (Fri, 10 Aug 2012 13:39:01 CDT) NNTP-Posting-Date: Fri, 10 Aug 2012 13:39:01 CDT Organization: tds.net Xref: csiph.com comp.lang.java.programmer:17628 From: "=?UTF-8?B?QXJuZSBWYWpow7hq?=" <=?utf-8?b?qxjuzsbwywpow7hq?=@1:261/38.rem ove-k2r-this> From: "=?UTF-8?B?QXJuZSBWYWpow7hq?=" <=?utf-8?b?qxjuzsbwywpow7hq?=@1:261/38.rem ove-qhs-this> From: "=?UTF-8?B?QXJuZSBWYWpow7hq?=" <=?utf-8?b?qxjuzsbwywpow7hq?=@1:261/38.rem ove-p82-this> From: =?UTF-8?B?QXJuZSBWYWpow7hq?= On 8/5/2012 11:41 AM, Patricia Shanahan wrote: > On 8/5/2012 7:50 AM, John B. Matthews wrote: >> In article , >> Patricia Shanahan wrote: >> >>> On 8/4/2012 1:17 AM, Wanja Gayk wrote: >>>> In article , >>>> pats@acm.org says... >>>> >>>>> I think of programming languages as tools, not philosophies. >>>> >>>> You can use a excavator to dig a hole and you could use your old >>>> hand shovel, but you would not try to grab and move the excavator's >>>> arm with our hands to dig a hole, just because that's the way you >>>> operated your old hand shovel for the past 10 years, and you're >>>> used to that. >>>> >>>> Both are different tools that use the same method (digging) to do >>>> the same job (creating a hole), but they want to be used the way >>>> their inventors have imagined, not the way you have used another >>>> tool previously. It may still work though, but I doubt it's the >>>> brightest idea. >>> >>> There are indeed some things that are really necessary for effective >>> use of a given tool. I put the sharp end of my chisel against the >>> wood, and tap the blunt end with a mallet. I'm sure everyone using a >>> wood chisel and a mallet does that the same way round. >> >> One sharp on both ends might be widely rejected as dangerous; one blunt >> on both ends might be an unfamiliar style of draw knife. I see no harm >> in polite explication in either case. >> >>> The analogy for the situation that started this sub-thread is as >>> though the excavator were delivered with green paint, and most >>> excavators of that model were painted green. A particular user has a >>> lot of hole-related tools such as pile drivers and other models of >>> excavators, and choose to paint all of them blue to avoid the >>> inconvenience of keeping different paint colors around. >>> >>> He asked a question about lubricating the excavator, but some people >>> take one look at a photo of his blue excavator and tell him that it >>> should be green, that he will never be a capable excavator user >>> unless he paints it green, and that green paint is the excavator way. >> >> A medical supply vendor asks for help marketing a new line of compressed >> nitrous oxide. Instead of the familiar blue, the tanks are green, >> "nitrous" is almost illegible, and "oxide" is misspelled in a >> particularly unfortunate way. No one comments. An errant bottle finds >> its way to a matching green oxygen manifold; hapless victims enter a >> persistent vegetative state. Misery ensues. > > This seems like a good argument in support of sticking to one style, > regardless of brand. The programming equivalent is using one set of > conventions for indentation and identifier construction regardless of > programming language. That way, there is less risk of someone misreading > an identifier because it is in a different style from code in another > language they have been using. I think same brand for programming languages is SUN Java and IBM Java for Java, GCC and MSVC++ for C/C++ etc.. And it certainly makes sense to use the same conventions no matter what vendor provides the compiler. Different languages must be more like different type of bottles: medical supply, beverages, poisons. And they do not use same color convention. Arne -+- BBBS/Li6 v4.10 Dada-1 + Origin: Prism bbs (1:261/38) -+- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24 -+- BBBS/Li6 v4.10 Dada-1 + Origin: Prism bbs (1:261/38) -+- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24 -+- BBBS/Li6 v4.10 Dada-1 + Origin: Prism bbs (1:261/38) -+- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24 --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24