POV-Ray : Newsgroups : povray.programming : Programmer Server Time
29 Jul 2024 02:20:52 EDT (-0400)
  Programmer (Message 11 to 20 of 26)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>
From: Spider
Subject: Re: Programmer
Date: 26 Apr 1999 20:00:19
Message: <3724E433.3B61E4F3@bahnhof.se>
#declare FLAME = true;

Come come...
Pascal can be OOP . I know, I do. 
Compilers that handle pascal OOP:
Borland Pascal 7.0
Borland Turbo Pascal 7.0
(Both of theese are now more or less difficult to find. they have long been
outside Borlands sortiment, and Borland is now known as Inprise)
Borland(Inprise) Delphi
TMT pascal (http://www.tmt.com)


As a language, Pascal is rather easy, yet far more powerful than most tend to
say.

Main reasons for beeing "easy" as a programming language is it's development.
It was ment to be "readable" and to read pascal code is rather like reading
english
(ex.)
Var I : integer; {I is the variable name (#declare I...)}
for I:= 1 to 15 do 
begin
....
end;

This makes it easier to read, although somewhat slower to type than other
languages. (Sorry, I won't call BASIC a language ;-)

as a beginners place for Pascal, I'd recommend Khaan's place (
http://www.algonet.se/~khaan/ ) as it   has pretty good beginners guides and
lessons to learn pascal.

I'll also have to add that there are some freeware compilers for pascal(YEY). 
Khaan covers this area as well :-)


#undef(FLAME) 

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

From: Rune S  Johansen
Subject: Re: Programmer
Date: 28 Apr 1999 17:45:50
Message: <3727737e.0@news.povray.org>
Rune S. Johansen wrote:
>I would like to come into programming.
<snip>
>A description of which languages have which advantages and disadvantages
>would be appreciated.
>There's one more thing, I can't spend any money on this programming hobby,
I
>guess that limits my number of choices?
<snip>

Well, I haven't decided yet after all.

A little more details of what I would like to be able to do:
- Create graphic related programs. That could be anything from
  post processing tools to programs that generates stereograms
  to simple games.
- Create interactive programs, i.e. simple games, multimedia
  things and so on.
- Create programs with windows interface.

Of course I mean I would like to learn this with time,
over many years.

Thanks for any opinions.

Rune S. Johansen
http://hjem.get2net.dk/rsj


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Programmer
Date: 29 Apr 1999 03:22:45
Message: <3727FAE4.E2367BD6@geocities.com>
"Rune S. Johansen" wrote:

> Rune S. Johansen wrote:
> >I would like to come into programming.
> <snip>
> >A description of which languages have which advantages and disadvantages
> >would be appreciated.
> >There's one more thing, I can't spend any money on this programming hobby,
> I
> >guess that limits my number of choices?
> <snip>
>
> Well, I haven't decided yet after all.
>
> A little more details of what I would like to be able to do:
> - Create graphic related programs. That could be anything from
>   post processing tools to programs that generates stereograms
>   to simple games.
> - Create interactive programs, i.e. simple games, multimedia
>   things and so on.
> - Create programs with windows interface.
>
> Of course I mean I would like to learn this with time,
> over many years.

OK. here are my opinions:

With the goals you mentioned, I'd suggest starting on Java and going to C,
with some flip-flop between then (i.e. get the Java basics down, do some nice
little thingies, then get the C basics down, then move back to Java a learn a
little more...). Start with the Java Tutorial from Sun.

Java applets are simple, but get limited soon. Java applications are nice.
For Java I'd suggest getting into Swing/JFC instead of learning AWT stuff.
Also, start with JDK 1.1.7/1.1.8. That's all free! Download the JDK, then also
get the Jikes java compiler from IBM (also free)

Once you get into C and 'windows interface', I'd suggest looking into GTK
(unless your heart is really set on MS Windows development). Probably the best
thing to start with is the Gimp. Besides being Linux, there is now a Win32
port that is pretty far along (it is currently on MSVC 5, but getting the free
cygnus stuff supported as we speak). GTK came from the Gimp to begin with. You
might want to start by looking into the different Gimp plugins (sounds like
the stuff you're interested in).

Also, keep up with Freshmeat and get and read the source of any interesting
programs mentioned there.

Java    http://java.sun.com/
Jikes    http://www.alphaWorks.ibm.com/
The Java Tutorial    http://java.sun.com/docs/books/tutorial/index.html
JDC    http://developer.java.sun.com/
Gimp    http://www.gimp.org/
GTK    http://www.gtk.org/
Freshmeat    http://freshmeat.net/

Better yet, just get Linux and use gcc for c, and JDK from
http://www.blackdown.org/ for Java.


Also, there are some interesting Java API's out there.

Java2D (in Java2/JDK1.2)
http://java.sun.com/products/java-media/2D/index.html
Java Media Framework    http://java.sun.com/products/java-media/jmf/index.html

Java Advanced Imaging
http://java.sun.com/products/java-media/jai/index.html
Java 3D    http://java.sun.com/products/java-media/3D/index.html


Post a reply to this message

From: Alain CULOS
Subject: Re: Programmer
Date: 3 May 1999 17:07:02
Message: <37278CAC.283BCE5C@bigfoot.com>
"Rune S. Johansen" wrote:

> I would like to come into programming.

<snip>

> A description of which languages have which advantages and disadvantages
> would be appreciated.

<snip>

What platform do you use ?
That is always relevant because some platforms have softwares others don't.

Talking broadly :
What use do you want to make out of programming ?
Is it just for fun ?
Do you want to be able to write software quickly ?
Or do you have time on your hands.
What is your budget ?


The best way in my opinion is to take the fun approach and to make time if you
don't already have it, so you take it leisurely enough.

I started a long time ago with Basic and the like, they do not help much for
programming. A few days with them is more than enough. The basic style languages
only bring bad habits, so is best avoided. The only thing basic can do for you
any other language can do it as well and this is to start grasp what a program
is and what sort of simple actions you can do with a program.

One choice is important though.
When you start programming you want to see the result straight away. So it is
usually easier to start with an interpreted language.
Once you are confident enough, then add another layer of knowledge and put in
the compilation & link stages.


My second step was Logo, there is a Logo interpreter available for Windows
somewhere on the net, I don't remember the URL. Maybe more than just Windows.
You may try to locate it at
http://union.ncsa.uiuc.edu/HyperNews/get/computing/lang-list.html  as this lists
many (most ? all ? not all, no) languages available in the computing world.
This is really great for toying and getting you into very good programming
thinking although pretty simple to use.

Then there is two broad routes :
1-fun/toying
2-work/net/useable fun/games

Route 1 :
I would strongly recommend looking into Prolog and Le Lisp. Two great sets of
concepts. It is actually nice to follow this Route first, then go on to Route 2.
Or maybe just stay on Route 1 if you can afford it (timewise, if computers don't
feed you for instance).

Route 2 :
Next step I would strongly advise Pascal as it is a pretty simple conventional
programming language. If you look closely at the way it enforces you to define
your programs you will understand pretty clearly and pretty quickly what is
happening in the machine and in the compiler. Pascal is one of the best
(self)teaching languages.
Borland (not free) has developped turbo pascal with object oriented features and
that is much easier to use than C++. Again very good for teaching purposes not
always as powerful as C/C++, always cleaner than C/C++.

C is a disgrace to methodical, pretty, safe, reliable computing but it has grown
so big that you just can't avoid it. So whenever you want to seriously take up
programming and merge your efforts with stuff that floats on the net, then C/C++
are unavoidable. They are powerful languages but they can be pretty messy and
you need a lot of experience to cope with sizable applications.

I would like to advise ADA but unfortunately too few companies/programmers use
it or know how to use it. ADA is pretty complex but allows to write nicer,
safer, more reliable apps than C. There is one big bad point with ADA though :
string manipulation is poor in the standard package - and string manipulation is
a very strong point of C.

A lot of very powerful tools like awk/sed/lex/yacc/bison/python/java borrow from
the C/C++ spirit and/or interface easily with C/C++.

If you are into maths to a high degree then you will not be able to avoid
Fortran (f77 mostly). It is pretty bnackwards but so many maths libraries have
been coded in fortran that many people just gave up trying to port it all to
another language.

I'm sure there must be free versions of all languages I quoted. Sometimes free
versions can be a headache as you have no one to blame for doing things wrong
and not being helpful. But in the long run you find out that these are the best
for finding helpful people - big companies do not help much.
Starting off with a free tool can be hard in the beginning, but if you hold on
and get over it, they really reward you with satisfaction.

Best of luck in your quest,
Alain.

--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :

To answer me, please take out the Z from my address.


Post a reply to this message

From: Jim Kress
Subject: Re: Programmer
Date: 3 May 1999 23:06:59
Message: <372e5643.0@news.povray.org>
Being the lone FORTRAN programmer in the known POV universe I must take
exception to your comments about the language :b) .  Fortran 95 (yes, an
actual, current ANSI standard) has been thoroughly polluted with all the
structured, object oriented "improvements" that clutter C++ and associated
languages.  The Fortran 2000 ANSI standard promises to continue this
deconstruction of a once fine language ...

Also, Lahey (www.lahey.com) offers a free Fortran compiler.

So there!  :)D

--
Jim

Check out my web site http://www.kressworks.com/
It'll blow your mind (politically), stimulate your senses (artistically)
and provide scientific insights that boggle the mind!!


Alain CULOS wrote in message <37278CAC.283BCE5C@bigfoot.com>...
>"Rune S. Johansen" wrote:
>
>> I would like to come into programming.
>
<LARGE SNIP>
>
>If you are into maths to a high degree then you will not be able to avoid
>Fortran (f77 mostly). It is pretty bnackwards but so many maths libraries
have
>been coded in fortran that many people just gave up trying to port it all
to
>another language.
>


Post a reply to this message

From: Marc Schimmler
Subject: Re: Programmer
Date: 4 May 1999 03:58:10
Message: <372E9A81.FD18C61B@ica.uni-stuttgart.de>
Jim Kress wrote:
> 
> Being the lone FORTRAN programmer in the known POV universe I must take
> exception to your comments about the language :b) .  Fortran 95 (yes, an
> actual, current ANSI standard) has been thoroughly polluted with all the
> structured, object oriented "improvements" that clutter C++ and associated
> languages.  The Fortran 2000 ANSI standard promises to continue this
> deconstruction of a once fine language ...
> 
> Also, Lahey (www.lahey.com) offers a free Fortran compiler.
> 
> So there!  :)D
> 
> --
> Jim
> 

Hey!

I'm not alone with this dinosaur! :-)
Well your're not alone. And I use still the good ole' FORTRAN 77.


Marc
-- 
Marc Schimmler


Post a reply to this message

From: Steve
Subject: Re: Programmer
Date: 4 May 1999 10:48:40
Message: <372EFBB7.CAA595B1@puzzlecraft.com>
Alain CULOS wrote:

> Route 2 :
> Next step I would strongly advise Pascal as it is a pretty simple conventional
> programming language. If you look closely at the way it enforces you to define
> your programs you will understand pretty clearly and pretty quickly what is
> happening in the machine and in the compiler. Pascal is one of the best
> (self)teaching languages.
> Borland (not free) has developped turbo pascal with object oriented features and
> that is much easier to use than C++. Again very good for teaching purposes not
> always as powerful as C/C++, always cleaner than C/C++.
>

You should be aware that of the 3 major programming environments, one dropped
Pascal a while back and the second announced yesterday that it is dropping Pascal.
Pascal is a fine language, but it appears that it's future is now frozen. Pascal is
supported by a couple of the lesser environments but it may be a bad way to go if
you are looking for a professional career in programming.

I feel badly for the many millions of lines of legacy code written in Pascal.

steve


Post a reply to this message

From: Spider
Subject: Re: Programmer
Date: 4 May 1999 15:45:53
Message: <372F3F11.90B28CA6@bahnhof.se>
A big sorrow for all of us.
(Hmm, it's still a good language for the beginner... LOTS and LOTS of demos and
examples on the net. perfect for picking apart and messing with :-)

Steve wrote:
> 
> Alain CULOS wrote:
> 
> > Route 2 :
> > Next step I would strongly advise Pascal as it is a pretty simple conventional
> > programming language. If you look closely at the way it enforces you to define
> > your programs you will understand pretty clearly and pretty quickly what is
> > happening in the machine and in the compiler. Pascal is one of the best
> > (self)teaching languages.
> > Borland (not free) has developped turbo pascal with object oriented features and
> > that is much easier to use than C++. Again very good for teaching purposes not
> > always as powerful as C/C++, always cleaner than C/C++.
> >
> 
> You should be aware that of the 3 major programming environments, one dropped
> Pascal a while back and the second announced yesterday that it is dropping Pascal.
> Pascal is a fine language, but it appears that it's future is now frozen. Pascal is
> supported by a couple of the lesser environments but it may be a bad way to go if
> you are looking for a professional career in programming.
> 
> I feel badly for the many millions of lines of legacy code written in Pascal.
> 
> steve

-- 
//Spider    --  [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
And the meek'll inherit what they damn well please
	Get ahead, go figure, go ahead and pull the trigger
		Everything under the gun
			--"Sisters Of Mercy" -- "Under The Gun"


Post a reply to this message

From: Steve
Subject: Re: Programmer
Date: 10 May 1999 00:06:28
Message: <37361F48.FFE@community.net>
Steve wrote:
> 
> Alain CULOS wrote:
> 
> > Route 2 :
> > Next step I would strongly advise Pascal as it is a pretty simple conventional
> > programming language. If you look closely at the way it enforces you to define
> > your programs you will understand pretty clearly and pretty quickly what is
> > happening in the machine and in the compiler. Pascal is one of the best
> > (self)teaching languages.
> > Borland (not free) has developped turbo pascal with object oriented features and
> > that is much easier to use than C++. Again very good for teaching purposes not
> > always as powerful as C/C++, always cleaner than C/C++.
> >
> 
> You should be aware that of the 3 major programming environments, one dropped
> Pascal a while back and the second announced yesterday that it is dropping Pascal.
> Pascal is a fine language, but it appears that it's future is now frozen. Pascal is
> supported by a couple of the lesser environments but it may be a bad way to go if
> you are looking for a professional career in programming.
> 
> I feel badly for the many millions of lines of legacy code written in Pascal.
>  
   Delphi is Pascal. There is a bunch of 'visual' windows stuff on top
but at it's heart where you write the code it's still Pascal. Pascal is
in that kind of never never land though, it's harder and takes more work
then basic, bat files, or a macro and it isn't as fast or powerfull as C
or ASM.


Post a reply to this message

From: Alain CULOS
Subject: Re: Programmer
Date: 13 May 1999 17:43:00
Message: <3737664F.CD7C8BFF@bigfoot.com>
Steve wrote:

> You should be aware that of the 3 major programming environments, one dropped
> Pascal a while back and the second announced yesterday that it is dropping Pascal.
> Pascal is a fine language, but it appears that it's future is now frozen. Pascal is
> supported by a couple of the lesser environments but it may be a bad way to go if
> you are looking for a professional career in programming.
>
> I feel badly for the many millions of lines of legacy code written in Pascal.

1/ I never said Pascal was good to use for a real life project.
2/ What does it matter if some platforms drop it, we're only talking about something
that is supported on ordinary PCs. Win32 for sure, but I'm almost certain all flavours
of Unix, including Linux support some form or other of Pascal. Go check the GNU
Pascal.

3/ Pascal as I said is good, brilliant, perfect as a teaching language. Very simple,
clear, easy to understand, easy to use. Makes programming a good experience and
enforces good habits. Of course it gets limited for sizeable real life projects.

Regards,
Al.

--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :

To answer me, please take out the Z from my address.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.