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

TAFKASH
Veteran
Veteran

User avatar

Joined: 10 Jan 2005
Age: 50
Gender: Male
Posts: 1,100
Location: UK

03 Mar 2005, 9:06 pm

merien_took wrote:
:lol: That reminds me, I really want to learn some lower-level languages like COBOL or PASCAL. They look like a lot of fun. :D


JAVA to COBOL..... that'd be an experience..... None of that:

for (i++;0;1){String doStuff(i).getString = new String();}

malarkey in COBOL matey..... Its commands are more like:

GET STUFF FROM THE TABLE AND BUNG IT IN THE OUTPUT FILE.

Now THAT's programming... A language that calls a spade a dirty great stinking wood and metal pole thing with a flattened end that you use for moving soil around with......


_________________
"Heeeeeeeeeeeeere's Johnny!"


merien_took
Blue Jay
Blue Jay

User avatar

Joined: 25 Feb 2005
Gender: Female
Posts: 79
Location: Georgia, USA

03 Mar 2005, 9:12 pm

Can't be any worse than the transition from BASIC to Java. Man, that was terrible.... :lol:

TAKFASH wrote:
A language that calls a spade a dirty great stinking wood and metal pole thing with a flattened end that you use for moving soil around with


LOL! Sounds like fun.



theSPECTRE
Toucan
Toucan

User avatar

Joined: 24 Aug 2004
Gender: Male
Posts: 260
Location: USA PA

04 Mar 2005, 2:35 am

Pascal looks pretty cool Basic is just as easy as u can get



merien_took
Blue Jay
Blue Jay

User avatar

Joined: 25 Feb 2005
Gender: Female
Posts: 79
Location: Georgia, USA

04 Mar 2005, 12:00 pm

I have to admit I'm really starting to like OOP and you can't do that with BASIC. Also, back when I was using it, I didn't understand the concepts of arrays and functions/methods, so the stuff I could actually do was pretty limited. Maybe I'll go pull out some old BASIC programs and fool around with them, though. :)



john_samer_98
Hummingbird
Hummingbird

User avatar

Joined: 27 Jul 2005
Age: 34
Gender: Male
Posts: 20

28 Jul 2005, 12:04 pm

I used Java a long time ago. Even though I haven't tried C yet, judging by what I've read so far I would prefer it. I've used Director, Flash and Logo and by God something's gotta be better than that! Director's terminology just piffes me off so much.

Me: Load 400 Images.

Director: Error In Local Global Constant Variable Boolean Integer Of Event Handler Of Behaviour
Script. To Many Cast Member Clones.

Me: WTF Are You Talking About?

Director: Memory Error Variable Is Not A Handler.

Me: What? There's Nothing Wrong With Any Variables Or Handlers.

Director: Druplicate 3D Mesh Cannot Be Deformed As It Already Exists.

Me: I Can't Deform Something That Doesn't Exist.

Director: We Suggest You Use A Primitive Cast Member In The Local Stack Of The Array List Of The External Library That Doesn't Exist.

Me: Cut Code, Paste It In Word, Cut From Word, Paste Back Into Director.

Director: No Error. We Suggest You Submit An Error Report.



Absolute_Zero
Veteran
Veteran

User avatar

Joined: 8 Dec 2004
Age: 40
Gender: Male
Posts: 644
Location: New Brunswick, Canada

28 Jul 2005, 10:16 pm

****COMMODORE 64 BASIC V2****

64K RAM SYSTEM 38911 BASIC BYTES FREE

READY



Torak
Blue Jay
Blue Jay

User avatar

Joined: 17 May 2005
Gender: Male
Posts: 99
Location: UK

29 Jul 2005, 5:30 pm

Java == crap.

It is too slow.

It's trendy because it is portable.

It is so slow that it is nearly worthless.

I'm biased having learned programming from Z80 assembler, 68000 and C/C++.

Even on a Sun Ultra 30 Java is so slow it's a joke.

C++ is good, hard, but all you need is to use Tcl/tk to handle the GUI and you have all the functionality you need for a relatively portable application (barring system specific functionality).

Bjarne Stoustroup's books on C++ tell you all you need to know, then grab some examples and tutorials off the net and you are off with C++. Then search for Tcl/tk tutorials and integration with C and you are in. That cuts out the really ahrd part in C/C++ of creating GUI's and event handling.



Nuttdan
Forum Moderator
Forum Moderator

User avatar

Joined: 13 Jun 2004
Age: 31
Gender: Male
Posts: 323
Location: White River Junction, VT

03 Aug 2005, 5:54 pm

It's kind of neat as a language, and can teach you some good OOP practice/thinking. As a platform, it kinda blows, and as a solution, it really depends on the problem and the resources available.

For me, languages don't really matter that much, they're all very similar. It matters more what you're aiming for, how well you're able to create a good product from <i>any</i> language, but some languages/development tools make you jump through more hoops to do certain things than others.

I've been learning Oracle application development lately, transitioning from PHP+MySQL to Oracle+PL/SQL (as well as learning Spatial and HTMLDB). There are a lot of things that I like about it, like how tightly it's integrated with the database, but there are some hurdles to get through. PHP has a very nice/easy solution for saving state info called sessions, but there is no easy one for PL/SQL, you have to roll your own.



M
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 7 Apr 2005
Gender: Male
Posts: 41
Location: London, UK

03 Aug 2005, 6:02 pm

TAFKASH wrote:
And I get so wound up by coders who don't put their '{'s onto newlines..... And as for coders who don't even bother using '{}' around single line if statements...... :evil:
I do both of those.

Michael.



PaulB
Sea Gull
Sea Gull

User avatar

Joined: 28 Jun 2005
Gender: Male
Posts: 217
Location: Chicago, IL, US

03 Aug 2005, 6:30 pm

One thing that I never liked about Java is that it had to run on top of that virtual machine. I realize that the virtual machine was necessary for the java program to run on any system regardless of the system, but having compiled code run on a virtual machine isn't true compiled code. Java, because of this, is just like Visual Basic before version 6, back when a Visual Basic program was actually pseudo-compiled and run on an interpreter. I'm sure many of us can remember having to download the latest version of VBRUN.DLL to run the latest VB shareware games.

If you want to see something scary, I started out programming in FORTRAN.

**********

Code:
      INTEGER I
      DO 100, I = 1, 10, 1
      WRITE (*,"I2") I
      IF (I .GE. 9)
      WRITE (*, "C11") "ALMOST DONE"
      ENDIF
 100  CONTINUE
      WRITE (*, "C8") "FINISHED"


Sorry if that is incorrect. It's been years since I've touched that.


_________________
My life is a dark room. One big dark room.
-Lydia Dietz, "Beetle Juice"


PaulB
Sea Gull
Sea Gull

User avatar

Joined: 28 Jun 2005
Gender: Male
Posts: 217
Location: Chicago, IL, US

03 Aug 2005, 6:38 pm

TAFKASH wrote:
And I get so wound up by coders who don't put their '{'s onto newlines..... And as for coders who don't even bother using '{}' around single line if statements...... :evil:


I always put my opening brace on a new line. I frequently do not put my one-line if statements in braces, but I will always put a one-line if statement on the same line. e.g.

Code:
if (x > 7) done = true;


I've never run into a situation where I had to put multiple lines in a if condition for a one-line if statement, but if I did I probably would set it up with brackets.


_________________
My life is a dark room. One big dark room.
-Lydia Dietz, "Beetle Juice"


Nuttdan
Forum Moderator
Forum Moderator

User avatar

Joined: 13 Jun 2004
Age: 31
Gender: Male
Posts: 323
Location: White River Junction, VT

03 Aug 2005, 6:53 pm

M wrote:
TAFKASH wrote:
And I get so wound up by coders who don't put their '{'s onto newlines..... And as for coders who don't even bother using '{}' around single line if statements...... :evil:
I do both of those.

Michael.


I'm very compulsive about my coding style. I always use braces, even for single line statements, and I always indent, and I prefer the braces on a new line. I also am compulsive about the way I write conditional statements, so I don't get the parenthesis in nested boolean logic confused. And with functions that take a lot of parameters, or really long SQL queries, I tend to break them up on multiple lines.



M
Tufted Titmouse
Tufted Titmouse

User avatar

Joined: 7 Apr 2005
Gender: Male
Posts: 41
Location: London, UK

03 Aug 2005, 7:28 pm

Nuttdan wrote:
I'm very compulsive about my coding style. I always use braces, even for single line statements, and I always indent, and I prefer the braces on a new line. I also am compulsive about the way I write conditional statements, so I don't get the parenthesis in nested boolean logic confused. And with functions that take a lot of parameters, or really long SQL queries, I tend to break them up on multiple lines.
My coding style probably seems a mess and inconsistent to other people but it makes perfect sense to me.

To me an if-statement which has only one conditional statement would confuse me if it had brackets as I see it as a single command spread over multiple lines. Just like functions that take a lot of parameters, which it sounds like I format the same as you. I do not like lines wrapping so I do spread a lot of statements horizontally to avoid that.

For SQL I always put everything on separate lines, so "SELECT" would be one a line, followed by each column on its own line and tabbed, and so on. I usually have very long SQL statements!

Michael.



Sarcastic_Name
Fumigated With Boredom
Fumigated With Boredom

User avatar

Joined: 26 Mar 2005
Age: 31
Gender: Male
Posts: 3,594

03 Aug 2005, 8:28 pm

Firefox crashes when I try using most JAVA programs. I've given up on teaching myself any programming languages until I upgrade. It sucks though, online school program uses JAVA.


_________________
Hello.


Spitfire
Hummingbird
Hummingbird

User avatar

Joined: 16 Aug 2005
Gender: Male
Posts: 21

17 Aug 2005, 1:40 pm

C++ beats Java so bad. Although Java is handy if you want to make Apps for the net or for wireless devices like mobile phones.