Questions about the DLR

G

Giulio Petrucci

Hi there,

I need to create a desktop application using both C# and JavaScript. Is
it possible? How can I do to have a DLR "up and running" on my machine?
Which FW version shall I download and install? And which development
environent shall I use?

Thanks in advance.
Best Regards,
Giulio - Italy
 
B

Brian Gideon

Hi there,

I need to create a desktop application using both C# and JavaScript. Is
it possible? How can I do to have a DLR "up and running" on my machine?
Which FW version shall I download and install? And which development
environent shall I use?

Thanks in advance.
Best Regards,
Giulio - Italy

I think you mean CLR. Just download the .NET Framework. I'd get the
latest and greatest which is v3.0. Visual Studio 2005 is an excellent
IDE, but it will cost you money. There's also SharpDevelop which is
an open source application.
 
J

Jim Rand

"Visual Studio 2005 is an excellent IDE" ?????

Would I give it up? no. Is it bearable? yah. Does it need major work in the
area of performance? - definitely. Was it oversold at the rollout
concerning developer productivity? most certainly.

Buyer beware.
 
G

Giulio Petrucci

Hi Brian,

Brian Gideon ha scritto:
I think you mean CLR.

No, I mean the Dynamic Language Runtime (on which SilveLight is built
on, I think).

Thanks,
Giulio

--
 
B

Brian Gideon

Hi Brian,

Brian Gideon ha scritto:


No, I mean the Dynamic Language Runtime (on which SilveLight is built
on, I think).

Thanks,
Giulio

--

Ah...I am not familar enough with the DLR to make a recommendation.
 
B

Brian Gideon

"Visual Studio 2005 is an excellent IDE" ?????

Would I give it up? no. Is it bearable? yah. Does it need major work in the
area of performance? - definitely. Was it oversold at the rollout
concerning developer productivity? most certainly.

Buyer beware.

I don't know...I think it works pretty well. But, admittedly I have
not used Bordland's C# IDE, et al. so have no basis for comparison
against them.
 
J

Jon Skeet [C# MVP]

Brian Gideon said:
I don't know...I think it works pretty well. But, admittedly I have
not used Bordland's C# IDE, et al. so have no basis for comparison
against them.

I think a more appropriate comparison is against the "best of class"
Java IDEs, which frankly (IMO) leave Visual Studio in the dust.

When you've added Resharper (http://www.jetbrains.com) VS becomes
*much* more pleasant to use. That's more money though...
 
P

Peter Duniho

Jon said:
I think a more appropriate comparison is against the "best of class"
Java IDEs, which frankly (IMO) leave Visual Studio in the dust. [...]

Okay, I'll bite. What are some of the "best of class" Java IDEs? If I
were to want to start doing some Java programming, what tools would
provide me with the best experience?

Personally, I think Visual Studio works great. It can certainly be
clunky in places, but for the 90% scenarios, I find it really
streamlines my development process.

Pete
 
J

Jon Skeet [C# MVP]

Peter Duniho said:
Jon said:
I think a more appropriate comparison is against the "best of class"
Java IDEs, which frankly (IMO) leave Visual Studio in the dust. [...]

Okay, I'll bite. What are some of the "best of class" Java IDEs? If I
were to want to start doing some Java programming, what tools would
provide me with the best experience?

If you want something for free, try Eclipse: http://www.eclipse.org

I've heard even better things about IntelliJ IDEA, but I've never
really got into it myself.
Personally, I think Visual Studio works great. It can certainly be
clunky in places, but for the 90% scenarios, I find it really
streamlines my development process.

Rather than rehash all my old grumbles, have a look at:

http://msmvps.com/blogs/jon.skeet/archive/2005/12/22/79631.aspx

(Fortunately Resharper fixes a lot of them - Open Type and Open File
being the biggest. Shame it doesn't do the smart Extract Method
refactoring of Eclipse. That could have really helped me a couple of
days ago.)
 
P

Peter Duniho

Jon said:
If you want something for free, try Eclipse: http://www.eclipse.org

Thanks...I'll check it out.
Rather than rehash all my old grumbles, have a look at:

http://msmvps.com/blogs/jon.skeet/archive/2005/12/22/79631.aspx

Well, I appreciate the perspective. I admit, many of your complaints
are hard for me to relate to. I've spent so much of my life coding
outside of an IDE, that _any_ IDE seems like such a nice upgrade. :)
But I know I like VS2005 a lot more than the previous times I've used VS
(it's the only version of VS that I've used extensively).

It's amusing to me, for some reason, to think that things could be even
better. :) I suppose when I'm fed up enough with VS, I'll look into
the alternatives.

Pete
 
J

Jon Skeet [C# MVP]

Peter Duniho said:
Well, I appreciate the perspective. I admit, many of your complaints
are hard for me to relate to. I've spent so much of my life coding
outside of an IDE, that _any_ IDE seems like such a nice upgrade. :)
But I know I like VS2005 a lot more than the previous times I've used VS
(it's the only version of VS that I've used extensively).

It's amusing to me, for some reason, to think that things could be even
better. :) I suppose when I'm fed up enough with VS, I'll look into
the alternatives.

One difficulty is that some of the nice things sound *really* picky and
small until you actually use them. Being able to really easily navigate
to a type just by typing in the first few characters of its name (or
the initials, like HWR for HttpWebRequest) doesn't sound terribly
useful - but I do it all the time.

Likewise compile-on-save with a really fast incremental compiler
encourages a different mentality - the difference between a 2 second
build and "it's so quick you don't notice it" is much bigger than it
sounds.

One thing which wasn't on the list but I've been missing recently:
local history. Eclipse keeps track of all your changes to a file (for a
limited time, of course). Every time you save, it keeps a snapshot (as
a diff, IIRC). This is much more useful than *just* having version
control in the SCM - there's no need to check in code you're not happy
with, just to make sure that in the process of "fixing" it you don't
break it completely and lose what you have.

Eclipse concentrates heavily (at least on the Java side) on making the
text editor really, really producive - it doesn't tend to do nearly as
much on the wizard/designer side.
 
P

Peter Duniho

Jon said:
One difficulty is that some of the nice things sound *really* picky and
small until you actually use them. Being able to really easily navigate
to a type just by typing in the first few characters of its name (or
the initials, like HWR for HttpWebRequest) doesn't sound terribly
useful - but I do it all the time.

In a very long age ago, I used to write code in the Brief editor. A
co-worker had written some macros and supporting indexer that allowed
quick and easy jumping through the code. References, declarations, etc.
were all indexed, and there was even a macro that would refer to the
source management database and show you the exact check-in and diff
where the line was added or changed.

Of course, compiling was all done via command prompt interface.
"Integrated" was completely off my radar. :)

The VS browser of earlier versions did something very similar, but not
in nearly so transparent a way as those macros did.

For a variety of reasons, my use of Brief and the related macros fell by
the wayside. At first, I missed those features. But I have to
admit...between having online documentation (unheard of back then) and
things like Intellisense (I see you point about overloads being
displayed in a pop-up versus spinner, but really...just having that
information present is, for me, at least 80% of the battle), I don't
miss them nearly so much today.

So yeah, I can see how the features you're talking about would be
useful. But even VS (which may in fact be one of the less-capable IDEs
out there) comes pretty close, and in some ways is much better than what
I have been used to.
Likewise compile-on-save with a really fast incremental compiler
encourages a different mentality - the difference between a 2 second
build and "it's so quick you don't notice it" is much bigger than it
sounds.

I guess that's one of those "you just have to be there" things, or
something. The other day, I revisited a VS Solution to which I had
added a Setup project. Compiles were taking "forever", but it took me
awhile to figure out that the disk-crunching going on was the Setup
project being built and copying all this data from one place to another
(and of course packaging up the setup.exe file).

By "forever", I'm talking about 10-15 seconds. I used to work on
projects that required hours for a clean build, and oftentimes even
several minutes for an incremental build. Yet, I complain about a build
that takes 10-15 seconds now.

For my smaller projects (and these days, basically everything I do is a
"smaller project"...I've pretty much abandoned my large-team days, for
better or worse), I've got ones that can compile is less than a second,
especially if just doing an incremental build. That _is_ "so quick you
don't notice it".

Even the stuff that can be measured in seconds, I'm just not compiling
often enough for it to be a big deal. Once in awhile I'm in a situation
where I manage to mess something up two or three times in quick
succession, requiring a rapid sequence of recompiles. But most of the
time, I'm spending minutes, if not tens of minutes (or in some cases,
even hours) on design and coding. Spending a few seconds to compile the
latest changes is, for all intents and purposes in my life "so quick you
don't notice it". It's a tiny fraction of the actual time spent writing
software now.

Now, that said...I did download Eclipse, and I will check it out. I'll
be happily surprised if I find that even the things that don't seem like
a big deal to me turn out to be.
One thing which wasn't on the list but I've been missing recently:
local history. Eclipse keeps track of all your changes to a file (for a
limited time, of course). Every time you save, it keeps a snapshot (as
a diff, IIRC). This is much more useful than *just* having version
control in the SCM - there's no need to check in code you're not happy
with, just to make sure that in the process of "fixing" it you don't
break it completely and lose what you have.

Now that I can see as being very useful, especially if Eclipse allows
some control over the lifetime of the diffs. Or at the very least,
preserves the diffs at least as long as the project is open and being
worked on.

Right now, I do a lot of #ifdef-ing for this purpose, so that I can
easily go back to previous version of code if a new idea doesn't work
out, etc. Having the IDE handle this completely for me would be great.
Eclipse concentrates heavily (at least on the Java side) on making the
text editor really, really producive - it doesn't tend to do nearly as
much on the wizard/designer side.

I admit, one of my biggest reasons for loving .NET so much is the
designer features. I've always hated doing UI stuff in Windows, because
it's always so time-intensive and tedious. .NET has greatly reduced the
amount of time I have to spend tweaking UI to get it just right, and has
allowed me to spend relatively more time focused on the underlying
features of the software I'm writing.

Now, obviously this is as much about .NET as it is about a specific IDE.
But inasmuch as VS provides the designer features that really make
this work, I would really miss the lack of those features in another
IDE, at least for .NET stuff.

Anyway, guess I'll see the specifics soon enough. Assuming, of course,
that the Mac version is equivalent to the Windows version. :)

Pete
 
B

Brian Gideon

But I have to
admit...between having online documentation (unheard of back then) and
things like Intellisense (I see you point about overloads being
displayed in a pop-up versus spinner, but really...just having that
information present is, for me, at least 80% of the battle), I don't
miss them nearly so much today.

I always did hate how VS displays overloads in Intellisense. It
doesn't seem like it would be very difficult to change either.
 
J

Jim Rand

After reading your blog comparing VS 2005 to Eclipse, it made me appreciate
VS 2005 a little more - particularly in the area of performance which has
been my primary gripe.

Thanks for the comparison - worth reading.
 
J

Jon Skeet [C# MVP]

For my smaller projects (and these days, basically everything I do is a
"smaller project"...I've pretty much abandoned my large-team days, for
better or worse), I've got ones that can compile is less than a second,
especially if just doing an incremental build. That _is_ "so quick you
don't notice it".

Possibly. It depends whether it's quick enough that it becomes habitual
just to save and compile regularly, just for the comfort feeling. Is
just under a second enough to jolt concentration slightly? I suspect it
depends on the person involved.

I agree that it's incredibly compared with the hours-long builds of the
past.
Now, that said...I did download Eclipse, and I will check it out. I'll
be happily surprised if I find that even the things that don't seem like
a big deal to me turn out to be.

Unfortunately, there are two problems with IDEs:

1) You need to do significant amounts of work in them to really judge
them properly (do you do much Java coding?)
2) You'll get much more out of them if you're physically with someone
else who can show you all the tips and tricks

I suspect that's why I've never really got the hang of IDEA - I haven't
been coding with someone else who's already good with it.
Discoverability of features in IDEs is pretty poor :(
Now that I can see as being very useful, especially if Eclipse allows
some control over the lifetime of the diffs. Or at the very least,
preserves the diffs at least as long as the project is open and being
worked on.

Yup, it's all configurable.
I admit, one of my biggest reasons for loving .NET so much is the
designer features. I've always hated doing UI stuff in Windows, because
it's always so time-intensive and tedious. .NET has greatly reduced the
amount of time I have to spend tweaking UI to get it just right, and has
allowed me to spend relatively more time focused on the underlying
features of the software I'm writing.

Blech - I think designers tend to end up with poor UIs, particularly in
terms of layout for resizing. They tend to encourage absolute
positioning, which I dislike. I prefer to lay things out on paper
first, and possibly write the code manually. Having said that, the VS
2005 designer is *much* better than VS 2003, and XAML lets me have the
best of both world. The declarative syntax and good layout manager
support is pretty unbeatable, IME.
Now, obviously this is as much about .NET as it is about a specific IDE.
But inasmuch as VS provides the designer features that really make
this work, I would really miss the lack of those features in another
IDE, at least for .NET stuff.

Anyway, guess I'll see the specifics soon enough. Assuming, of course,
that the Mac version is equivalent to the Windows version. :)

:)
 

Ask a Question

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.

Ask a Question

Top