[IronPython] To Compile or Not to compile, that's the question
Muhammad Abubakar
abubakarm at gmail.com
Mon Apr 18 06:37:10 CEST 2005
> to type it's name even less often. So - are you telling me you actually
> compile C# projects by opening a window and typing "csc
> somefilename.cs"? If so, why?
in my observation: it often happens that microsoft releases SDKs
before visual studios (betas), and when they release it, its usually
only available for the msdn subscribers where as the sdk is
downloadable for all. So in order to experiment (which may go on for
months for some) ppl have to write csc on console and write source on
the notepad. And there are ppl who just dont buy vs.net but try the
.net framework through sdks, later on thay may decide to buy the ide.
So these can be some of the reasons why ppl think about doing a csc
somefilename.cs.
> When I talked about double-clicking .py files, I was confused and
> thought we were still talking about the interpreter name, where a short
> name is slightly more important. But still, TAB-completion on Linux and
> file association on Windows takes most of the burden off.
about file associations, few things that come to my mind are that as
far as *.txt or *.doc is concerned, associating to notepad and
microsoft word respectively makes sense but can we associate *.cs with
csc.exe (or mcs of mono on windows) or *.vb to vbc.exe or mbas.exe in
mono-on-windows? I would say no definitely, cuz there are some obvious
reasons that we have multiple files which contains our source code and
we may have to pass tens of /r switches to the compiler etc. Now due
to my ignorance of working with scripting languages u guys tell me do
we need to associate *.py files with the compiler/interpreter or like
in case of *.cs or *.vb, just associate them with the IDE? Are we not
going to be writing python apps whose source is going to spans to more
than one file like c#?
Ab.
On 4/17/05, Joe Mason <joe at notcharles.ca> wrote:
> On Sun, Apr 17, 2005 at 11:49:31AM +0100, Innes MacKenzie wrote:
> > On 4/17/05, Joe Mason <joe at notcharles.ca> wrote:
> > > On Sun, Apr 17, 2005 at 10:55:08AM +0100, Innes MacKenzie wrote:
> > > > On 4/17/05, Swaroop C H <swaroopch at gmail.com> wrote:
> > > > > "ipc" is just too cryptic.
> > > >
> > > > What about 'dir', 'cd', 'csc'?
> > >
> > > The first two are historical, and it's too late to change them. The
> > > third is just stupid.
> >
> > So they ought to be ListDirectoryContents, ChangeDirectory, and
> > CSharpCompiler. Hrmm.
>
> I like "ldir", "chdir" and "csharp", myself, but the point is that having
> a tradition of cryptic names is no reason to be cryptic for the sake of
> it. I haven't seen any argument for "ipc" except, "I will be typing it
> a lot so it has to be less than 4 letters."
>
> > > What OS are you talking about? On Linux it works everywhere,
> > > even searching $PATH.
> >
> > Point made.
>
> I wasn't trying to say, "Linux is better, hurr hurr!" I was trying to
> figure out if you were talking about Linux and just incorrect, or
> talking about Windows, in which case I don't see why tab completion
> matters. Because...
>
> > >On Windows, why does it matter? Don't you just
> > > associate .py with the executable and doubleclick it?
> >
> > Yes, I have .cs associated with csc so I can compile my C# projects
> > simply by doubleclicking!
> > (just kidding)
>
> I'm honestly trying to figure out why you intend to be typing the name
> of a Python to .NET compiler often. Even on Linux, where I use the
> command line for everything, 90% of the time the compiler is invoked by
> a Makefile so I only have to type its name once. On Windows I was under
> the impression that the compiler is always invoked by an IDE so you have
> to type it's name even less often. So - are you telling me you actually
> compile C# projects by opening a window and typing "csc
> somefilename.cs"? If so, why?
>
> When I talked about double-clicking .py files, I was confused and
> thought we were still talking about the interpreter name, where a short
> name is slightly more important. But still, TAB-completion on Linux and
> file association on Windows takes most of the burden off.
>
> Joe
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
More information about the Ironpython-users
mailing list