EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

Quickie Poll -- C vs. C++

elektroda.net NewsGroups Forum Index - Electronics Design - Quickie Poll -- C vs. C++

Goto page Previous  1, 2, 3, 4, 5  Next


Guest

Fri Aug 27, 2010 4:50 pm   



On Aug 27, 9:42 am, Walter Banks <wal...@bytecraft.com> wrote:
Quote:
What is the best screwdriver: phillips or straight?

Robertson all the advantage of the phillips plus some Smile. Robertson
screws are widely available in Canada and less so in other places.

I was thinking the same thing.

A friend was at a US trade show and, while setting up the booth,
realized that he neglected to bring the required Robertson
screwdriver. So he had to wander around the show floor trying to
figure out who else was a Canadian company.

Steve

Joel Koltner
Guest

Fri Aug 27, 2010 5:30 pm   



"Vladimir Vassilevsky" <nospam_at_nowhere.com> wrote in message
news:B9SdncOgYLpCXurRnZ2dnUVZ_v2dnZ2d_at_giganews.com...
Quote:
Usually you can get the phillips screw with a straight screwdriver but not
vice versa. You can hardly do anything with torx unless you have the exactly
right torx header.

I've removed numerous torx screws, in a pinch, with a regular screwdriver if
they aren't too awfully tight; it seems you can usually find an angle and a
screwdrive that'll work.

On the other hand, allen (hex) socket screws are hard to deal with without the
proper tool.

Phillips screws are actually designed to cam out of the screw head before
enough torque can be applied to risk shearing off the screw head. That made
sense back when power tools didn't have clutches on them, but it does tend to
instead lead to a lot of stripped screws. For use with hand tools, I find
Pozidrv screws preferable in that they don't cam out... yet with a hand tool
usually there isn't much risk of shearing off the screw head either.
(...although an impact driver makes it unlikely to strip Phillips head
screws...)

---Joel

Warren
Guest

Fri Aug 27, 2010 5:49 pm   



Phil Hobbs expounded in news:4C76E962.9070508_at_electrooptical.net:

...
Quote:
What is your _preferred_ programming language for smallish (1000
lines of code) projects? C? C++? Something else? What?

REXX or C++, except when programming microcontrollers.
...
Phil Hobbs

REXX on a MCU would be perverse indeed.

Warren

Warren
Guest

Fri Aug 27, 2010 5:54 pm   



Martin Brown expounded in news:lzJdo.7743$8A2.5141_at_newsfe22.iad:

Quote:
On 26/08/2010 23:23, Phil Hobbs wrote:
Tim Wescott wrote:

What is your _preferred_ programming language for smallish (1000
lines
of code) projects? C? C++? Something else? What?

REXX or C++, except when programming microcontrollers.

That is a blast from the past! REXX was the native OS/2 scripting
language. I didn't know it was still going. Good while it lasted tho.
...
Regards,
Martin Brown

Actually, you can get it for Linux/Cygwin as well (known as Regina).

But it's not my usual tool of choice. On the mainframe however, we
don't have much else that compares. I found it useful for testing
complex REXX scripts before moving it back to the MF. Otherwise,
I much prefer awk.

Warren

Tim Williams
Guest

Fri Aug 27, 2010 6:27 pm   



"Joel Koltner" <zapwireDASHgroups_at_yahoo.com> wrote in message
news:ZKRdo.85736$pX3.81304_at_en-nntp-11.dc1.easynews.com...
Quote:
Phillips screws are actually designed to cam out of the screw head
before enough torque can be applied to risk shearing off the screw head.
That made
sense back when power tools didn't have clutches on them, but it does
tend to
instead lead to a lot of stripped screws. For use with hand tools, I
find
Pozidrv screws preferable in that they don't cam out... yet with a hand
tool
usually there isn't much risk of shearing off the screw head either.
(...although an impact driver makes it unlikely to strip Phillips head
screws...)

Admittedly I'm not sure if they are Pozidriv, but I have sheared heads off
stainless steel sheetmetal screws. Apparently, aluminum is sticky stuff,
the threads sieze and off goes the head. (Note: sheetmetal, so they're
forming the thread in situ.) I find it odd that stainless fasteners are
that much weaker than their mild steel counterparts (which went in just
fine). Though I'm sure it doesn't hurt that galvanizing has a high
pressure lubricant effect.

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms

AC Me
Guest

Fri Aug 27, 2010 6:43 pm   



On Aug 27, 10:49 am, JW <n...@dev.null> wrote:
Quote:
On Thu, 26 Aug 2010 11:33:18 -0500 Vladimir Vassilevsky
nos...@nowhere.com> wrote in Message id:
3qqdnZbtjrbYCuvRnZ2dnUVZ_g2dn...@giganews.com>:

What is the best screwdriver: phillips or straight?

That one's easy. Phillips. The screwdriver can't slide out when
tightening/loosening the screw.

Oh no! Oh, please no!
I have had more trouble with removing Phillips screws than all the
rest put together.
Inserting a Phillips screw - fine. The screwdriver is pushed into the
screw in the same direction the screw is required to travel.
To remove the screw the screwdriver must be pushed into the
screw against the desired direction of screw travel.
An old assembly, perhaps a little corroded or even just stuck and
the screw can strart to 'spin'.
The *@;*%! things have caused me nightmares.

Mike

Randy Yates
Guest

Fri Aug 27, 2010 7:08 pm   



spope33_at_speedymail.org (Steve Pope) writes:

Quote:
Randy Yates <yates_at_ieee.org> wrote:

Tim Wescott <tim_at_seemywebsite.com> writes:

What is your _preferred_ programming language for smallish (1000 lines
of code) projects? C? C++? Something else? What?

C.

Why?

Simpler.

With some familiarization, C++ feels simpler now to me. If it's
code I'm writing myself. If I'm analyzing/applying someone else's
code, all bets are off.

Of course it's subjective, but I don't see how it could possibly be
simpler to have to make decisions on class layout as well as
structuring/organizing functions within a class as opposed to
structuring a small group of functions. Even if you are only using one
class, just carrying around the class baggage is a negative, in my
opinion.
--
Randy Yates % "The dreamer, the unwoken fool -
Digital Signal Labs % in dreams, no pain will kiss the brow..."
mailto://yates_at_ieee.org %
http://www.digitalsignallabs.com % 'Eldorado Overture', *Eldorado*, ELO

Randy Yates
Guest

Fri Aug 27, 2010 7:25 pm   



"Ron N." <rhnlogic_at_yahoo.com> writes:

Quote:
On Aug 27, 11:08 am, Randy Yates <ya...@ieee.org> wrote:
spop...@speedymail.org (Steve Pope) writes:
Randy Yates  <ya...@ieee.org> wrote:
Tim Wescott <t...@seemywebsite.com> writes:
What is your _preferred_ programming language for smallish (1000 lines
of code) projects?  C?  C++?  Something else?  What?

C.

Why?

Simpler.

With some familiarization, C++ feels simpler now to me. ...

Of course it's subjective, ...

Of course.

From a users point-of-view, the best programming language for
anything is one that they know. Unfortunately that applies to
any language: from Ruby, Python, C++ or Java to APL, Perl,
Basic or Forth. Everybody forgets their learning curve and
all the hacks they had to acquire over a long period of time
to work around their language's oversights and weaknesses.

That's one reason why it's very helpful to be proficient in at
least 2 very different programming languages.

I'm trying to become proficient with lisp (SBCL). I have a good
ways to go...
--
Randy Yates % "So now it's getting late,
Digital Signal Labs % and those who hesitate
mailto://yates_at_ieee.org % got no one..."
http://www.digitalsignallabs.com % 'Waterfall', *Face The Music*, ELO

Warren
Guest

Fri Aug 27, 2010 7:52 pm   



Phil Hobbs expounded in news:4C77D407.6080906_at_electrooptical.net:

Quote:
Warren wrote:
Phil Hobbs expounded in news:4C76E962.9070508_at_electrooptical.net:
...
What is your _preferred_ programming language for smallish (1000
lines of code) projects? C? C++? Something else? What?
REXX or C++, except when programming microcontrollers.
...
Phil Hobbs

REXX on a MCU would be perverse indeed.

Warren

I don't know--the statically linked executable is about 393k on
Windows,
so if you built it for an ARM Cortex M3, say, you could probably
slim
it down to below 256k, which is less than half the flash available.
...
Phil Hobbs

Yabbut that hardly fits in the 16KB of an atmega168. ;-)

Warren

Steve Pope
Guest

Fri Aug 27, 2010 7:52 pm   



Randy Yates <yates_at_ieee.org> wrote:

Quote:
Tim Wescott <tim_at_seemywebsite.com> writes:

What is your _preferred_ programming language for smallish (1000 lines
of code) projects? C? C++? Something else? What?

C.

Why?

Simpler.

With some familiarization, C++ feels simpler now to me. If it's
code I'm writing myself. If I'm analyzing/applying someone else's
code, all bets are off.

Steve

Michael A. Terrell
Guest

Fri Aug 27, 2010 8:29 pm   



Vladimir Vassilevsky wrote:
Quote:

David Brown wrote:

On 27/08/2010 11:49, JW wrote:

On Thu, 26 Aug 2010 11:33:18 -0500 Vladimir Vassilevsky
nospam_at_nowhere.com> wrote in Message id:
3qqdnZbtjrbYCuvRnZ2dnUVZ_g2dnZ2d_at_giganews.com>:

What is the best screwdriver: phillips or straight?

That one's easy. Phillips. The screwdriver can't slide out when
tightening/loosening the screw.

Usually you can get the phillips screw with a straight screwdriver but
not vice versa. You can hardly do anything with torx unless you have the
exactly right torx header.



Its a poor workman who doesn't have a decent set of screwdrivers.

Michael A. Terrell
Guest

Fri Aug 27, 2010 8:30 pm   



Phil Hobbs wrote:
Quote:

JW wrote:
On Thu, 26 Aug 2010 11:33:18 -0500 Vladimir Vassilevsky
nospam_at_nowhere.com> wrote in Message id:
3qqdnZbtjrbYCuvRnZ2dnUVZ_g2dnZ2d_at_giganews.com>:

What is the best screwdriver: phillips or straight?

That one's easy. Phillips. The screwdriver can't slide out when
tightening/loosening the screw.

Torx or Robertson. They don't cam out and strip the head.


I've seen plenty of Robertson screws with stripped heads. I had to
remove them with an angle grinder and five foot crow bar, followed by a
set of vice grips.

Joel Koltner
Guest

Fri Aug 27, 2010 9:15 pm   



"Michael A. Terrell" <mike.terrell_at_earthlink.net> wrote in message
news:yv-dnV-ih5bhj-XRnZ2dnUVZ_tIAAAAA_at_earthlink.com...
Quote:
I've seen plenty of Robertson screws with stripped heads.

Same here. A lot of Robertson screws don't seem to have the square inset
deeply enough prevent easy stripping!

I don't think I've ever seen a stripped Torx or hex socket screw.
(...although I have managed to round off smaller Allen wrenches trying to
remove really tight hex socket screws...)

Ron N.
Guest

Fri Aug 27, 2010 9:22 pm   



On Aug 27, 11:08 am, Randy Yates <ya...@ieee.org> wrote:
Quote:
spop...@speedymail.org (Steve Pope) writes:
Randy Yates  <ya...@ieee.org> wrote:
Tim Wescott <t...@seemywebsite.com> writes:
What is your _preferred_ programming language for smallish (1000 lines
of code) projects?  C?  C++?  Something else?  What?

C.

Why?

Simpler.

With some familiarization, C++ feels simpler now to me. ...

Of course it's subjective, ...

Of course.

From a users point-of-view, the best programming language for
anything is one that they know. Unfortunately that applies to
any language: from Ruby, Python, C++ or Java to APL, Perl,
Basic or Forth. Everybody forgets their learning curve and
all the hacks they had to acquire over a long period of time
to work around their language's oversights and weaknesses.

That's one reason why it's very helpful to be proficient in at
least 2 very different programming languages.


IMHO. YMMV.
--
rhn A.T nicholson d.0.t C-o-M
http://www.nicholson.com/rhn/dsp.html

keithw86@gmail.com
Guest

Fri Aug 27, 2010 9:27 pm   



On Aug 27, 10:27 am, Walter Banks <wal...@bytecraft.com> wrote:
Quote:
steve_schef...@hotmail.com wrote:

On Aug 27, 9:42 am, Walter Banks <wal...@bytecraft.com> wrote:
What is the best screwdriver: phillips or straight?

The one that matches the screw. ;-)

Quote:
Robertson all the advantage of the phillips plus some Smile. Robertson
screws are widely available in Canada and less so in other places.

Nonsense.

Quote:
I was thinking the same thing.

A friend was at a US trade show and, while setting up the booth,
realized that he neglected to bring the required Robertson
screwdriver.  So he had to wander around the show floor trying to
figure out who else was a Canadian company.

Must have been a *long* time ago. I've used Robertson heads (a.k.a.
Square-Head-Recessed) almost exclusively at home (I use some Torx,
a.k.a. "star", as well) for about 30 years. The screws and drivers
have been sold in every hardware store I've looked for them, for at
least 20 years.

Quote:
I lived in NewHampshire for a while and Robertson was available
there.

They're available everywhere.

Goto page Previous  1, 2, 3, 4, 5  Next

elektroda.net NewsGroups Forum Index - Electronics Design - Quickie Poll -- C vs. C++

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony