Page 3 of 4 [ 49 posts ]  Go to page Previous  1, 2, 3, 4  Next

ahayes
Veteran
Veteran

User avatar

Joined: 2 Dec 2006
Gender: Male
Posts: 9,506

04 Apr 2007, 5:57 pm

Perl was the first programming language I really learned.



calandale
Veteran
Veteran

User avatar

Joined: 9 Mar 2007
Gender: Male
Posts: 12,439

04 Apr 2007, 9:47 pm

codarac wrote:
I've heard a couple of strange things about Python, namely that it relies on indentation (instead of, say, brackets) and that it lacks a for loop.


The indentation works fine, and promotes readable code. There are ample control structures (perhaps too many - as they have differing efficiencies). Nothing to strange here though - just seems odd to users of C-style languages. It's pretty easy to pick up.



0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 43
Gender: Male
Posts: 11,038
Location: London

07 Apr 2007, 5:39 pm

C++ is not too difficult if you can do anything like Pascal you can do C or C++, just take it one step at a time and don't try and run before you can walk. Don't do C# it really a distraction it has nothing to do with C++ really. Microsoft invented to try and trounce JAVA hasn't worked though. It is interesting that some people are against OO. I guess I like assembler languages as well as OO. it really depends. But there really isn't a pure OO language anyway except maybe Ruby. I will have to see as I'm learning it now I would have to say i would recommend that as a first language having learned lots of different ones. Re my nick one of the consequences of pure OO

I disagree with some people who say you must learn in a class. It depends how you learn. Some of the worst stuff is done by graduates it doesn't mean they are free from bad habits. If they just doing it for a job and have no passion for it they will just botch away not want to learn.

A good programmer isn't just influenced by the tools they got but what they think is the best plan of action. That's why there is nothing wrong with using a white board/pen&paper to sketch your schematics. Not because you have to but because it take you away from bad habits. Even schematic software might influence you to cut corners, sure if your seasoned you might not but really a whiteboard is just as good.



calandale
Veteran
Veteran

User avatar

Joined: 9 Mar 2007
Gender: Male
Posts: 12,439

07 Apr 2007, 11:37 pm

Don't know about Ruby, but both smalltalk and eiffel are pure OO languages.



geek
Veteran
Veteran

User avatar

Joined: 11 Mar 2007
Age: 68
Gender: Male
Posts: 723
Location: Elsewhere

08 Apr 2007, 12:20 am

codarac wrote:
I've heard a couple of strange things about Python, namely that it relies on indentation (instead of, say, brackets) and that it lacks a for loop.


Not having a for loop is no big deal, you can use a while loop and do your own initialization and testing.

for (i=0; i< 5; i++)
{

i=0;
while(i < 5)
{
i++;

It's not one of those PITA sort of things which are hard to work around, like, say, the lack of unsigned integers in Java.



calandale
Veteran
Veteran

User avatar

Joined: 9 Mar 2007
Gender: Male
Posts: 12,439

19 Apr 2007, 1:22 am

Forgot what a pain C++ is. If you know it, you really have to keep coding in it, or it becomes really painful to pick up again. Had to do a quick project using it, and it was the little stuff that killed me (like forgetting to include <iostream>). Got most of the STL stuff down ok, but the things that were purely automatic have left my mind. Stupid Java.



neurodeviant
Veteran
Veteran

User avatar

Joined: 14 Oct 2006
Age: 41
Gender: Male
Posts: 1,182
Location: Britland

20 Apr 2007, 5:49 pm

You could always give FreeBasic a try. It's based on QuickBasic, but it's open-source, supports a load of libraries, and even the compiler is written in freebasic! Unfortunately, there is not a Mac OS X version yet.

http://www.freebasic.net - The FreeBasic compiler
http://fbide.freebasic.net - An IDE for FreeBasic


_________________
Aspies: Because great minds think alone.


0_equals_true
Veteran
Veteran

User avatar

Joined: 5 Apr 2007
Age: 43
Gender: Male
Posts: 11,038
Location: London

20 Apr 2007, 6:22 pm

neurodeviant wrote:
You could always give FreeBasic a try. It's based on QuickBasic, but it's open-source, supports a load of libraries, and even the compiler is written in freebasic! Unfortunately, there is not a Mac OS X version yet.

http://www.freebasic.net - The FreeBasic compiler
http://fbide.freebasic.net - An IDE for FreeBasic


that's kind of like free banking :wink:



lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 76
Gender: Male
Posts: 9,798
Location: Somerset UK

20 Apr 2007, 6:40 pm

Quick comment, which I might have substantially made before....

"C++ was the nightmare that came between C and C#". (I might make that my sig!)

MS rather lost control of C#. I've no idea what they thought would happen when they spent all that money on the design, then released that design to the public domain. I guess they didn't think the Mono team would leap in and run away with the baby.


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


ahayes
Veteran
Veteran

User avatar

Joined: 2 Dec 2006
Gender: Male
Posts: 9,506

20 Apr 2007, 6:57 pm

what about objective C, I've been debating myself on whether or not to learn it



lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 76
Gender: Male
Posts: 9,798
Location: Somerset UK

20 Apr 2007, 7:02 pm

OK. You've caught me out. One language (variant) I've never bothered with.


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


ahayes
Veteran
Veteran

User avatar

Joined: 2 Dec 2006
Gender: Male
Posts: 9,506

20 Apr 2007, 7:06 pm

All of Apple's GUI development tools center around objective C, they work with C++ too but there is no documentation on it.



lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 76
Gender: Male
Posts: 9,798
Location: Somerset UK

20 Apr 2007, 7:11 pm

Grrr.... I don't want to look at this, do I? I can install either/both of Objective C or Objective C++. Should I go for both? Should I just leave it all alone and go back to INTERCAL?


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


ahayes
Veteran
Veteran

User avatar

Joined: 2 Dec 2006
Gender: Male
Posts: 9,506

20 Apr 2007, 7:41 pm

there is not objective c++ is there?



lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 76
Gender: Male
Posts: 9,798
Location: Somerset UK

21 Apr 2007, 3:45 am

Yep. I have gobjc and gobjc++ available. I wonder if it's possible to us objects at all in Objective C++? See Wikipedia


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


ahayes
Veteran
Veteran

User avatar

Joined: 2 Dec 2006
Gender: Male
Posts: 9,506

21 Apr 2007, 4:02 am

It looks like it allows you to use C++ and ObjC in the same program.