Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6476

Re: Passing a Method Name to a Method, Redux

From lewbloch <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Passing a Method Name to a Method, Redux
Date 2011-07-23 12:14 -0700
Organization http://groups.google.com
Message-ID <e15c606b-a7a7-44f8-8363-03ed20e71f72@g5g2000prn.googlegroups.com> (permalink)
References (9 earlier) <j0ehp2$l3l$1@localhost.localdomain> <4e2ae67d$0$303$14726298@news.sunsite.dk> <2aca8f06-1dc8-4fff-b7f1-0e35eea32d2f@f39g2000prb.googlegroups.com> <4e2b05e3$0$310$14726298@news.sunsite.dk> <66de694c-382e-473c-a9c3-2c8433bc837c@r5g2000prf.googlegroups.com>

Show all headers | View raw


lewbloch wrote:
> Arne Vajhøj wrote:
>> lewbloch wrote:
>>> Ain't the FM (of "RTFM") a marvel? Amazing what one can learn by
>>> reading the documentation!
>
>> Is is great reading the FM.
>>
>> In this case the FM (at least not in what you quote) does not cover
>> the topic of discussion - whether it is a monolithic executable
>> or a series of executables.
>
> A difference that makes no difference is no difference.

But for completeness:

http://gcc.gnu.org/onlinedocs/cpp/index.html#Top
"The C preprocessor implements the macro language used to transform C,
C++, and Objective-C programs before they are compiled. It can also be
useful on its own."

http://gcc.gnu.org/onlinedocs/cpp/Overview.html#Overview
"The C preprocessor, often known as cpp, is a macro processor that is
used automatically by the C compiler to transform your program before
compilation."

From the bash shell:

$ which cpp
/usr/bin/cpp
$ ls -l /usr/bin/cpp
lrwxrwxrwx 1 root root 7 May 31 12:37 /usr/bin/cpp -> cpp-4.4
$ ls -l /usr/bin/cpp-4.4
-rwxr-xr-x 1 root root 255192 Mar 26  2010 /usr/bin/cpp-4.4

This can be learned from reading the frakkin' manual as suggested!
Does everyone have to be spoonfed everything?

The idea here is to follow the general principle, e.g., RTFM!, so that
one can be independently brilliant.  Just because I only led you to
the door and didn't open it and spread roses in your path doesn't make
my advice bad.  I anticipate that any real programmer will take the
hint and do their own homework, once shown where they can look.

For example, the poster who whined about wanting a standalone
preprocessor could have easily looked up those links posted here,
given the hint that it was at least possible that the indicated
documentation would yield that data.  For that matter, so could you
have.  It would have been far more helpful for you to post the
additional data to help that whiner than to speciously complain that I
didn't.  Don't you want to be helpful?

But in the end, monolithic or separate, they get the ability to run
the preprocessor on its own EVEN WERE IT PART OF A MONOLITHIC
PROGRAM!  Why wouldn't that suit, hm?

So let's fry that red herring and eat it, not proffer it as some sort
of valid counterargument.

RTFM!

--
Lew
RTFM!

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-21 20:43 -0400
  Re: Passing a Method Name to a Method, Redux Gene Wirchenko <genew@ocis.net> - 2011-07-22 12:35 -0700
    Re: Passing a Method Name to a Method, Redux Patricia Shanahan <pats@acm.org> - 2011-07-22 13:09 -0700
    Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-22 13:35 -0700
    Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 16:53 -0400
    Re: Passing a Method Name to a Method, Redux Martin Gregorie <martin@address-in-sig.invalid> - 2011-07-23 13:19 +0000
      Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 11:19 -0400
        Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-23 09:20 -0700
          Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 13:33 -0400
            Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-23 11:43 -0700
              Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-23 12:14 -0700
                Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 19:19 -0400
              Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 19:12 -0400
        Re: Passing a Method Name to a Method, Redux Martin Gregorie <martin@address-in-sig.invalid> - 2011-07-23 17:24 +0000
          Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 19:22 -0400
            Re: Passing a Method Name to a Method, Redux Martin Gregorie <martin@address-in-sig.invalid> - 2011-07-24 10:02 +0000

csiph-web