Author Topic: Beginner wants to start .NET  (Read 5567 times)

0 Members and 1 Guest are viewing this topic.

lamarn

  • Swamp Rat
  • Posts: 636
Beginner wants to start .NET
« on: January 28, 2010, 04:03:53 AM »


Beginner question.. what format should this .net code placed in what what software to use?
THX

http://www.theswamp.org/index.php?topic=31863.msg373637#msg373637
ReloadXrefs has my intrest.
Design is something you should do with both hands. My 2d hand , my 3d hand ..

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Beginner wants to start .NET
« Reply #1 on: January 28, 2010, 04:34:24 AM »

Lammerts
If you haven't programmed .NET before I'd recommend starting with C# Express or VB.net express
free from here http://www.microsoft.com/express/Downloads/#2008-Visual-CS

learn the .NET language ( it can be fun  ) first then start to learn the AutoCAD API (application programming interface )

What languages do you know ?
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Chuck Gabriel

  • Guest
Re: Beginner wants to start .NET
« Reply #2 on: January 28, 2010, 07:53:13 AM »
Here is the .NET solution for you to study

lamarn

  • Swamp Rat
  • Posts: 636
Re: Beginner wants to start .NET
« Reply #3 on: January 28, 2010, 09:08:01 AM »
Thank you
I talk lisp for some years now... some functions are hard to programm lispwise
 
Design is something you should do with both hands. My 2d hand , my 3d hand ..

JCTER

  • Guest
Re: Beginner wants to start .NET
« Reply #4 on: January 28, 2010, 09:18:21 AM »
I'd downloaded Microsoft's Visual Studio Express, and walked my way through many of their tutorials, as well as had some help by beginning to thumb through Microsoft: Visual C# 2008 by John Sharp for other exercises.

Sadly, I'm disastrously out of practice and will likely start all over due to not sticking to it, but I found both of those sources to be very good at getting me up and running with the language, and how to use the Visual Studio Express software to manage and create my programs.

I had not gotten into even reading about the Autocad API though.

I'm relatively dense when it comes to LSP, and at best can be called a 'hack' who is capable of taking the genius of others, tweaking and hammering it into a crude tool that can be applied to my situations.  And copy / pasting chunks and trying to link them, heh. 

So with my meager experience in programming, I found these two methods were still quite sufficient in getting me going... now just to get BACK into it...

hermanm

  • Guest
Re: Beginner wants to start .NET
« Reply #5 on: January 28, 2010, 11:30:00 PM »
Just my $0.02

If you are a LISPer, then, IMO, F# will seem more familiar, since it supports the functional programming style (as does LISP).

In addition, there is F# interactive, which, although compiled on the fly, is closer in "feel" to interpreted LISP.

I started learning this last spring and got very excited about it, then got distracted by other (unrelated) issues, and am just now getting back to it.

Search the web, you will find some amazing stuff.

Start here:

http://msdn.microsoft.com/en-us/fsharp/default.aspx

I can heartily recommend:

http://www.apress.com/book/view/1590598504

written by Don Syme, who invented F#

I am avidly working my way through it.

One thing that is truly amazing (at least to me) is how trivial it is to put up a Windows Forms dialog, then modify it interactively, using F# interactive.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Beginner wants to start .NET
« Reply #6 on: January 29, 2010, 12:50:08 AM »
Yes, a valid option Herman.

At the moment though I think F# support in AutoCAD may be a little scarce.
I plan on taking Don Syme's book off the shelf again later in the year.

I see nothing amiss with learning Lisp and several of the .NET languages though. Each serves it's place.
« Last Edit: January 29, 2010, 02:35:54 AM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MickD

  • King Gator
  • Posts: 3653
  • (x-in)->[process]->(y-out) ... simples!
Re: Beginner wants to start .NET
« Reply #7 on: January 29, 2010, 02:26:40 AM »
...
I see nothing amiss with learning Lisp and several of the .NET languages though. Each serves it's place.


Yep, they all target the same runtime (compile to IL) and there is very little difference in performance between them although C#, being 'the' .net language has a slight edge in certain places but if you need that little more speed you probably need to go to ARX to see a real difference for 98% of your code.

Find a language that best suits your style and go for it :)
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

hermanm

  • Guest
Re: Beginner wants to start .NET
« Reply #8 on: January 30, 2010, 10:59:25 AM »
Kerry-

Quote
At the moment though I think F# support in AutoCAD may be a little scarce.

AFAIK, the ACAD .NET interface should work equally well with any .NET language.
What you are saying makes sense if you intend "support from other experienced programmers."

C# seems to be the most popular, so behooves to learn it for survival value at least.:)

http://en.wikipedia.org/wiki/.NET_languages

What Mick said.:)

MickD

  • King Gator
  • Posts: 3653
  • (x-in)->[process]->(y-out) ... simples!
Re: Beginner wants to start .NET
« Reply #9 on: January 30, 2010, 06:28:40 PM »
That's quite a list there at wikipedia!
I would imagine that list will grow too as people like to play and the IL is constant across all machines so it makes it easier and more attractive to develop a language that suits your goals.

Tim Riley pointed it out ages ago but I'm having a ball with Boo at the moment and can't see myself doing much code in anything else unless necessary.

If I go low level I like to go C, when I go high level I like to go as high as possible and use Python and Boo fits the bill well here for autocad.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

JCTER

  • Guest
Re: Beginner wants to start .NET
« Reply #10 on: January 30, 2010, 10:23:52 PM »
Quote
# LOLCode.NET - a CLI implementation of LOLCODE

Part of me really wants to...

Bobby C. Jones

  • Swamp Rat
  • Posts: 516
  • Cry havoc and let loose the dogs of war.
Re: Beginner wants to start .NET
« Reply #11 on: February 12, 2010, 03:17:59 PM »
I see nothing amiss with learning Lisp and several of the .NET languages though. Each serves it's place.

I'm starting to really like the dynamic languages, so far I've only looked at IronRuby, but I do have a date set with IronPython.  I would highly recommend one for a  beginner, or even for the experienced that just need to knock out a quick script where execution speed isn't so important.
Bobby C. Jones

MickD

  • King Gator
  • Posts: 3653
  • (x-in)->[process]->(y-out) ... simples!
Re: Beginner wants to start .NET
« Reply #12 on: February 12, 2010, 05:36:21 PM »
...

I'm starting to really like the dynamic languages, so far I've only looked at IronRuby, but I do have a date set with IronPython.  I would highly recommend one for a  beginner, or even for the experienced that just need to knock out a quick script where execution speed isn't so important.

This is why I like Boo, I don't need to load the script engine and I achieve the same performance as C# with simple Python style scripts, it lets the compiler work out what type you are refering/using and when it's not obvious it asks you, saves a lot of typing :)
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

cadabyss

  • Guest
Re: Beginner wants to start .NET
« Reply #13 on: February 14, 2010, 03:11:55 PM »

Just my $0.02

If you are a LISPer, then, IMO, F# will seem more familiar, since it supports the functional programming style (as does LISP).

In addition, there is F# interactive, which, although compiled on the fly, is closer in "feel" to interpreted LISP.

...

Thanks for posting your $0.02 Herman.  After reading your comments and watching "An Introduction to Microsoft F#", this seems the way to go for me.

Questions:

What files do I need to download to get started programming in F#?  Do I download MS Visual Studio 2008 or 2010?  Can I use the free "Express" version?

Thank you.

MickD

  • King Gator
  • Posts: 3653
  • (x-in)->[process]->(y-out) ... simples!
Re: Beginner wants to start .NET
« Reply #14 on: February 14, 2010, 03:49:43 PM »
I'm pretty sure Sharpdevelop has F# shipped with it also, it's a lot more light weight and works quite well, might be worth a look.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien