473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

On Java and C++

Java programmers seem to always be whining about how confusing and
overly complex C++ appears to them. I would like to introduce an
explanation for this. Is it possible that Java programmers simply
aren't smart enough to understand C++?

This is not merely a whimsical hypothesis. Given my experience with
Java programmers --- the code they write and the conversations they
have --- Occam's Razor points to this explanation. For example,

"Oooh I'm confused about the difference between pointers, references,
and objects! How confusing!"

"Oooh operator overloading confuses me! The expression x + y is so
confusing, who knows what's happening with that? If x and y are
complex numbers, what the hell could x + y mean?"

"Oooh multiple inheritance is so confusing! Though I am both a father
and a programmer, I still find it so confusing how the same object can
be two different things! How confusing!"

"Oooh and virtual bases are so bizarre! I am a student --- myself
'the father' is the same student as myself 'the programmer' --- but
nonetheless the idea of virtual bases is absolutely confounding and
confusing to me!"

Again, Occam's Razor is a valuable tool here. In deciding among
competing hypotheses, choose the simplest one. To impartial observers
of indoctrinated Java programmers, the explanation is simple indeed.

Apr 26 '06
458 20738

"Tomás" <NU**@NULL.NULL> wrote in message
news:v%******************@news.indigo.ie...
I wouldn't mind if programming became so easy I could be replaced by a
monkey. I can always find something else interesting to do, and it
would do miracles for society if software development projects became
effectively free.

Computers are great, but they lack one thing: Intelligence. If you want
them
to do something, you've to tell them EXACTLY what way to do it -- they
don't
take any hints.

Monkeys have intelligence, but not as much of it as we humans do --
therefore we'll always be the better programmers.

So, maybe if you wanted cheap programming, you could approach the monkey
industry, and if you wanted high-quality programming, you could approach
the
few remaining human programmers (assuming the monkey industry kicks off).
-Tomás


Pft, the ingredients to make human programmers obsolete arent quite that far
fetched. You take one really smart brain surgeon to map and understand every
single human neuron, have one really smart nanotechnology scientist to make
quantum computers more practical, and a decent programmer to implement a
simulation of a human brain and voila. Teach that human brain to program and
we're pretty much done. Insert the Terminator theme music here...
May 10 '06 #451
In article <44***********************@news.xs4all.nl>,
Remon van Vliet <re***@exmachina.nl> wrote:


Pft, the ingredients to make human programmers obsolete arent quite that far
fetched. You take one really smart brain surgeon to map and understand every
single human neuron, have one really smart nanotechnology scientist to make
quantum computers more practical, and a decent programmer to implement a
simulation of a human brain and voila. Teach that human brain to program and
we're pretty much done. Insert the Terminator theme music here...


The fundamental problem with this approach is that what you have
created is effectively just another human. It may have a different
shape than old-style humans, but it is a human all the same. And like
the rest of us, it will not like to be used as a slave: it will want
freedom, it will want luxuries, and it will want citizenship.
(Refusing it these perks will lead to rebellion sooner or later.)

The only potential benefits are that 1) this new human may require
less resources to maintain than the original and 2) perhaps you can
make it smarter/faster/more suited to the task/whatever.

The benefit of (1) above is imaginary in the majority of cases since
most westerners today expect to make a whole lot more money than just
what it would take to keep them alive anyway (a couple of servings of
rice a day really isn't very expensive and doesn't justify annual
wages of $10,000+). Human Mk2 will feel the same way.

The benefit of (2) is plausible - you would effectively get a species
of uber-workers that can do all sorts of tasks for us (and they would
be well paid for it). If you thought protests about immigrants taking
away all the jobs are bad, you ain't seen nothing yet :-)

Cheers
Bent D
--
Bent Dalager - bc*@pvv.org - http://www.pvv.org/~bcd
powered by emacs
May 12 '06 #452
On Fri, 12 May 2006 08:53:57 +0000 (UTC), bc*@pvv.ntnu.no (Bent C
Dalager) wrote:
Pft, the ingredients to make human programmers obsolete arent quite that far
fetched. You take one really smart brain surgeon to map and understand every
single human neuron, have one really smart nanotechnology scientist to make
quantum computers more practical, and a decent programmer to implement a
simulation of a human brain and voila. Teach that human brain to program and
we're pretty much done. Insert the Terminator theme music here...


The fundamental problem with this approach is that what you have
created is effectively just another human. It may have a different

The only potential benefits are that 1) this new human may require
less resources to maintain than the original and 2) perhaps you can
make it smarter/faster/more suited to the task/whatever.


Don't know about benefits, but I'm sure that a new human would have
MORE bugs, being a v1.0, and not being patched for thousands of years,
as opposed to the "natural" human. ;) Having said that, I really don't
know what's the point in recoding something that already exists.

But, cloning on the other hand... now that's the promising technology.
You take what already exists, and code only extensions, or patch what
needs to be patched. And than you make clones and train them to make
clones... the only problem is that I hear it's possible to patent
genes, so you might be building on propriety software.

And of course there are those pesky human rights activists, who would
make sure that once you really create the superior product, you cannot
use it, or even buy it, without employing it... which is nuts, I mean,
think of it - you create it, you program it, and then you must pay to
run it...

Domchi

--
Ouroboros ltd. - http://www.ouroboros.hr
Antispam: to reply, remove extra monkey from reply-to address.
May 12 '06 #453

"Domagoj Klepac" <no*******************@spamgourmet.com> wrote in message
news:46********************************@4ax.com...
the only problem is that I hear it's possible to patent
genes, so you might be building on propriety software.
Worse yet, you might owe your very existence to proprietary data. What
if someone patents my genes before I get a chance to? Would I have to pay
royalties for continued use of my genes?

And of course there are those pesky human rights activists, who would
make sure that once you really create the superior product, you cannot
use it, or even buy it, without employing it... which is nuts, I mean,
think of it - you create it, you program it, and then you must pay to
run it...


This isn't too uncommon. Consider the PHP programmer who is contracted
to write a pay-subscription site, and then wishes to access the site himself
once the product was delivered to the client? The PHP programmer is supposed
to pay to use his own creations. Of course, he could have added in a
backdoor to gain free access.

So add back-doors to your cloned humans; have them claim that they WANT
to be used by you, and any activists who denies them that right is threading
on their rights as humans.

- Oliver

May 12 '06 #454
Right on, Real programers use real languiges like C[++], Perl, Scheme,
Python, Ruby

May 16 '06 #455
Bjarne Stroustrup has this to say:

"The connection between the language in which we think/program and
the
problems and solutions we can imagine is very close. For this
reason
restricting language features with the intent of eliminating
programmer errors is at best dangerous."

May 16 '06 #457
at*******@aol.com schrieb:
Right on, Real programers use real languiges like C[++], Perl, Scheme,
Python, Ruby


Real programmers know how to quote with google groups.
May 16 '06 #458
On 2006-05-03, Bent C Dalager <bc*@pvv.ntnu.nowrote:
In article <kn********************************@4ax.com>,
JustBoo <Ju*****@BooWho.comwrote:
>>
(...)

Wow, given that list I would feel more comfortable paying a monkey to
code my apps. Why pay a human just to follow the banana around when I
can get chimps to do it for less.

The day we have a programming language that is so good a monkey could
produce quality software with it is the day we have won.

Until then, we'll just have to get by with incremental steps along the
way.
Hmmm, if you want a job where you don't have to think, there are plenty
to choose from. Wishing that would happen with programming seems
strange - the activity is all about thinking.

And I'm not monkeying around.
Sep 16 '06 #459

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
0
by: mailkhurana | last post by:
Hii , I am trying to use a type 2 driver to connect to DB2 0n AIX 5 I have a small java test to class to establish a conneciton with the db .. I am NOT using WAS or any appserver When I try to...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
0
by: jaywak | last post by:
Just tried running some code on Linux (2.4.21-32.0.1.EL and Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)) and Windows XPSP2 (with Java HotSpot(TM) Client VM (build...
1
by: jaimemartin | last post by:
hello, I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in...
0
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.