C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #16  
Old February 15th, 2002, 06:03 PM
darkangel darkangel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: USA
Posts: 12 darkangel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi All,
I am kinda surprised that nobody mentioned Pascal as yet. I learnt Pascal in high skool and hated it back then. But after looking at some of the code snippets floating arnd now a days , i find Pascals structured style of writing very appealing, not only for readability but writability too. So lrng it first sets u in the rite direction, i think.
Wot say......

DA

Reply With Quote
  #17  
Old February 15th, 2002, 06:32 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,834 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 23 h 30 m 30 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
Pascal, like BASIC is a good stepping stone to learning the fundamentals of programming. Most schools teach Pascal now as the beginning language instead of BASIC I believe.

Reply With Quote
  #18  
Old February 16th, 2002, 06:59 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Pascal is plain ugly. Its syntax is incosistent, Borland's compiler and IDE are both stupid (the debugger is even worse) and trust me that it is well possible to write extremely unstructured code in Pascal - that's what I'm seeing at school.

We've got a Win 2k network with Gigahertz clients and are programming in a language that is simply dead - except at schools. Would anyone of you mention knowledge of Pascal to a potential employer?

BASIC is even more useful because programs can be written without bothering about useless stuff - compare:
Code:
{ Pascal }
program foo;

var a, b, c : integer;

begin
    readln( a );
    readln( b );
    readln( c );

    writeln( "Middle value: ", ( a + b + c ) / 3 );

    readln;
end.

Code:
' Basic

input a
input b
input c

print "Middle value: ", (a + b + c ) / 3;

input

I haven't checked the syntax, but hope you get the idea - in Basic, only the actual code is written. In Pascal, you get lots of useless stuff extra.

Reply With Quote
  #19  
Old February 17th, 2002, 10:35 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,834 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 23 h 30 m 30 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
Quote:
Originally posted by realnowhereman
and trust me that it is well possible to write extremely unstructured code in Pascal - that's what I'm seeing at school.

We've got a Win 2k network with Gigahertz clients and are programming in a language that is simply dead - except at schools. Would anyone of you mention knowledge of Pascal to a potential employer?

Ok, what do you expect from school. You aren't going to see much well structured code from people that are learing. That is something that comes from experience and time.

Who would mention knowledge of pascal? Pascal is as usefull as basic in that it is a good tool to start you down the path the learn with, but not to write well structured applications. Granted, every once in a while you find someone doing something in basic. But then again, you have people who program in delphi, which is not much more that a beefed up pascal.

It all boils down to you have to start somewhere. Basic and Pascal are good places to start, just don't stay there.

Reply With Quote
  #20  
Old February 19th, 2002, 11:14 AM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
You have to start somewhere, and I think where you start determines what you feel is the best thing to start with. Alright, yeah, I had to do some BASIC in middle school and I did some QBASIC at home back in the days of DOS 5, but then I hopped right into HyperText which is a C-wannabe type of language. I hated all of them, except QBASIC because it was fun to play with.

I muddled around with HTML and became proficient at coding pages by hand in Notepad back when the only WYSIWYG was HotDog. Then, when I learned about JavaScript I started the whole copy and paste thing. It wasn't until a few months ago that I decided to open up my copy of Programming with Perl and seriously dive in that I actually became deeply interested in programming. Now, here's why I think perl was the best thing for me to learn:

Community.

Man, the perl community is weird, but it's EXTREMELY helpful. When I started I had no idea even what less was, I couldn't get back into insert mode in VIm to save my life, and if you asked me to grep something I'd think it was some sort of nasty prank. Now, just three short months later, I'm finishing up a "password protection" scheme with perl at work for our Intranet that is totally maintenance free in normal conditions (since I am the only one of the two developers / admins of the Intranet that knows per). All because I had the support of the community and the massive amount of docs. I can use Linux as an average user, and I'm going to go back into C/C++, work on some Java, and maybe learn Python just for fun

But, that's just me...

Reply With Quote
  #21  
Old February 21st, 2002, 02:28 AM
darkangel darkangel is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: USA
Posts: 12 darkangel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
exactly my point

I realise that Pascal makes us write a lot of stuff besides the actual code but when learners are made to conform to a certain style of coding they start off by learning to following standards. Once the initial stage is over they will branch out on their own anyway. If ones first language is a loose typed one like VB, then learning to code in C will be a real pain later. And that is my opinion........

DA

Reply With Quote
  #22  
Old February 23rd, 2002, 05:05 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
Re: exactly my point

Quote:
Originally posted by darkangel
when learners are made to conform to a certain style of coding they start off by learning to following standards.

Pascal and a certain style of coding?? Imo it's uncertainty all the way ... semicolon or no semicolon?? Write a begin/end; block or not?
Quote:
If ones first language is a loose typed one like VB, then learning to code in C will be a real pain later.

Yup (I should know ), but while Pascal is very strict with types, it hardly offers any posibilities for type casting, making it extremely difficult to program efficiently - why shouldn't bool be the same as integer, why shouldn't char be the same as unsigned byte?

Reply With Quote
  #23  
Old March 7th, 2002, 03:55 AM
Robo Robo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 29 Robo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I first started learning Visual Basic, but that was so crap I've forgotten everything about VB (and don't want to remember it)

I've self taught PHP, it has the advantage of a shallow learning curve, and as your project gets bigger, you start understanding basics of classes, etc. I've also read some stuff on C++ but never done any real programs with it.

I'm now learning Java at school, and knowing basics of programming from PHP really helped, just the syntax is a bit different, and I do miss the extensive set of built in functions PHP has, oh well.

Lukily, C# is almost identical to Java on the dime, so after learning Java, and understand all the OO stuff, shifting to C# shouldn't be that hard as well.

Reply With Quote
  #24  
Old March 29th, 2002, 03:54 AM
p3rlm0nk p3rlm0nk is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: Houston, TX USA
Posts: 0 p3rlm0nk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to p3rlm0nk
heh

You should code fortran (f77, not the newer wimpy versions) using ed. Be careful though, you might get noticeably more hirsute if you do this and develope personality traits like eschewing electronics calculators and getting in knock-down, drag-out fights over Fourier series implmentations...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > C/C++ was my first prog. language...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway