Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2247
| From | Everett L Williams II <rett@classicnet.net> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Lambda Shambda |
| Date | 2011-04-04 04:23 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <4D998E09.8060507@classicnet.net> (permalink) |
| References | (8 earlier) <AANLkTinN-VCZ-L=kvPq0Rme489QDx3-u_R2B_Mj1F1Fq@mail.gmail.com> <f15449f5b9c44881ca8aa9a431299278@ruby-forum.com> <BANLkTikT8Vqz6rJGOZz91_58-8g=FQXVyQ@mail.gmail.com> <4D986551.70802@classicnet.net> <BANLkTik5iY7z3JaN4VzkL8OzpQnGJey2bQ@mail.gmail.com> |
[Note: parts of this message were removed to make it a legal post.] Phillip Gawlowski wrote: > On Sun, Apr 3, 2011 at 2:17 PM, Everett L Williams II > <rett@classicnet.net> wrote: > >> *Let's not pay too much attention to the code snobs on here. I've yet to see >> a recursive function that is more efficient than a more linearly coded >> function that accomplishes the same thing, and there is always the problem >> of curtailing recursion. People often mistake shortest code for the most >> efficient or effective, and that is seldom true. >> > Which you are doing at the moment, it appears. It's a straw man, > anyway: nobody was talking about performance. > *And, of course, since we were talking about making a practical decision about which tool to use, performance cannot possibly matter. There is also this overriding compulsion amongst coders to produce the most abbreviated code possible, assuming that such demonstrates their special skills and that such code is the most desirable. Any study of algorithmic efficiency will show clearly that the shortest code is almost never the fastest code, especially in unoptimized code.* > >> In addition, there are a whole host more people who can write acceptable programs in Excel than there >> are who can do so in Ruby or probably the sum of all the languages that are >> in that category. >> > Extraordinary claims require extraordinary evidence. So, show the > evidence, please. Also: define "acceptable". > *If this were an extraordinary claim, your comment would hold true, but only exceptional arrogance would cause any other claim to be made. "Acceptable" means satisfactory to the person doing the programming, who is usually some grunt just trying to get his job done, rather than someone who is a proponent of any particular thing. I'll try not talk about "fanboys" here.* >> If you are after the 80-90% of intel x86 compatible machines >> that run Windows, that is not an issue. I won't even say that maintenance is >> a bigger problem in Excel, though the issue can be argued in many different >> ways. >> > How many of these machines run Excel, and in a compatible flavour to > whatever you want to sell based off of Excel? > *When I am responsible for something, unless some feature in the current version is absolutely necessary, I tend to drop back one or two versions to cover most of my market, not to mention to avoid the hazards of being on the bleeding edge.* > If we are arguing market segments, we all should be writing software > in ActionScript, and distribute Flash files (95% or so market > penetration across all x86 machines installed world-wide, and a major > chunk of the Android market in smart phones). > *You said it. I didn't. Remember what I said about using the simplest tool that will get the job done.* > >> Once you have made up your mind to use a tool like Ruby, you have to pick a >> flavor, and you really need to know C/C++ as well as Ruby to really be able >> to use Ruby. If you intend to have cross-platform support, you need to >> understand the subtleties of the various platforms you intend to support, >> which is a problem in almost any language. Perl and Python and especially >> java should also be considered, especially if there is a history of coding >> in one of those languages within your organization. All that aside, Ruby is >> an excellent and well supported tool, well worth your time and effort, but >> something that should be considered is that the simplest tool that is >> effective should usually be used. Good luck. >> > Yeah, and I doubt that in 99% of all cases that aren't spreadsheets or > statistics, Excel is the tool one should use. > *Having made the progression from Assembler to COBOL and FORTRAN and on to dozens of other languages, I would have agreed with you until I started seeing people write all sorts of stuff in Excel. Again, I would never have recommended those uses, but they seemed to do the job.* > Anecdote: > My EE prof used Excel to invert a matrix. Took about 30 minutes, and > was far from obvious (I forgot how it was done, since it was > definitely something Excel wasn't designed to do), when a specialized > tool (Maple in this case), did the same job in one line of code, > following the mathematical notation (M_inverse := M^-1). > > Thus, I wouldn't use Excel to write a tool to analyse an electrical network. > > *No, if I were going to do a lot of work with matrices, I would use Mathlab or one of the various libraries that specialize in that kind of work. Actually, "I" would probably use APL or one of the variants, because it is flatly designed for work with matrices and can do in one line what would take a whole page of equations. Of course, I wouldn't really recommend APL, because it is one of those languages that is almost impossible to maintain if you did not write it yourself. APL is famous for having working code that no one can figure out. On the other hand, matrices are not the only method for working such problems. From what I know of it, I wouldn't use Excel for huge classes of problems, but some people seem to be able to twist it to do things that I would never have guessed. "To the man with a hammer, everything looks like a nail."...even when a screw or glue might do a better job. The point is that he knows how to use the hammer and can get prodigious amounts of work done with it, so he has to think very carefully when someone tells him he has to learn this new and completely different tool while the work gets behind. About 50% of the real newbies to programming who come on this site with a complex project that requires unstable parts of the Ruby pantheon, should be told to use another tool, one that is simpler, more mature, and that does a better job of handholding, but people who spend most of their time on Ruby tend to think with their hammer, so to speak, or maybe, they don't really know anything else. Everett L.(Rett) Williams II Everett L *
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[OT] functional paradigm taking over Robert Klemme <shortcutter@googlemail.com> - 2011-03-30 02:29 -0500
Lambda Shambda Mike Stephens <rubfor@recitel.net> - 2011-03-30 04:38 -0500
Re: Lambda Shambda Robert Klemme <shortcutter@googlemail.com> - 2011-03-30 10:19 -0500
Re: Lambda Shambda Mike Stephens <rubfor@recitel.net> - 2011-03-30 12:27 -0500
Re: Lambda Shambda 7stud -- <bbxx789_05ss@yahoo.com> - 2011-03-30 20:49 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-03-30 22:30 -0500
Re: Lambda Shambda Mike Stephens <rubfor@recitel.net> - 2011-03-31 05:08 -0500
Re: Lambda Shambda Josh Cheek <josh.cheek@gmail.com> - 2011-04-02 15:07 -0500
Re: Lambda Shambda Mike Stephens <rubfor@recitel.net> - 2011-04-03 00:29 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-03 02:48 -0500
Re: Lambda Shambda Robert Klemme <shortcutter@googlemail.com> - 2011-04-03 12:58 +0200
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-03 06:50 -0500
Re: Lambda Shambda Josh Cheek <josh.cheek@gmail.com> - 2011-04-03 13:59 -0500
Re: Lambda Shambda Johnny Morrice <spoon@killersmurf.com> - 2011-04-03 15:06 -0500
Re: Lambda Shambda Josh Cheek <josh.cheek@gmail.com> - 2011-04-03 15:56 -0500
Re: Lambda Shambda Everett L Williams II <rett@classicnet.net> - 2011-04-03 07:17 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-03 07:47 -0500
Why should I be a programmer, to program? Mike Stephens <rubfor@recitel.net> - 2011-04-03 13:44 -0500
Re: Why should I be a programmer, to program? Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-03 14:45 -0500
Re: Why should I be a programmer, to program? Johnny Morrice <spoon@killersmurf.com> - 2011-04-03 15:58 -0500
Re: Why should I be a programmer, to program? Josh Cheek <josh.cheek@gmail.com> - 2011-04-03 15:21 -0500
Re: Why should I be a programmer, to program? serialhex <serialhex@gmail.com> - 2011-04-03 15:34 -0500
Re: Why should I be a programmer, to program? - OT Chris <chris@s-4-u.net> - 2011-04-03 15:53 -0500
Re: Why should I be a programmer, to program? Petite Abeille <petite.abeille@gmail.com> - 2011-04-03 16:01 -0500
Re: Why should I be a programmer, to program? - OT Chris <chris@s-4-u.net> - 2011-04-03 16:42 -0500
Re: Lambda Shambda Everett L Williams II <rett@classicnet.net> - 2011-04-04 04:23 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-04 04:52 -0500
Re: Lambda Shambda Robert Klemme <shortcutter@googlemail.com> - 2011-04-04 06:19 -0500
Re: Lambda Shambda Martin DeMello <martindemello@gmail.com> - 2011-04-03 08:13 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-04 00:55 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-04 10:16 -0500
Re: Lambda Shambda Iain Barnett <iainspeed@gmail.com> - 2011-04-04 15:50 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-03 15:07 -0500
Re: Lambda Shambda Johnny Morrice <spoon@killersmurf.com> - 2011-04-03 06:05 -0500
Re: Lambda Shambda Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-03-31 13:56 -0500
Re: [OT] functional paradigm taking over Martin DeMello <martindemello@gmail.com> - 2011-03-30 15:46 -0500
Re: functional paradigm taking over Mike Stephens <rubfor@recitel.net> - 2011-04-04 04:05 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-04 04:21 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-04 04:25 -0500
Re: functional paradigm taking over Stu <stu@rubyprogrammer.net> - 2011-04-04 04:28 -0500
Re: functional paradigm taking over Robert Dober <robert.dober@gmail.com> - 2011-04-04 06:49 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-04 05:00 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-04 05:15 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-04 05:18 -0500
Re: functional paradigm taking over Everett L Williams II <rett@classicnet.net> - 2011-04-04 06:31 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-04 07:17 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-04 07:29 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-04 10:42 -0500
Re: functional paradigm taking over Michal Suchanek <hramrach@centrum.cz> - 2011-04-04 12:43 -0500
Re: functional paradigm taking over Robert Dober <robert.dober@gmail.com> - 2011-04-10 11:59 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-12 01:18 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-12 01:22 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-12 02:09 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-12 02:11 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-12 02:47 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-12 03:40 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 00:53 -0500
Re: functional paradigm taking over Josh Cheek <josh.cheek@gmail.com> - 2011-04-13 01:02 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 01:38 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 01:46 -0500
Re: functional paradigm taking over Josh Cheek <josh.cheek@gmail.com> - 2011-04-13 02:46 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-13 03:52 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 09:59 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-13 10:16 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 11:18 -0500
Re: functional paradigm taking over serialhex <serialhex@gmail.com> - 2011-04-13 14:41 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 15:34 -0500
Re: functional paradigm taking over Peter Hickman <peterhickman386@googlemail.com> - 2011-04-13 10:17 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 18:44 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-14 00:32 -0500
Re: functional paradigm taking over Michal Suchanek <hramrach@centrum.cz> - 2011-04-14 05:06 -0500
Re: functional paradigm taking over Mike Stephens <rubfor@recitel.net> - 2011-04-15 01:25 -0500
Re: functional paradigm taking over Josh Cheek <josh.cheek@gmail.com> - 2011-04-04 07:41 -0500
Re: functional paradigm taking over Michal Suchanek <hramrach@centrum.cz> - 2011-04-04 07:56 -0500
Re: functional paradigm taking over Stu <stu@rubyprogrammer.net> - 2011-04-05 03:58 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-05 04:12 -0500
Re: functional paradigm taking over Stu <stu@rubyprogrammer.net> - 2011-04-05 16:57 -0500
Re: functional paradigm taking over Everett L Williams II <rett@classicnet.net> - 2011-04-07 10:51 -0500
Re: functional paradigm taking over Josh Cheek <josh.cheek@gmail.com> - 2011-04-07 18:42 -0500
Re: functional paradigm taking over Alex Stahl <astahl@hi5.com> - 2011-04-07 20:26 -0500
Re: functional paradigm taking over Mike Stephens <rubfor@recitel.net> - 2011-04-07 22:14 -0500
Re: functional paradigm taking over Johnny Morrice <spoon@killersmurf.com> - 2011-04-08 06:10 -0500
Re: functional paradigm taking over Everett L Williams II <rett@classicnet.net> - 2011-04-08 13:58 -0500
Re: functional paradigm taking over Mike Stephens <rubfor@recitel.net> - 2011-04-08 16:04 -0500
Re: functional paradigm taking over Josh Cheek <josh.cheek@gmail.com> - 2011-04-08 19:12 -0500
Re: functional paradigm taking over Mike Stephens <rubfor@recitel.net> - 2011-04-12 07:31 -0500
Re: functional paradigm taking over Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-12 11:22 -0500
Re: functional paradigm taking over Gregory Vella <gregory_vella@yahoo.com> - 2011-04-13 14:49 -0500
Re: functional paradigm taking over Kevin <darkintent@gmail.com> - 2011-04-13 15:59 -0500
Re: functional paradigm taking over Mike Stephens <rubfor@recitel.net> - 2011-04-14 02:28 -0500
Re: functional paradigm taking over Robert Klemme <shortcutter@googlemail.com> - 2011-04-14 03:29 -0500
Re: functional paradigm taking over Josh Cheek <josh.cheek@gmail.com> - 2011-04-14 05:01 -0500
csiph-web