Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Favourite programming language?

Author
Message
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 27th Nov 2003 01:32
...is that kitten a character from somewhere in particular?

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
JSN
21
Years of Service
User Offline
Joined: 8th Nov 2003
Location: 127.0.0.1
Posted: 27th Nov 2003 01:38
Quote: "'Raven'? I love your dancing kitten "


Yeah, must admit, it is good..!

~ J ~
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 27th Nov 2003 01:45 Edited at: 27th Nov 2003 01:45
It's exactly the same dance that Spiderman and Wonderwoman do! They must all go to the same dance classes! LOL!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 27th Nov 2003 01:55
Quote: "I really wouldn't expect VB.Net, C# or Asp.Net to be able to create a product like HalfLife, or other products"


Seen Quake II.NET yet? Not specifically the conversion, but the additional radar view added to the game.

http://zone.ni.com/devzone/conceptd.nsf/webmain/54CD4A0FFB56171E86256DA5004F6B90?opendocument

I don't think that the time is too far off ...

Quote: "But have you ever actually asked a C/C++ developer, why they're not fussed about Object Orientated Programming?"


I can give you a purely personal answer to that one ... Why should I limit myself to OO? In a lot of instances I can get more optimal code using generic procedural code (templates and functions).

I mix and match to what seems to me to be the easiest design to use

After playing with Delphi for an admittedly very short while, I can see the similarities to C++. The only thing that I didn't like was the fact that I couldn't declare static objects. I couldn't see anything that makes Delphi defficient compared to C++ - just a different way of doing things in some cases.

Given the choice as a beginner, I would waver between Delphi or C++. Delphi seems easier to read and write to the beginner, but does have far less support than C++ does.


Now, have I shown enough impartiality yet? Right, I'm off to change the bandages on my leg
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 27th Nov 2003 02:48 Edited at: 27th Nov 2003 02:56
don't get me wrong JSN, i think Managed code is fantastic for developing applications ... and C# is a very nice language to use, again for developing applications.

These are for business terms, however a computer game isn't a business application.
Sorry, i know people don't agree with the fact that i can't stand to use Managed Dx nor the fact that i still prefer C++ over C#.

But this is all a case of there is no Ultimate Language,. just the Right Language for the Right Job.

And i know that the games industry is hardly going to shift to Managed Dx, simply because a)we still have to code in C/C++ for OpenGL and b)most Dx programmers don't like OOP

I'm sorry i know that alot of you would love to sit here and feel that OOP is the "ultimate" in programming means, but the fact of the matter is it is the distinghuising feature that seperates a Business programmer from an End-User programmer.
It isn't a case of speed restrictions, it is more a case that an EUP wants complete control and feel like their in complete control of thier code. If there is a bug in the system it's because they screwed up the programming, not because of the way they programmed something.

If the types of programmers were mechanics, a business programmer would want the car engine to have completely interchangeable parts that they simply flick a switch and they can change it. No mess, no fuss, no matter of expense.
An End User programmer would prefer to sit there and be able to tighten every bolt, exchange and alter parts from other engines to do exactly what they want. Might have a few kinks in it, but after a while of tinkering should work identically to an "official" part.

It's not about everything being neat, it's about getting something to work EXACTLY how we want it to. I don't want to spend 40minutes thinking up and creating a work around for something that i could just alter the prototype of the function and create my own edit to it, and et voila the exact result i want.
More bugs perhaps, but after a while of getting used to everything ... they'll become less and less.

[edit-]
A good point Ian ^_^
Really all a coder has is personal opinion, oftenly forced by a situation to do something.

you ever see the reaction of the Quake community to Quake2 .Net?
hahaa, ho boy they were livid. The whole reason Quake was constantly chosen as a development engine was because of Quake2's Interlinked DLLs

alot of developeres hated the fact of
System Tolkenizer here <- Engine here -> Renderer here <-> Networker here

and the .Net version didn't just complex things, but totally put alot of guys off.
all about preferences really ... i mean DirectX9 has had Managed code since day one. I don't know of a single title in development for the mainstream yet using it.


To Survive You Must Evolve... This Time Van Will Not Escape His Fate!
900mhz | 256mb | FX5200Ti 52.16 | Dx9 | WXP-Pro
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 27th Nov 2003 04:41 Edited at: 27th Nov 2003 04:56
Hmm... Must be fun developing in the DX SDK (I've heard it's hard)

Some really good points there Raven. Freedom of code is important to most coders i would say... Without it, we feel restriced, and it's like you said, we want to get it EXACTLY the way WE want it, not how it's layed down for us.

Just my thoughts on VB, i used VB 5 once in school, and have hated it since. The first thing that annoyed me was the click-and-drag style of some of the work that was needed (I personally prefer to code everything).

I know this isn't realy a fair assumption about VB in general or VB.NET for that matter, but my first impresions were bad, so im staying away unless I need to use it (and am getting paid alot of money).

I saw mention of C, C++, and C# repeatedly in this thread, are they all just advancements on the original C language?
ie, is C++ slightly better than C and C# is slightly better than C++?? Just curious is all.

Btw, Thanks to those who answered my question about Delphi a few pages ago. ( I am now going to look into it for some app development, if i can. )


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sonic
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: UK
Posted: 27th Nov 2003 04:49 Edited at: 27th Nov 2003 05:04
Thanks to CattleR & JSN for explaining more about why they like .NET so much. I appreciate your enthusiasm

When it comes to writing "applications for the web", I've been happy using COM & VB6 as the business layer and have never had any DLL hell I'm happy to say. Is .NET going to enable me to do anything I couldn't before using COM/Perl/ASP, HTTP tunnels etc. The whole "code behind page" washes over me too as I've always favoured seperate HTML template files using placeholders for dynamic content & a quick String Replace to add the content in as this works nicely for Perl and ASP.

I want to like .NET for the benefits it brings but I'm worried about the (apparent) lack of control. It just hasn't convinced me yet!

For example, some of my reservations are:

In the case of ASP.NET, isn't it true it doesn't work without javascript turned on (for the postback function)? I for one make a habit of web browsing without Javascript because of malicious code & pop ups.

When you do a postback after scrolling down a page it doesn't reposition you at your last location, isn't this a bit of a design flaw? It looks so amaturish when that happens. In the past I would've done this sortof thing by posting to a hidden frame or layer & dynamically altering the page afterwards if required with seach results or whatever, without the need to reload.

The viewstate variable can get very long indeed. Isn't it rather unoptimal to pass a large string like that just to track a few simple variables?

By using Server Controls you put extra strain on bandwidth, reloading that viewstate again, sometimes to do a trivial task such a highlighting a row in a data grid object. Again this seems unoptimal to me.

When viewing content created in aspx via, say, a mobile device, the data is delivered for that device. That's neat but images aren't reformatted or optimized for mobiles, often they just break. Is the capability of the toys not good for detecting the capabilities of the client. As this is a toy, do you have a say in how content is delivered? Just because its IE6 for example, doesn't mean javascript is on.

When you say, write once, run anywhere, you do mean anywhere as long as its Windows, right? (server side)

As you can probably tell, my current impression of ASP.NET (in particular) is that its kinda bloatware for the web. It might make it easier and faster to write in the first instance but it has to be right, or people will not like it, particularly those not fortunate enough to have broadband.

LOL @IanM - hope your leg gets better soon LMAO!

"My ignorance amuses me..."
http://www.victory-road.co.uk
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 27th Nov 2003 07:08
except going out and buying it, this is the best way to experience Visual Studio .Net

http://msdn.microsoft.com/vstudio/tryit/

make your own decisions up about it really


To Survive You Must Evolve... This Time Van Will Not Escape His Fate!
900mhz | 256mb | FX5200Ti 52.16 | Dx9 | WXP-Pro
JSN
21
Years of Service
User Offline
Joined: 8th Nov 2003
Location: 127.0.0.1
Posted: 27th Nov 2003 10:13
Quote: "The whole "code behind page" washes over me too as I've always favoured seperate HTML template files using placeholders for dynamic content & a quick String Replace to add the content in as this works nicely for Perl and ASP. "


It's not a problem, you can have that running as well as code-behind, so you can mix see fit.

Quote: "In the case of ASP.NET, isn't it true it doesn't work without javascript turned on (for the postback function)? I for one make a habit of web browsing without Javascript because of malicious code & pop ups."


Hmmm, kinda, put when you create controls on the page, some of the JavaScript functionality is automatically created anyway.

Quote: "The viewstate variable can get very long indeed. Isn't it rather unoptimal to pass a large string like that just to track a few simple variables?"


Yes, this is true, it can get huge, but having used .net for 3 years now, I've NEVER seen a page that is over 56K in size, which, would download in a second on a 56kbps modem.

Quote: "By using Server Controls you put extra strain on bandwidth, reloading that viewstate again, sometimes to do a trivial task such a highlighting a row in a data grid object. Again this seems unoptimal to me"


Well this is where the JAvaScript would come in that is created automatically. If you were to do things properly, and of course, if optimisation was a priority, you'd simple use...

DataGrid1.Attributes.Add("OnMouseOver","this.background='#FF00FF#")

Simple...!

Quote: "When you say, write once, run anywhere, you do mean anywhere as long as its Windows, right? (server side)"


True, the servers we use at work are simply Win2K servers with the framework installed, NOT, .Net Studio.

But, we've had the 'programs' running on PC's, Macs, even my P800 can view the pages...!


Quote: "As you can probably tell, my current impression of ASP.NET (in particular) is that its kinda bloatware for the web. It might make it easier and faster to write in the first instance but it has to be right, or people will not like it, particularly those not fortunate enough to have broadband."


Very true, but one EXCELLENT thing I've noticed is that no one is saying this is the best, or this is the worst. It's been a very sensible argument/discussion and a lot of people have given feedback on why and won'ts, do's and don'ts.

Like a few have mentioned, it's what you feel comfortable with. For my work, I'd never use anything else, but for my game creation, obviously I'd stick with something that I can have more power over and more dictatorship.

HTH

~ J ~
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Nov 2003 14:44
Quote: "...I've NEVER seen a page that is over 56K in size, which, would download in a second on a 56kbps modem."


Its a common misconception that kbps = kilobytes/sec...it doesn't
it means kiloBITS/sec (KB/SEC would be kilobytes)

a 56k modem gets about 2-3KB per sec so a 56KB page would take longer than a second to load.

-RUST-
JSN
21
Years of Service
User Offline
Joined: 8th Nov 2003
Location: 127.0.0.1
Posted: 27th Nov 2003 15:24
Point taken...

~ J ~
Sly D
22
Years of Service
User Offline
Joined: 15th Oct 2002
Location:
Posted: 27th Nov 2003 16:17
I agree with IanM and Raven, good points.

A cute looking koala with a WHAT!? THEY can't use Kalashnikovs, can they?
Jonny_S
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 27th Nov 2003 23:19
I love this topic t'as inspired me to have a look at some new languages!

DBP - I havent used it in a while (dodges the old shoes and vegetables being thrown) but i may have a look tomorrow

VB - I love VB tis my favourite! I'm now at the stage where im looking ahead a couple of years at jobs which involve VB any suggestions?

Delphi - Going to take a look at delphi sounds more interesting then I first thought

C - I've tried time and time again to learn C and then move on to C++ but I keep forgetting about it, i need a good book!

Java - I may have read this wrong but java is free? didnt know that where can I get it?!

Cheers

Jonny

Supermonkey - The crime gifhting sex god monkey!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Nov 2003 01:42 Edited at: 28th Nov 2003 01:42
Quote: "VB - I love VB tis my favourite! I'm now at the stage where im looking ahead a couple of years at jobs which involve VB any suggestions?"


Ok, but I thought you said you read the thread....?

VB.NET!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-RUST-
Sonic
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: UK
Posted: 28th Nov 2003 01:43 Edited at: 28th Nov 2003 01:46
Thanks again JSN & CattleR although I'm bound to say that my misgivings for ASP.NET are not exaclty laid to rest!

The javascript problem bothers me alot, its not even as if IIS can detect if its turned on or not. Definening absolute client caps is a complex and lengthy piece of code and I'm not surprised ASP.NET fails but it disapoints me all the same. I'd have liked the controls to morph themselves into not needing javascript if it was not available.

And yes, 56K pages are just way too big - especially when you consider you might have graphics & other media to come down the pipe. Double especially if you don't bviously have a REALLY good reason to go back to the server. 4 or 5K is more what you should be aiming at. 15K of HTML at max.

However you've *pushed* me into exploring C# a little more and I have to say, where do they get off calling it C anything? They've made a habit of giving a new concept the same name which initially makes it seem like C++ but when you realize it does somthing different this practice is bound to confuse. Too much stuff to mention here but the automatic "boxing" really threw me, is it a static var on the stack or a dynamic var on the heap? Its BOTH silly!:

int x = 3; // new int value 3 on the stack
object objx = x; // new int on heap, set to value 3 - still have x=3 on stack
int y = (int)objx; // new value 3 on stack, still got x=3 on stack and objx=3 on heap

IMO you'd have to "unlearn" most of your C++ do work with C#. On the other hand a VB.NET programmer would pick it up in a breeze as its almost 1:1, just a syntax difference. Someone here mentioned it looked more like Java and I'd have to agree! Considering that MS have now stopped development of Visual J++ you'd be forgiven for thinking that that is exactly what C# really is, Java.NET

Useful link on the topic: http://www.andymcm.com/csharpfaq.htm

"My ignorance amuses me..."
http://www.victory-road.co.uk
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 28th Nov 2003 02:00
http://www.javafile.com, a good site there

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
JSN
21
Years of Service
User Offline
Joined: 8th Nov 2003
Location: 127.0.0.1
Posted: 28th Nov 2003 02:05
No probs at all sonic, I think CattleR is the man for the c# avenue, so I'm sure he'll be able to help a lot more than I can.

Take it easy...

~ J ~
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Nov 2003 04:08
Actually no, I am a VB guy who is really impressed with vb.net is all, sorry - oh, and there is J# which is the next implementation of J++

I'll try and help with any .net general issues tho


-RUST-
Sonic
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: UK
Posted: 28th Nov 2003 04:34 Edited at: 28th Nov 2003 04:39
Nice one guys - I was just interested in C# because I've been learning C++ lately and I suppose I'm looking for a language I can code Web (work) and Games (pleasure) in. C# would appear to fit the bill - I'm just aware of the difficulty of switching between C# and C++. The C++ Managed extensions are very ugly indeed presently and if your coding Managed Style then why bother with it?

Precicely this is an example of the problem:

C++
1) CMyObj* pObj = NULL;
2) pObj = new CMyObj();
3) delete pObj;

Here it is perfectly clear that pObj is a pointer to an object. Line 1 does nothing but declare it. No contructor is called until line 2.

1) CMyObj Obj;
2) Obj.SetName("Kevin");

Again, perfectly clear - the default constructor is called on line 1 and we begin using the object straight away. No need to delete any Heap memory allocation.

C#
1) CMyObj Obj;
2) Obj = new CMyObj()

OR

1) CMyObj Obj;
2) Obj.SetName("Kevin");

Does the default constructor get called on line 1 in either case? Do I need to instatiate it with "new" or not?

In both cases it is ambiguous, is the default constructor called on line 1 or not? Is it a "reference" type object on the managed Heap or on the Stack? C# Version 1 "boxes" (is that the term?) onto the Heap whereas version 2 places it on the Stack (apparently). Thus version 1 calls the default constructor on line 2 but version 2 must call it on line 1? Again they use the term Refence to make it sound like C++ but in C# you can have a reference to a NULL. So its more like a pointer. And pointers have gone. The destructor may not be called at all!

From the FAQ:
Are C# destructors the same as C++ destructors?
No! They look the same but they're very different. First of all, a C# destructor isn't guaranteed to be called at any particular time. In fact it's not guaranteed to be called at all. Truth be told, a C# destructor is really just a Finalize method in disguise.

If C# destructors are so different to C++ destructors, why did MS use the same syntax?
Because they're evil, and they want to mess with your mind.


Maybe the details of this don't really matter but its confusing to me all the same. In VB I never had a problem with this:

Dim Obj as CMyObj
Set Obj = new CMyObj()

or

Dim Obj as CMyObj
Obj.Name = "Kevin"

This never bothered me as VB was weak on overloaded constructors. Usually an object was either entirely static or had to be dynamic, not both.

Unlike C++ C# programs cannot contain functions outside classes, Multiple inheritance is out, Interfaces are in....and so on. Oh and forget about the semi-colon at the end of a class declaration. And header files are out....The .NET classes are a true wonder it has to be said but I'm really not sure what C# has to do with C or C++. To me, Its more like PHP with classes :-P

"My ignorance amuses me..."
http://www.victory-road.co.uk
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Nov 2003 04:57
the .net framework garbage collection will call Dispose() when it deems the object is no longer needed

-RUST-
MicroMan
21
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 28th Nov 2003 06:22 Edited at: 28th Nov 2003 06:25
I have to be honest and tell you I don't really see the point with C# as the common language runtime of C# and VB.Net are the same. For clarity's sake I would use VB .NET rather than C#.

If there was the need for the control inherent in C++ then it would probably be better to use C++ rather than to go to C#. If you require that level of control you are bound to want to mess with Windows at a lower level anyway, and would require interfacing with Windows beyond .Net.

So, there's really no point in changing language from C++ to C#. What I mean is... A VB 6 programmer would want to move up because of the improvements in the language from VB 6. I just didn't see the same level of benefits moving from C++ to C# when I read through the documentation of Visual Studio .Net.

Though this notion of mine is of course tempered by the fact that I didn't really concern myself with the C-based side of things beyond what was common for the whole package.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
heartbone
22
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 28th Nov 2003 06:25 Edited at: 28th Nov 2003 06:26
Amos Professional is my favorite development language by far.

Easily Confused: I had Amos Pro on my Amiga 1200, Ah memories.

But what was the name of the in built language that enabled you use sprites and build gadgets and dialogs boxes with?


It was called the AMOS Professional Interface

The more you see, the more you know.
The more you know, the more you see.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 28th Nov 2003 08:31
Yes the VB advancements in .NET are tremendous to say the least, but as far as the c-based things go, I can't say. Good luck to all who give it a try.

-RUST-
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 28th Nov 2003 15:52
I've been studying in Computing about 'Pascal', and was thinking about learning it because it looks pretty easy - also I want to build up my knowledge on different programming languages

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
JSN
21
Years of Service
User Offline
Joined: 8th Nov 2003
Location: 127.0.0.1
Posted: 28th Nov 2003 18:19
I started my YTS training in Pascal (as well as COBOL, GW and others)

Pretty easy to learn, it's a good starting block.

~ J ~
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 29th Nov 2003 03:12
Quote: "It was called the AMOS Professional Interface"

Well no wonder I couldn't think of it, there I was trying to remember some flashy title for it

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 30th Nov 2003 17:01
Wow! This is the most response I've had on a forum - 126 127 including mine

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 30th Nov 2003 18:06 Edited at: 30th Nov 2003 18:08
Wow 130 including mine!
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 30th Nov 2003 22:46
Wow!


This could go on a long time.

...and like that; he's gone...
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 30th Nov 2003 22:53
Quote: "Wow 130 including mine!"

someone can't count
its 130 now including this post


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 30th Nov 2003 23:02
He he exactly! I knew that you would have to reply to my post, and your reply made 130. Therefore it was 130 because of my post! lol!
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 30th Nov 2003 23:08
whoah dude! quit messing with my mind, i'm like totally freaked that you managed to screw me up into thinking that, whoah!
your a cunning man


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 1st Dec 2003 11:43
Indeed he is

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 2nd Dec 2003 00:26
sorry you c++,c#,v.b. programmers but my favourate is pascal, if only because it's the only language i can properly use, followed by dbp/dbc, they are second because they have suddenly stopped working on my pc so i can't learn any more of the language.
i have written a few progs in pascal that anyone can try if they want:
a shape calculator for volumes, areas, surface areas http://www.lochviewwest.plus.com/shapecalc.exe
a calculator:http://www.lochviewwest.plus.com/calculat.exe
and a simple game:http://www.lochviewwest.plus.com/game.exe

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 2nd Dec 2003 14:39
Some good programs there

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
MicroMan
21
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 2nd Dec 2003 18:24
As another Pascal programmer I can only agree, of course. Pascal is such an elegant little language. There aren't many keywords to learn, and everything is so strict that there's very few exceptions to the rules to remember.

Yet, you can du just about anything in it. And, it's lightning fast too.

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 2nd Dec 2003 22:21
My favouruite is DBPro(but its also the only one i've got - apart from dev-c++(i'm 14 and only got into programming in the last couple of months))

Flick that switch...*BANG*...Not that one!
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 4th Dec 2003 20:15 Edited at: 4th Dec 2003 20:18
Quote: "Some good programs there "


@J D Programming:asuming you mean mine, thanks a lot , i did the calculator cause i got bored one saturday, the other two i did for an assesment in school but i have added things since those versions (eg. more shapes to calculate, an option to return to the main menu if you quit), if anyone wants the source code just ask, the_mapper@hotmail.com


btw, i am 15 and was 14 when i wrote the above programs, with less than a year's experience of programming

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 4th Dec 2003 20:41 Edited at: 4th Dec 2003 20:45
in fact, here is the source code:
http://www.lochviewwest.plus.com/shapecode.doc
http://www.lochviewwest.plus.com/calccode.doc
http://www.lochviewwest.plus.com/gamecode.doc
am'nt i generous

[edit]: i have fixed a few bugs in the above programs too,(see my earlier post) so if there is something wrong with the version you have try downloading it again

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 5th Dec 2003 13:44
Thank you, 'mm3zct'

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 5th Dec 2003 20:46
i have started a pascal2db conversion for the faq too,
http://www.lochviewwest.plus.com/pascal2db.html
let me know what u think

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 5th Dec 2003 21:30
its coming along nicely! just 1 suggestion, try and use fairly good grammar, just things like capital letters and full stops, it just makes it look better somehow, also maybe try highlighting commands in some way:
'print' or "print" or print...
you get the picture


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 5th Dec 2003 22:23 Edited at: 5th Dec 2003 22:23
There are a few typos:

- FOR-loop:
...
is similar and would be
for (integer variable)=(integer1) to (integer2) do
(*code*)
next integer variable
1) There's no "do" in a Basic FOR loop
2) The count variable needs to precede the next command

- About IF/THEN
In DB an IF-Block goes without then
IF a>b
[statments]
ENDIF
but a single line IF:
IF a>B THEN statement

Me, I'll sit and write this love song as I all too seldom do
build a little fire this midnight. It's good to be back home with you.
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 5th Dec 2003 23:54 Edited at: 6th Dec 2003 00:35
sorry, i guess i am a little tired, i will take everything into acount and be more careful but anything i make in dbp doesnt run, dbp does but no exe i make does so it gets a bit difficult to check things.
thanks

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 6th Dec 2003 00:29 Edited at: 6th Dec 2003 00:36
@red_eye : i noticed what was wrong, i did it in a text ed and pasted into the web page but it lost the bold etc. that's why it's not highlighted, it was underlined and bold before but it lost it,i will try to fix it

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 6th Dec 2003 02:20
i think DB and VB are cool! i also love using Delphi 7 and c++ builder. these guys rock n roll!

‘Those who ignore the lessons of the past are doomed to repeat them’ (Napoleon)
DevilLiger
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: Fresno,CA,USA
Posted: 6th Dec 2003 07:49
well i've got visual .net right now from my computer concepts teacher and so far i don't know anything because she only taught us one lesson so far. so i can say that it's gonna take a while so that's why i prefer DarkBASIC because it has lightening fast results.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 6th Dec 2003 12:59
You could buy a book for VB but it would probably cost you £50. Then you would find that VB is also quick to learn.
mm0zct
21
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 6th Dec 2003 18:38
my pascal2db site has been updated and fixed for anyone interested

http://www.lochviewwest.plus.com/pascal2db.html

AMD duron 1.3G, 640Mb ram, 40Gb HD, ati saphire radeon 9600 atlantis w/128mb ddr ram, good creative-labs soundcard, cd-rw + dvd drives.
MicroMan
21
Years of Service
User Offline
Joined: 19th Aug 2003
Location: Stockholm, Sweden
Posted: 6th Dec 2003 18:54
@mm3zct

Interesting project you've got there. Just a little nit, though. You do have 'procedures' in dark basic pro, except they're called functions. I prefer to use functions rather than subroutines anyway because of lots of things.

So:

procedure SomethingOrOther;
begin
// doing something
end;

would be

Function SomethingOrOther
rem Doing something here
Endfunction

-----
They SAID that given enough time a million monkeys with typewriters could recreate the collected works of William Shakespeare... Internet sure proved them wrong.
-----

Login to post a reply

Server time is: 2024-11-24 09:31:15
Your offset time is: 2024-11-24 09:31:15