Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 127 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:42 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49232
Grim... wrote:
jonarob wrote:
So does everyone here know how to fucking code?

Yeah, but I'm best ;)


For a given value of best....

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:46 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69507
Location: Your Mum
Code:
SELECT username FROM programmers ORDER BY skill DESC LIMIT 1;

----------
|username|
+--------+
|Grim... |
----------

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:47 
User avatar
Heavy Metal Tough Guy

Joined: 31st Mar, 2008
Posts: 6510
There's only one way to settle this - a good, old fashioned code-off!


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:50 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 3542
i never felt that i was the least nerdy guy like i'm feeling now


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:52 
Excellent Member

Joined: 30th Mar, 2008
Posts: 8
Ruby is nice and has the most beautiful tutorial of any language :)

http://poignantguide.net/ruby/


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:57 
Excellent Member

Joined: 30th Mar, 2008
Posts: 112
VB.NET is good for knocking things together quickly. C# is probably more useful, since it's essentially the same thing as VB.NET (only the syntax is different), and if you know C# you'll be able to pick up PHP, ActionScript, C, C++, Javascript, Java and indeed any other C-style language without a great deal of effort.

PHP works as a starting point since it's incredibly easy to get things working. It also teaches some fantastically bad habits - as do a lot of scripting languages - so although you get the satisfaction of making things work, you're not necessarily learning the best way to do things.

Java is another good starting point. There's not a great deal of difference between that and C#, except that Java is obviously a better choice if you don't use Windows. The last time I used Java (just before the release of 1.5, I think) I found it did have its problems though, mainly because of the iterative way it's been developed (retaining backwards compatibility between versions equals cruft).

Only a mentalist starts learning to program with C or C++.

Have you considered something like Blitz BASIC? You can get stuck into writing interesting games pretty much straight away. The problem with Java/VB.NET/C# is that they're, well, boring. Same with PHP - you can make text appear in a web browser. Not as entertaining as a game. Also, if you write a game, we can demand that you fit it with joystick controls.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:57 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69507
Location: Your Mum
gravy wrote:
Ruby is nice and has the most beautiful tutorial of any language :)

http://poignantguide.net/ruby/

If that's the one about programming whilst eating a pizza I will laugh and point at you, sir.

[edit]Phew.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 16:59 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
Ruby is a glorious language. Not done anything really with it yet, but it's lovely to learn and tinker with. Not least because that guide is so amusing and unusual, yet still right and good.

However, I can't think of anything that jonarob would ever want to do with Ruby, and it's completely unlike most 'big' languages, alas. Or I'd have recommended Python already.

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:01 
Excellent Member

Joined: 30th Mar, 2008
Posts: 8
CUS wrote:
Ruby is a glorious language. Not done anything really with it yet, but it's lovely to learn and tinker with. Not least because that guide is so amusing and unusual, yet still right and good.

However, I can't think of anything that jonarob would ever want to do with Ruby, and it's completely unlike most 'big' languages, alas. Or I'd have recommended Python already.


I dunno, I've found Ruby coupled with Rails to be fantastic for web development :)

Python does seem nice too


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:01 
Excellent Member

Joined: 30th Mar, 2008
Posts: 489
Plissken wrote:
VB.Net is lovely. As an old school ASP/VBA/HTML programmer, both it and ASP.NET took a while to click but when it works, it really works. I wouldn't think that you hit those hurdles if you start off from scratch.

As mentioned, the VS.NET Express series of free products are a good intro.


I'm an old school asp/vba/html programmer, and I just don't get on with ASP.NET at the moment. It doesn't seem to give you the control of the outputted html that classic asp does, what with the server controls for form input etc. it seems you have to go through a lot of hoops and control properties to do something that would take 5 seconds in classic asp.

Could you recommend any tutorial sites that are aimed at going from classic asp to ASP.NET?


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:05 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
gravy wrote:
I dunno, I've found Ruby coupled with Rails to be fantastic for web development :)

Heh. Well, yes. But jonarob doesn't want to do webby stuff - I only recommended PHP because it's the simplest, least troublesome C-style language I can think of.

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:24 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
Well I ordered that book and I'm gonna have a go at C# - if it is a bit too much then I'll take CUS' advice and start with PHP because it does look pretty straightforward. Thanks guys! I'll let you all know how I get on :)


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:34 
User avatar
Paws for thought

Joined: 27th Mar, 2008
Posts: 17154
Location: Just Outside That London, England, Europe
mrbogus wrote:
Only a mentalist starts learning to program with C or C++.


Hello! I don't actually see why people have any problems with it. It's lovely.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:36 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69507
Location: Your Mum
jonarob wrote:
I'll take CUS' advice and start with PHP

/clears throat loudly

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:37 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
andyb wrote:
I'm an old school asp/vba/html programmer, and I just don't get on with ASP.NET at the moment. It doesn't seem to give you the control of the outputted html that classic asp does, what with the server controls for form input etc. it seems you have to go through a lot of hoops and control properties to do something that would take 5 seconds in classic asp.


*smiles* Yes, that is the thing, you have to unlearn all that stuff. Or rather, forget it. Completely, utterly. If you try to understand the generated HTML output, you will get very, very confused. Well, assuming you could even work it out.

You have to think of the page as a compiled form, similar to a VB program or user interface in Access, click here to do X, click here to do Y. The page "remembers" variable settings and so on - I am not quite sure how, but I vote witchcraft. Instead a client/server relationship, the browser is acting like a terminal window, merely rendering HTML output while all the complicated gubbins happens deep within IIS.

I still haven't got the hang of large bits of it - persisting objects across Postback is well beyond me right now (as indeed is understanding of exactly what happens on Postback and during page build) but when it does click, by God you can do some good stuff with it. Light years ahead of many other things, IMO.

OTOH, setting up a paging, sortable Gridview from a SQL database can be done in a minute in ASP.NET and well, never in ASP.

Quote:
Could you recommend any tutorial sites that are aimed at going from classic asp to ASP.NET?


I started with this book.

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:39 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
gravy wrote:
Ruby is nice and has the most beautiful tutorial of any language :)

http://poignantguide.net/ruby/



At no point did someone say "Nice idea. Now do it properly."

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:41 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
Grim... wrote:
jonarob wrote:
I'll take CUS' advice and start with PHP

/clears throat loudly


Or was it Grim...'s advice?

I'll take it from anyone.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 17:50 
User avatar
Paws for thought

Joined: 27th Mar, 2008
Posts: 17154
Location: Just Outside That London, England, Europe
Plissken wrote:
You have to think of the page as a compiled form, similar to a VB program or user interface in Access, click here to do X, click here to do Y. The page "remembers" variable settings and so on - I am not quite sure how, but I vote witchcraft. Instead a client/server relationship, the browser is acting like a terminal window, merely rendering HTML output while all the complicated gubbins happens deep within IIS.


By default in the viewstate - A hidden field in the page. Although you can change this (And often want to, as the viewstate can get horrifically big) to work in different ways.

But yes, completely different from any other kind of web programming. It's designed to have the same code mechanisms as windows forms and similar.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 18:51 
Excellent Member

Joined: 30th Mar, 2008
Posts: 112
Mr Dave wrote:
mrbogus wrote:
Only a mentalist starts learning to program with C or C++.


Hello! I don't actually see why people have any problems with it. It's lovely.


I should have added, "when there are far easier language to start with". They're my current favourite languages, but I wouldn't start out with either as a beginner.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 19:04 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
jonarob wrote:
I'll take it from anyone.

/me clears throat loudly.

And that's not why Grim... was clearing his, jonny boy.
Mr Dave wrote:
Hello! I don't actually see why people have any problems with it. It's lovely.

C? As a first programming language, in this exciting future we live in? It doesn't even do strings!
I rather like C++ and I even wrote the beginnings of a shitty Scramble clone in it (libSDL is lovely for cross-platform gammy stuff). As Mr. jonny's first programming language to see what it's like? 8)

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 19:08 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
I do rather like your new signature, CUS :)


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 19:48 
User avatar

Joined: 30th Mar, 2008
Posts: 2046
Stuart Ashen wrote:
Nothing ever dies in the world of computers, does it?
I know. I've got something from 1995 on the web somewhere still. Which is kinda cool, I guess. :)

Anyway, programming. It's the one thing I can't get my head around, despite having used computer for a long time and since a young age - can't even manage HTML. What is the knack to learning programming? Oh, and where do people learn it generally, could it be that as I've never taken any sort of computer-y qualifications or courses (not even GCSE IT) that I'm at a disadvantage?


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 20:14 
User avatar
Lord Of The Powerchord

Joined: 30th Mar, 2008
Posts: 174
Location: Merrie England
BlitzMax is fairly lovely -- a nice take on object orientation without the brackets 'n' braces stylings of the c-alikes. Not free though.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 20:17 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
Anonymous X wrote:
can't even manage HTML

HTML isn't a programming language. :nerd:

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 20:38 

Joined: 30th Mar, 2008
Posts: 8679
jonarob wrote:
I see what you're saying certainly, but I'm not really interested in a quick product. I want to know a good, useful language that will set me up to understand any of the others I may want to learn.


Personally I feel if you go off an do VB etc you'll be ultimately wasting your time, doing simple things in c# is not tricky and help is always a google away. Plus it's intelisense and autocompletion is absolutely top notch. I don't see how a webby language like php is remotely helpful to you and all the people pushing their pet niche language are fine and all, but you'll be able to apply it to fuck all.

Quote:
So does everyone here know how to fucking code? This is why I want to learn. I feel like a right spack for not knowing something that everyone else seems to.


I hope so, they pay me the medium bucks to do so.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 20:55 
User avatar
Kindly deeds done for free

Joined: 30th Mar, 2008
Posts: 1326
Image


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 20:56 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
Dudley wrote:
I don't see how a webby language like php is remotely helpful to you.

He needs to learn about functions and variables and arrays and strings. PHP is the fastest way there. Then, he can think 'Right... now what do I really want to DO, now that I have some idea of how I go about it?', or whatever. C# is surely the best language for him to actually latch onto firmly, but learning PHP first can get him there faster. Yes.

It is a c-style language with a very similar syntax to C#, Java, C++ etc. It's a language that lots and lots of people know - and which even if they don't, they can easily help him with, due to its clear syntax. C# on the other hand is still too new for some, or just not of interest, with some unique keywords. Also, intellisense and that is great and all, but that mostly just teaches him how to use Visual Studio, and to be potentially confused by OO.

Getting going only RIGHT NOW JONAROB BABY only requires downloading XAMPP, a decent free text editor - Notepad++ is my current fave - and he can start on it right away. Jonarob could literally have learned the basics of programming in a day or two. He can see results on his screen in a useful fashion that requires no compilation to extra steps. Plus, he can say he 'knows PHP' and thereby piss off proper PHP programmers who expect to be paid well to do amazing stuff, and rarely, sadly, ever are. Don't get a job doing PHP, jonarob.

edit: fuck's sake - or what tossrstu said far more succinctly :D

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 20:57 
User avatar
Skillmeister

Joined: 27th Mar, 2008
Posts: 27023
Location: Felelagedge Wedgebarge, The River Tib
Winnar! :DD to Stu, obv.

_________________
Washing Machine: Fine. Kettle: Needs De-scaling. Shower: Brand new. Boiler: Fine.
Archimedes Hotdog Rhubarb Niner Zero Niner.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 21:07 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
I've fished out my "A Level Computing" book (stolen from college and never returned), and I'm learning the basics of programming with the wonderful TURBO PASCAL.

Turns out, I already know most of this, so I must've been paying attention.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 21:24 
User avatar
Lord Of The Powerchord

Joined: 30th Mar, 2008
Posts: 174
Location: Merrie England
Dudley wrote:
I don't see how a webby language like php is remotely helpful to you and all the people pushing their pet niche language are fine and all, but you'll be able to apply it to fuck all.


A lot of the script-like languages make picking up the principles of OOP a bit easier, that's all I'd say -- I'm glad I learned OOP with BlitzMax as applying the knowledge to lower-level languages is a cinch. Can't really argue about PHP, though -- that would be a really odd first language. 8) (I'm trying to find excuses to use these most excellent new smilies.)


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 21:26 
Excellent Member

Joined: 30th Mar, 2008
Posts: 112
CUS wrote:
Dudley wrote:
I don't see how a webby language like php is remotely helpful to you.

He needs to learn about functions and variables and arrays and strings. PHP is the fastest way there. Then, he can think 'Right... now what do I really want to DO, now that I have some idea of how I go about it?', or whatever. C# is surely the best language for him to actually latch onto firmly, but learning PHP first can get him there faster. Yes.


Friend of mine decided to learn the guitar when he was (much) younger. He went to his first guitar lesson and spent an hour learning how to play an open E string. He never looked at the guitar again and eventually sold it.

Years later, he got another guitar and just played along with records. Now he's rather good at it.

My point is, how many beginners really want to learn the proper way to do things? When I started out I didn't care about functions or variables or classes or arrays or strings or anything else, I just wanted to make some stuff move about on the screen. Same with the guitar - playing the same note for an hour isn't any fun, and although it might teach you the *right* way to play that note, if you don't enjoy it then everything you've learnt is useless because you'll just give up.

I was thinking about this the other day, so I'd be interested to hear what people think. If you were going to teach someone to program, would you show them how to do something simple but interesting (make a sprite move around in a Java applet, for example) and gradually explain how you've done it, or would you start them off with functions, variables, classes, etc, and gradually build towards something interesting? My thinking is that if you don't grab someone's attention right at the start they'll never get past the first few lessons.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 21:42 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
I was simply suggesting that he learn what variables, functions, strings etc. are whilst seeing their results on-screen, right now, with little effort, right now guy. Then he could go onto C# with a degree of confidence. Since he's already got Turbo Pascal about, he might as well go straight onto C# after, it'd accomplish the same purpose... mostly... enough, I expect.

Quote:
When I started out I didn't care about functions or variables or classes or arrays or strings or anything else, I just wanted to make some stuff move about on the screen.

But that isn't learning how to program, which is what he asked about. *rethinks* Oh, are you suggesting he... downloads a sample game or something, and sort of fiddles with it a bit? That might work too, I support that's one way to see how you can... make shit happen. It's just completely the opposite way to how I would do it, but YOAYO *shrugs*

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 21:54 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
mrbogus wrote:
I was thinking about this the other day, so I'd be interested to hear what people think. If you were going to teach someone to program, would you show them how to do something simple but interesting (make a sprite move around in a Java applet, for example) and gradually explain how you've done it, or would you start them off with functions, variables, classes, etc, and gradually build towards something interesting? My thinking is that if you don't grab someone's attention right at the start they'll never get past the first few lessons.


I'm entirely self taught in (counts on fingers) far too many languages. Mainly by taking the Nike approach and having an idea and Just Doing It.

The downside to this is that some of the terms used pass me completely by. I couldn't describe what a strongly typed array is* but I will automatically use them all the time, and tell off my PFY (fresh out of Uni with a 1st in Comp Sci) for not type declaring all his variables.

I do believe in a natural aptitude for programming, though. Mine was because of all the (borrowed -Ed.) games I used to have for my Vic-20, C64 or Amiga, where you could only work out the instructions from the reviews and tips pages as (the friend had not lent you the instructions - Ed.).

*Actually, I do. Bad example.

Edit:Forgot the footnote

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 21:56 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
I just programmed something in Pascal using Notepad++ and some strange free compiler. It kind of worked a bit. I managed to make an exe file and it outputs in a cmd prompt sort of thing, but it just flashes on and then closes. Somehow I managed to make it stay on and the calculation I did was out by a decimal place. Learning is fun.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 22:04 
User avatar
Lord Of The Powerchord

Joined: 30th Mar, 2008
Posts: 174
Location: Merrie England
Quote:
If you were going to teach someone to program, would you show them how to do something simple but interesting (make a sprite move around in a Java applet, for example) and gradually explain how you've done it, or would you start them off with functions, variables, classes, etc, and gradually build towards something interesting? My thinking is that if you don't grab someone's attention right at the start they'll never get past the first few lessons.

The real question you need to answer in deciding which language to go with is how far you want to be abstracted from the compiler -- all OOP languages will abstract the problem you are trying to solve, because that's what OOP is, and you will be expressing pretty much the same *stuff* in all of them. The difference is that C-alikes will require you to have a better handle on what's really going on (like knowing what pointers are) and hold the compiler's hand for it (this is the end of the line Mr Compiler;) whereas script and BASIC derivatives won't so much. Can you get interesting things up and running in BlitzMax (might as well keep pushing my fave!) faster than C#? Sure. Does it take a long time to get things running in C# by any objective standard? Not really (see XNA). You can't really go wrong.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 22:05 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
jonarob wrote:
the calculation I did was out by a decimal place. Learning is fun.

:)

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 22:38 
User avatar
Lurker

Joined: 30th Mar, 2008
Posts: 993
Location: Wigan
I am going to copy Jonarob and buy that book, as I too am a simpleton who can't code yet who got a C in A-level Computing (by programming a simple database in BASIC).

_________________
Splendid.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 22:57 
User avatar
Kindly deeds done for free

Joined: 30th Mar, 2008
Posts: 1326
Dimrill wrote:
Winnar! :DD to Stu, obv.


Winnar... or LOSER?

Code:
10 LET t=0
20 FOR x=32768 TO 32814
30 READ y
40 POKE x,y
50 LET t=t+y
60 NEXT x
70 IF t<>4154 THEN PRINT "Error in data" : STOP
80 RANDOMIZE USR 32768
90 DATA 17,16,128,1,31,0,205
100 DATA 60,32,62,0,211,254,60
110 DATA 24,251,32,66,65,83,73
120 DATA 67,32,105,115,32,97
130 DATA 108,115,111,32,102,111
140 DATA 114,32,115,107,105,108
150 DATA 108,109,97,115,116,101
160 DATA 114,115


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Wed Apr 09, 2008 23:36 
User avatar
MR EXCELLENT FACE

Joined: 30th Mar, 2008
Posts: 2568
If you want to learn java I can get you a lovely free copy (pdf, natch) of a very good textbook. It's being written by one of the lectures at our university and is a very good way of teaching things. Well, some of the examples are fucking crap and the guy likes to do things in very round a bout ways, but the fact is it sets you nice little exercises.

Why not try and and I'll mark them for you? ;) If you learn Java, it's a very small step to learn C#. And from there it's an even smaller step to learn C/C++. Personally my favourite language is ARM Assembler. Nothing like predicated instructions to get me hard.

_________________
This man is bound by law to clear the snow away


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 0:39 
User avatar

Joined: 30th Mar, 2008
Posts: 2046
CUS wrote:
Anonymous X wrote:
can't even manage HTML

HTML isn't a programming language. :nerd:
It is to anyone who knows nothing about computers.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 0:48 
User avatar
Most Excellent Pagan Wench

Joined: 3rd Apr, 2008
Posts: 361
Location: Norfolk, UK
There's loads I'd love to learn, but I have a slight learning difficulty and I'm still working on simple thigns like HTML and CSS, let along moving onto programming.
Still, in future I do intend to look further in to it Image

_________________
Image
Image


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 2:35 
User avatar
Paws for thought

Joined: 27th Mar, 2008
Posts: 17154
Location: Just Outside That London, England, Europe
CUS wrote:
jonarob wrote:
I'll take it from anyone.

/me clears throat loudly.

And that's not why Grim... was clearing his, jonny boy.
Mr Dave wrote:
Hello! I don't actually see why people have any problems with it. It's lovely.

C? As a first programming language, in this exciting future we live in? It doesn't even do strings!
I rather like C++ and I even wrote the beginnings of a shitty Scramble clone in it (libSDL is lovely for cross-platform gammy stuff). As Mr. jonny's first programming language to see what it's like? 8)


*cough*
(Admittedly, I just use WCHAR arrays for everything string related, but still...)

I just prefer it as it gives you a much greater idea of what the hardware is actually doing over any other non-assembly language.
(See also: Why I quite like x86 assembly)


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 7:36 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 3
On the subject of Ruby, this book http://www.pragprog.com/titles/fr_ltp is by all accounts a good introduction to programming if you have absolutely no past experience. A few sample chapters online too.

I'm a freelance programmer fluent in several languages and I'd have gone for a dynamic scripting language such as Ruby as a starter for 10. Ignoring all the Rails hype, the underlying Ruby language is fantastic for getting a lot done in relatively few lines of code, and it will teach you sound object-oriented concepts applicable to many other languages.

_________________
Discount Codes @ VoucherMAD.co.uk - save money on shiny stuff and laugh at my "design" skills


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 9:28 
User avatar
making out to faces of death

Joined: 1st Apr, 2008
Posts: 2686
Location: Sadville
I think I have to learn C-something again soon.

Right now the only programming I do (under sufferance) is in LSL, a scripting language. "They" are putting some "Mono" thing into the system so it will be all "proper" languages then. :nerd: :'(

_________________
Me flickr
Image


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 9:52 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
Scarysheep3000 wrote:
I am going to copy Jonarob and buy that book, as I too am a simpleton who can't code yet who got a C in A-level Computing (by programming a simple database in BASIC).


Are you me?


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 10:09 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49232
I also got a C for a-level computer science. The teacher decided that my awesome Pascal (Turbo? Ooh, fancy!) written company payroll system wasn't 'appropriate' as a project. Even though he'd been saying how ace it was all year.

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 10:16 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Craster wrote:
I also got a C for a-level computer science. The teacher decided that my awesome Pascal (Turbo? Ooh, fancy!) written company payroll system wasn't 'appropriate' as a project. Even though he'd been saying how ace it was all year.

Bizarre, I too got a C and also used frigging pascal. In my defense though, the lecturer for the course dissapeared after the first year, and for half of the second year we got a sub who just said 'keep, errr, doing your pascal', which basically meant all we did was piss about on the internet all lesson, every lesson. Eventually a full-time person was hired but he didn't actually have a clue about the course, and it was too late to actually teach us anything. Complete shambles, I say.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 10:22 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69507
Location: Your Mum
I got an F, mainly because we (as in, the whole class) did the wrong coursework, and all got a 'U'. The genius teacher ever taught us LIFO and FIFO backward. He left that year when the PC replaced the Acorns.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 10:36 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
:D We were joking at work yesterday about how useless most computer courses are. Lots of 'This is how the bus works' and 'This is FIFO, LILO, LIFO, FILO...'. Over and over and over and over again.

I have never needed to know the difference between a MAN and a WAN.

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Programming
PostPosted: Thu Apr 10, 2008 10:38 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69507
Location: Your Mum
LILO is FIFO, surely?

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 127 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.