Maybe C is the perfect language for really good systems programmers, but unfortunately not-so-good systems and applications programmers are using it and they shouldn�t be.
I found the quote from "Coders at Work" where Bernie Cossel is
interviewed, page 560.
I don?t want to say that C has outlived its usefulness, but I think it
was used by too many good programmers so that now not-good-enough
programmers are using it to build applications and the bottom line is
they?re not good enough and they can?t. Maybe C is the perfect
language for really good systems programmers, but unfortunately
not-so-good systems and applications programmers are using it and they
On Nov 3, 9:09=A0pm, Casey Hawthorne <caseyhHAMMER_T...@ista...hash table idea good or no good?
I have an idea for a hash table implementation but it's so simple there
must be something wrong with it.
The usual suspects for handling collisions are chanining, open addressing,
linear probing, etc. But in the event that there's a collision, why
not just try again with an entirely separate table. The design is very
simple and the table can grow and shrink without rehashing every element.
For example, consider inserting an element with the C-ish code below. The
hash is generated and the data is placed into the first table of 31
elements unless it is already occupied in which case th...Nested conditional expressions ---- good idea/bad idea?
Below you will see an example of a nested conditional expression that
this colleague of mine loves. He claims that it is more efficient that
a multi-level if-else-if structure. Moreover, our complexity analyzer
tool supposedly does not pick it up. Is it really more efficient?
Personally I find this coding style extremely cryptic, misleading and
I believe that I have removed all traces of proprietary-ness from this
coding example by multiple text substitutions.
#define QWER 0x1000
...A Good Idea for You!
Working with computer several hours a day and
have no free time for your family and hobbies?
Tied of backaches and dreaming of getting pleasure
while working with PC?
Wish to double or even triple your productivity
and save several hours every day?
Stop waisting your brilliant time!
Let us help you to solve this problems!
...Not a very good Idea!
As per our coding rule, a line should not have more than 80 characters.
When accessing a structure elements which are deeply nested, we are not
able follow this rule. To acheive this Can we use macro?
struct1.str1.strct3=struct2.str2.st1.s1 + struct3.str3.st3.s3;
#define STRUCT2 struct2.str2.st1.s1
#define STRUCT3 struct3.str3.st3.s3
and then use
struct1.str1.strct3 = STRUCT2 + STRUCT3;
Is this a good Idea(if not please let me know what are the problems it
may cause)?Or Is there a better Idea than this?
On Mon, 3 Apr 2005 email@example.com wrote:
> H...Is this a good idea?
I've been programming ASP for 5 years and am now learning PHP.
In ASP, you can use GetRows function which returns 2 by 2 array of
Actually, it's a recommended way in ASP when you access DB as it
disconnects the DB earlier.
Also, it's handy as you can directly access any data in the array
As far as I know, there's no such function in PHP and I can make one.
My question is whether it's good in PHP.
$data = get_data("select * from table1");
$var = $data; //value at 4th row, 3rd column
This way, I can wrap db con...is this a good idea
I know that the "reg"'s are all zeroes when powered on (on Xilinx
FPGAs). Is this a good idea (assumption) to work on? Can I assume the
same for ASIC development? that is I don't have to change my codes
"Paul" <firstname.lastname@example.org> wrote in message
> I know that the "reg"'s are all zeroes when powered on (on Xilinx
> FPGAs). Is this a good idea (assumption) to work on? Can I assume the
> same for ASIC development? that is I don't have to chan...Linux Traffic Shaper and Router = Good idea or Bad Idea?
I currently have a network with a Linksys BEFSR41 router and Cable
Internet. Now right now with P2P and other traffic, my network is a
huge mess and sometimes the router likes to take a break without
telling me, in other words die or choke.
Now my question is, would it be a good idea, since I have so many extra
machines, 400MHZ/192MB, to put a Linux distro on and plug in the cable
modem to one NIC and then the router to another NIC, so that the Linux
machine can handle all the traffic so that the router isn't clogged to
Also, is there a way to use Linux to where it shapes the tra...For you eXtreme Programmers...
Nothing great was ever accomplished without _passion_
"Matt Lawrence" <email@example.com> wrote in message
> -- Matt
> Nothing great was ever accomplished without _passion_
Brilliant! Gotta love the coherence of the entire product portfolio!