J
jmcgill
Kindly take your TDD proselytizing to a newsgroup where
it's topical.
That's a bit harsh.
Kindly take your TDD proselytizing to a newsgroup where
it's topical.
Typical knee-jerk reaction of an anonymous closed mind.Kindly take your TDD proselytizing to a newsgroup where
it's topical.
Typical knee-jerk reaction of an anonymous closed mind.
jmcgill said:That's a bit harsh.
Ian said:Typical knee-jerk reaction of an anonymous closed mind.
I certainly wouldn't want to be tarred with that brush!Richard said:Ian Collins said:
Then tally up another knee-jerk.
Phlip in c.p has made himself a right PITN by going on and on and on about
TDD. Please don't make the same mistake. The clc group is about the C
language, not about development strategies.
What's harsh about it? It's not topical in comp.lang.c.
Posting here, and over on comp.lang.c++, I am disconcerted by the ever-
frequent mention of business.
> I would have thought that programmers would
be passionate about what they do, and that they would turn their back on
any prospect of perverting or dumbing down their programming to satisfy the
man in the suit.
> At the moment, it seems that I'm in the minority here, and
so be it. Thankfully though, twenty years down the road, still shy of
forty, I forsee myself as being a programmer of the highest proficiency. If
there's anything I can learn from these newsgroups, it's that I never want
to program as an occupation.
In the future, I think I would take great satisfaction from teaching
programming, and concurrently working voluntarily on a Standard's
Committee.
Frederick Gotham wrote:
Many of us here earn our living writing software.
What makes you think you have to pervert or dumb down your programming
just because you are working for a company? In over 20 years I've never
had to do that.
Fine, but you still need to know about programming in the real world, be
it the open source community or commercially.
The reality is that when
more than one person works on a project it is far easier to read if
everyone uses the same coding style and in the real world the majority
of complex pieces of software are worked on by multiple people.
jmcgill said:I do a great deal of unit testing, functional testing, and acceptance
testing, ...
and I'd like to know right now if I'm going to be abused by you
if the topic comes up with regard to programming and testing C.
In particular, I would like to know if you have some sort of moderator
authority, or if you are a major contributor to the forum, or any other
reason why I should refrain from putting you in my killfile at this time.
Having said that, the reigning culture in comp.lang.c
is to remind contributors about what's considered
topical, and especially what isn't.
You might want
to read for a while before deciding
Having said that, the reigning culture in comp.lang.c
is to remind contributors about what's considered
topical, and especially what isn't.
Man I don't know where you work, but every single programmer I manage on
my system codes by the methods outlined by the customer - NOT what they
feel is appropriate. If the customer wants his int variables to be
named using some arcane mathematical formula then so be it, if they want
the int variables to be a,b,c,d,e,f,... then so be it. The coding
standard is determined by the project and the customer, never the coder
- at least in my realm.
Unfortunately that's the real world we professional programmers inhabit,
although I've never had to, or in recent years required my staff to
"dumb down" programming. I'm not sure from where or on what basis you
make that observation.
What I don't understand is how this quest leads you to declare things
backwards, using "int unsigned" rather than the far more common
"unsigned int". (Note that even in English grammar, "unsigned int"
makes more sense; "unsigned" is an adjective, and "int" is a noun --
not that that's a decisive argument.)
You've invented a set of rules for how you order keywords, taking
advantage of the fact that the compiler doesn't care. The result is
difficult to read for 99% of C programmers. It's not impossible to
read, just annoyingly difficult, and for no benefit that I can see.
The reality is that when more than one person works on a project it is
far easier to read if everyone uses the same coding style and in the
real world the majority of complex pieces of software are worked on by
multiple people.
I suspect most potential responders believe your comments wouldn't
have enough value to be worth the effort of posting.
Frederick Gotham said:Flash Gordon posted:
I think this argument is exagerated. I can read any style, so long as it's
valid C. I'll admit, that at first, there were some things which puzzled
me, things like:
sizeof obj
instead of:
sizeof(obj)
Or:
int const *p;
instead of:
const int *p;
But is that not part of learning C? Some people put their function blocks
like so:
int Func()
{
}
while others put them like so:
int Func() {
}
It might be a little puzzling the first time you encounter it, and you
might even find it disgusting, but if you look at it objectively, you can
still read the code.
If you were to supply me with a source file which contained several
different styles, I wouldn't have a problem reading it.
Frederick Gotham said:Keith Thompson posted:
English is quite strange in that regard. I think most languages put their
words in order of descending importance. Irish for example:
window = fuinneog
small = beag
small window = fuinneog bheag
I think it makes sense to receive information in order of descending
importance. I like to know the type first and foremost, which is why I
prefer:
Frederick Gotham said:Ian Collins posted:
Over on comp.lang.c++, many regular participants condemned the following
code, saying it was cryptic:
for(size_t i = len - 1; i != -1; --i)
I understand it perfectly, and don't want to be dragged down with those who
fail to understand.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.