473,394 Members | 2,160 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,394 software developers and data experts.

C related, but not a C question..

So I was recently checking out topcoder.com to see what the latest hype
is all about (as I had been listening to an interview on NPR).
Apparently it's a group site where they hold programming competitions,
etc. to come up with the best solutions for a given task (that may have
been farmed out to topcoder via another company). I'm looking around at
the contests, based on algorithms, design, etc. and I'm trying to
figure out "okay, where's the language choices" and eventually come to
figure out that it's 99% C++, Java, or C# only. So a bit miffed I had
to ask why C was not represented.. Check out the general party line to
their perceptions of C:

http://forums.topcoder.com/?module=T...513334&start=0

Let's all be proud to be writing in uncool, old, "legacy" code because
apparently we're "hard to find."

Sep 30 '06 #1
12 1611
clayne said:
Let's all be proud to be writing in uncool, old, "legacy" code
Legacy code, n. (pej.): code written in some language other than the one
preferred by the speaker.
because apparently we're "hard to find."
You didn't seem to have any trouble.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 30 '06 #2
Richard Heathfield wrote:
Legacy code, n. (pej.): code written in some language other than the one
preferred by the speaker.
Hah.
because apparently we're "hard to find."

You didn't seem to have any trouble.
In regards to?
One thing, at work, I've actually been told to not write something in C
(that was actually the most appropriate language for it [Solaris memory
statistics, etc.]) and instead write it in Perl, since it would require
others to know more than Perl to support it (even though our developers
al know C/C++). Right, let's use a crappier tool for the task because
everyone else carries the same crappy tools around. Kind of like
installing a door handle with a pipe wrench because that's all one has
ever known.

Sep 30 '06 #3

clayne wrote:
Richard Heathfield wrote:
Legacy code, n. (pej.): code written in some language other than the one
preferred by the speaker.

Hah.
because apparently we're "hard to find."
You didn't seem to have any trouble.

In regards to?
One thing, at work, I've actually been told to not write something in C
(that was actually the most appropriate language for it [Solaris memory
statistics, etc.]) and instead write it in Perl, since it would require
others to know more than Perl to support it (even though our developers
al know C/C++). Right, let's use a crappier tool for the task because
everyone else carries the same crappy tools around. Kind of like
installing a door handle with a pipe wrench because that's all one has
ever known.
Hardly. It's more like installing a door handle using slot screws
rather
than phillips screws, so even people without a phillips screwdriver
can work on the door. True, phillips screws are better, but it is
also true that more people have access to something that can be
used to turn slot screws than phillips screws. Whether or not
slot or phillips screws should be used depends on a lot of things,
but using slot screws is not a priori silly.

- William Hughes

Sep 30 '06 #4
clayne wrote:
One thing, at work, I've actually been told to not write something in C
(that was actually the most appropriate language for it [Solaris memory
statistics, etc.]) and instead write it in Perl, since it would require
others to know more than Perl to support it (even though our developers
al know C/C++).
So let me get this straight: you were told to use _Perl_ because of
concerns about others reading and maintaining your code?

Wow.

Sep 30 '06 #5

sj*******@yahoo.com wrote:
So let me get this straight: you were told to use _Perl_ because of
concerns about others reading and maintaining your code?

Wow.
Yep. Due to the department the tool would be written for primarily
being equipped with perl coders. Nope, I'm not going to write a tool to
make lightweight calls into Solaris' process mapping routines in Perl.
In fact, the entire issue came about because the standard interface,
pmap, was too expensive (resource-wise) to use as a source of
monitoring statistics.

The fun continues at "Top" coder land. Apparently C is now a "sub-set"
of C++, and C is a language for heathens:

http://forums.topcoder.com/?module=T...513334&start=0

If it makes you feel any better, star C++ programmer there, dropping
the bombs on C, has made 18,000$ in the last year on just that site
(atleast according to what his profile shows).

Sep 30 '06 #6

"clayne" <cl****@anodized.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
>
sj*******@yahoo.com wrote:
So let me get this straight: you were told to use _Perl_ because of
concerns about others reading and maintaining your code?

Wow.

Yep. Due to the department the tool would be written for primarily
being equipped with perl coders. Nope, I'm not going to write a tool to
make lightweight calls into Solaris' process mapping routines in Perl.
In fact, the entire issue came about because the standard interface,
pmap, was too expensive (resource-wise) to use as a source of
monitoring statistics.

The fun continues at "Top" coder land. Apparently C is now a "sub-set"
of C++, and C is a language for heathens:

http://forums.topcoder.com/?module=T...513334&start=0

If it makes you feel any better, star C++ programmer there, dropping
the bombs on C, has made 18,000$ in the last year on just that site
(atleast according to what his profile shows).
One of the Fortune companies I used to work for actually wanted to forbade
the use of Perl. :-)
Sep 30 '06 #7
clayne wrote:
sj*******@yahoo.com wrote:
>>So let me get this straight: you were told to use _Perl_ because of
concerns about others reading and maintaining your code?

Wow.


Yep. Due to the department the tool would be written for primarily
being equipped with perl coders. Nope, I'm not going to write a tool to
make lightweight calls into Solaris' process mapping routines in Perl.
In fact, the entire issue came about because the standard interface,
pmap, was too expensive (resource-wise) to use as a source of
monitoring statistics.

The fun continues at "Top" coder land. Apparently C is now a "sub-set"
of C++, and C is a language for heathens:

http://forums.topcoder.com/?module=T...513334&start=0

If it makes you feel any better, star C++ programmer there, dropping
the bombs on C, has made 18,000$ in the last year on just that site
(atleast according to what his profile shows).
One of the things a LIKED in there was this:

3) Low level languages are MUCH more costly to maintain and develop then
high level langauges. Why? Harder to find good people in those langauges
- usually translates into higher hiring costs, higher salary, higher
training, etc. So a business will prefer a 'popular' language than a low
level langauge becuase it's easier to find talented people on those.
You see that?

If you program in C you get higher salary than all those "higher
language" guys. It is true that when you look for a C# programmer
you find a dozen to a dime, but when looking for a good C programmer...
Sep 30 '06 #8
"jacob navia" <ja***@jacob.remcomp.frwrote in message
news:45**********************@news.orange.fr...
clayne wrote:
sj*******@yahoo.com wrote:
>So let me get this straight: you were told to use _Perl_ because of
concerns about others reading and maintaining your code?
Wow.
Indeed. It seems to be a write-only language.
The fun continues at "Top" coder land. Apparently C is now a "sub-set"
of C++, and C is a language for heathens:
Well, I think Stroustrup pretty much stated that in his "Design and
Evolution" book. C++ should never step on C, only enhance it. I think people
who dismiss C++ for C should read that book.
http://forums.topcoder.com/?module=T...513334&start=0

If it makes you feel any better, star C++ programmer there, dropping
the bombs on C, has made 18,000$ in the last year on just that site
(atleast according to what his profile shows).
Is that a Good Thing or a Bad Thing? I would like to get an extra $18K for a
website I created, while working my day job...
One of the things a LIKED in there was this:
3) Low level languages are MUCH more costly to maintain and develop then
high level langauges. Why? Harder to find good people in those langauges
- usually translates into higher hiring costs, higher salary, higher
training, etc. So a business will prefer a 'popular' language than a low
level langauge becuase it's easier to find talented people on those.

You see that?

If you program in C you get higher salary than all those "higher
language" guys. It is true that when you look for a C# programmer
you find a dozen to a dime, but when looking for a good C programmer...
There's someone looking for a good C programmer???

--
Mabden
Oct 1 '06 #9
jacob navia said:

<snip>
3) Low level languages are MUCH more costly to maintain and develop then
high level langauges. Why? Harder to find good people in those langauges
- usually translates into higher hiring costs, higher salary, higher
training, etc. So a business will prefer a 'popular' language than a low
level langauge becuase it's easier to find talented people on those.
Actually, the language is neither here nor there. The real issue is that
talent costs money. If you pay peanuts, you get monkeys, and monkeys tend
to use drool-proof languages, because that's all they can understand.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 1 '06 #10
Richard Heathfield wrote:
jacob navia said:
<snip>
>>3) Low level languages are MUCH more costly to maintain and develop then
high level langauges. Why? Harder to find good people in those langauges
- usually translates into higher hiring costs, higher salary, higher
training, etc. So a business will prefer a 'popular' language than a low
level langauge becuase it's easier to find talented people on those.

Actually, the language is neither here nor there. The real issue is that
talent costs money. If you pay peanuts, you get monkeys, and monkeys tend
to use drool-proof languages, because that's all they can understand.
This is not entirely fair. Some of the primates may suffer the
restrictions you yourself wrote about in <Io********************@bt.com>
and be restricted by the ape or monkey with the pointy hairs.
Another thing is that you cannot always get the talent you are looking
for. In this case, the system architect or whoever else sits on the
technology decisions may have to go for a solution which is within
the evolutionary horizon of the people who are available and maybe
allow (more or less officially) a "technological spearhead" to move
a little further than the rest to draw them as soon as they are ready.

The same applies to advanced training / continuing education.

If universities and training centres move away from the oh-so-complex,
then this makes me worry much more... -- as it does.
BTW: I hear from time to time things like "We rather hire C programmers
-- they tend to learn and understand much faster", so I think that
a certain correlation is also perceived on the employers' side.
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Oct 1 '06 #11
Michael Mair said:
Richard Heathfield wrote:
<snip>
>Actually, the language is neither here nor there. The real issue is that
talent costs money. If you pay peanuts, you get monkeys, and monkeys tend
to use drool-proof languages, because that's all they can understand.

This is not entirely fair. Some of the primates may suffer the
restrictions you yourself wrote about in <Io********************@bt.com>
and be restricted by the ape or monkey with the pointy hairs.
You are extending my position. Just because someone has been spotted using a
drool-proof language, that doesn't mean they're not bright. As you say,
they may be working under duress. :-) But those who can /only/ use
drool-proof languages are another matter.
Another thing is that you cannot always get the talent you are looking
for.
It's curious, isn't it, in this day of high-tech communication, that it's
still difficult to find what you need? (And it's even /more/ difficult to
find what you /think/ you need.)
In this case, the system architect or whoever else sits on the
technology decisions may have to go for a solution which is within
the evolutionary horizon of the people who are available
A wonderful turn of phrase. :-)
BTW: I hear from time to time things like "We rather hire C programmers
-- they tend to learn and understand much faster", so I think that
a certain correlation is also perceived on the employers' side.
That's a new one on me, but I'm nonetheless glad that you're hearing it.
It's good to know that the corporate world isn't *completely* ignorant of
the importance of intelligence.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 1 '06 #12
Richard Heathfield wrote:
That's a new one on me, but I'm nonetheless glad that you're hearing it.
It's good to know that the corporate world isn't *completely* ignorant of
the importance of intelligence.
No, just only 90% so.

Oct 1 '06 #13

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

Similar topics

2
by: Tomba | last post by:
:(( posted a question here 3 days ago, now I am able to come look at answers it's no more available :(( so... @supapablo: if you still have your answer, mail me... tomba at f1technical dot net...
7
by: Maxwell Hammer | last post by:
Hi all, This is related to an earlier post 'Help with thread related tracebacks'...for which I have had no feedback yet :-( How should a thread complete i.e. how should it exit? Reading the...
0
by: QWERTY | last post by:
--------------Boundary-00=_O5I3QL80000000000000 Content-Type: Multipart/Alternative; boundary="------------Boundary-00=_O5I3LVC0000000000000" --------------Boundary-00=_O5I3LVC0000000000000...
17
by: Steve Jorgensen | last post by:
Terminology question: Is there a term for a set of records related directly or indirectly by key value in several tables? For example, a single invoice record and its line item records -or- a...
2
by: Colm O'Hagan | last post by:
Hi there, I having a problem with a database I'm setting up, I would be delighted if someone out there could help. The database I'm setting up is a task register datebase, it will be used to...
7
by: Susan Bricker | last post by:
Greetings. As a relative newcomer to Access, I am having trouble deciding on how to design the form flow for updating and creating related records. I'm looking for a variety of suggestions so...
0
by: archana | last post by:
Hi all, I have some confusion related to threading and autoresetevent. I have 5 threads running for each i have autoresetevent which i am setting through thread procedure. On each of event...
2
by: archana | last post by:
Hi all, I don't have much of knowledge about threading. I have on .net application where in main i am starting one secondary thread. like
0
by: orit | last post by:
Again, I have the following xml code: <?xml version="1.0" ?> <course> <globalProperties> <externalMetadata> <source>ADL</source> <model>ADL SCORM 1.0</model> </externalMetadata>...
4
by: HLCruz via AccessMonster.com | last post by:
I am working with a database that has client information separated in to 4 related tables - tFolder, tAddress, tEmail, tPhone number. In addition there are related tables tGifts and tCalls. The...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.