Noobie Needs.-----Poll,Please Have A Vote-----

Everything else that doesn't fall into one of the other PB categories.

Suggested Programs List For Beginners?.

Poll ended at Fri Jun 09, 2006 9:14 pm

Good Idea,Would Help Learn More About PB,And Programming.
12
75%
Don`t Think We Need It,Carry On As Before.
4
25%
 
Total votes: 16

ferty
User
User
Posts: 70
Joined: Fri Jun 03, 2005 8:22 pm
Location: Glos,Uk

Noobie Needs.-----Poll,Please Have A Vote-----

Post by ferty »

Hi,I was just thinking that it may be a good thing for beginners,if there was some sort of suggestion list of programs,in terms of size and difficulty that were recommended for beginners to try to program,each using or introducing new ideas,and new areas/functions of PureBasic.
And prehaps have a few pointers regarding each program.

I myself have only written a few programs,and find it difficult to find somthing to code that will help learn more about PB ,whilst not scaring me away from trying.

Does anyone think this would be a good idea,prehaps a sticky?.
Last edited by ferty on Sun Jun 04, 2006 11:49 am, edited 1 time in total.
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

It's a good idea, although it could cause a few problems. It might accidently encourage noobies to just make a few changes to the example and take all of the credit for it.
~I see one problem with your reasoning: the fact is thats not a chicken~
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Do not supply an example. Simply publish the exercise program description.
ferty
User
User
Posts: 70
Joined: Fri Jun 03, 2005 8:22 pm
Location: Glos,Uk

Post by ferty »

Yes,thats what I was thinking.

A goal for the program,with ideas and suggestions of techniques and coding styles to achive the goal.

As I`m sure there will always be many ways of reaching the goal,all of them different.(As I know,I recently asked about speeding up the loading of text into an editor gadget,and was shown a way I would never have thought of,which worked really well,And I have now learned that,thanks to someone else`s knowhow being passed to me.)

They could be along the lines of the following.



Program: Lotto number generator.

Goal produce 6 numbers between 1-49,And output as a string.

Ensure each number is the same output size(Padded)

Ensure there are no duplicate numbers

Output should be in acending numerical order.


Some of the above steps will have many ways of being implimented,depending on your style.

All of these styles will help beginners to understand that there are meny ways to the same goal.


The above probably seems really simple to someone whos been coding for a while,but to a beginner,it may be much harder.

For most steps it is simple,but for one or two there may be a few questions,and it`s these steps that will teach the most.


I just think that there is so much to PB that a lot of users never try,but would be great to use,and learn.

I mean How many users can say they have used most of the commands in PB,and that they understand there use.

Thanks.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I don't know ferty, personally I don't think this would have worked for myself as I tend to work on things which interest me. Think about it, a newbie is, by definition, not a professional programmer (as yet!) and so is starting out on this road, motivated probably by self interest and a fascination for the art of programming. For me, being told what to program would remove a lot of the enjoyment, the satisfaction of having produced a program all of my own.

I think some kind of tutorial system might be more appropriate, although blueznl, for example, has done a grand job with his PB survival guide and others have posted various tutorials from time to time.

People could offer to create some basic tutorials or someone might take charge and request others to do so. E.g. I nominate Fangbeast to create a tutorial on using SQLite and Sparkie to create a tutorial on pulling impossible solutions to impossible problems from out of nowhere!. :D

Myself, I'm working on a tutorial on how to make a fortune from writing Purebasic programs. (It begins by encouraging the programmer to write, and sell, a tutorial on how to make a fortune... Uhm, that's about as far as I've got actually! :) )
I may look like a mule, but I'm not a complete ass.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4792
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Cheeky bugger!! I'll do an SQLITE tutorial the day someone shows me how to integrate blobs into my existing code. Until then, it's not worth it because it would be incomplete.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

I'll second the vote for a blob tutorial (although the example is nice). Bind too :D

Fleshing out the sqlite documentation in PBOSL would also be a nice addition, if you have time on your hands :D

cheers
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4792
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

I can't touch the pbosl stuff as Kiffi's stuff is all wrapper based and I code in a totally different way. As well, Kiffi really knows his stuff and I don't (grin). It would very likely confuse everybody.

To be honest, the core of Sqlite is the same as Ms-Access and MySql (and dozens of other varieties) and that's plain old sql language itself. The way Kiffi and I do things is just fluff (I hope he doesn't mind that description) and at the end of it all, you will probably do things in a totally different way once you understand basic sql usage.

All my applications have been rewritten at least 4 times as I was learning and it didn't take me very long to realise that the sql query I was using in Access was exactly the same as the one I was using in Sqlite and the rest of the code was just handling the DLL's I was using to do the job to the various environments.

So I reccomend that anyone who wants to use sqlite just grab a copy of the free sqlite browser tool, a basic sql manual that illustrates the simple uses of SELECT, INSERT, UPDATE and DELETE (the 4 main keywords you will want to learn) and practice with that tool, create a simple database in it and see the effects of the various commands.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Post Reply