What would you want in a Code Library?

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

What would you want in a Code Library?

Post by anonymous1337 »

I'm in the middle of revamping the Code Library, and I'm wondering what programming topics are important to you. Once I know that, I'll seive the forums looking for code and projects to add.

Heavily inspired by faq.qbasicnews.com, it currently looks like:

IDEs, GUIs and RAD - Development tools + GUI/RAD application development
Files and Directories - Properties and management of files and directories
Game Development - Game physics, collision detection, path finding, etc
Graphics Programming - OpenGL, DirectX, shaders, etc
Math - Sorting, search and other algorithms, linear algebra, curve fitting, etc
Misc - All things as of yet uncategorized
Sound - Playing, recording, analyzing sound
Web - Web standards, protocols and libraries

Tutorials - Links to tutorials, internal and external
Websites - Websites by community members

But ignore that if you like and tell me your preferences.

Also, you can suggest individual topics like "Loading .X files" or "Linked Lists" and I'll find a way to categorize everything. "Screenshots please" is definitely a good suggestion :)
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Post by anonymous1337 »

This post is for

My Ideas:

- I want a quality standard so we're not posting random gibberish, and so we can avoid worrying about stuff that's border-line one category or another. However,

- Do like Wikipedia and "be bold". It's not the freebasic.net front page. It's cooler. Don't mess up good stuff, but suggest new stuff without fear.

- Text (Anything plaintext)

- User IO (keyboards, mouse, tablets, etc). Not sure where the output would be.

- Low Level Programming? ASM, OS Programming, software-hardware interfaces, etc

- Each page/category can contain both links and code snippets, although I'd like to focus on real implementations over anything else
j_milton
Posts: 458
Joined: Feb 11, 2010 17:35

Re: What would you want in a Code Library?

Post by j_milton »

anonymous1337 wrote:I'm in the middle of revamping the Code Library, and I'm wondering what programming topics are important to you. Once I know that, I'll seive the forums looking for code and projects to add.

Heavily inspired by faq.qbasicnews.com, it currently looks like:

IDEs, GUIs and RAD - Development tools + GUI/RAD application development
Files and Directories - Properties and management of files and directories
Game Development - Game physics, collision detection, path finding, etc
Graphics Programming - OpenGL, DirectX, shaders, etc
Math - Sorting, search and other algorithms, linear algebra, curve fitting, etc
Misc - All things as of yet uncategorized
Sound - Playing, recording, analyzing sound
Web - Web standards, protocols and libraries

Tutorials - Links to tutorials, internal and external
Websites - Websites by community members

But ignore that if you like and tell me your preferences.

Also, you can suggest individual topics like "Loading .X files" or "Linked Lists" and I'll find a way to categorize everything. "Screenshots please" is definitely a good suggestion :)
A good list, but how about a criteria that if does not have documentation then it does not get in
rolliebollocks
Posts: 2655
Joined: Aug 28, 2008 10:54
Location: new york

Post by rolliebollocks »

I think this is a really great idea. Upgrading our code library would be good, both for major projects and for code snippets.
A good list, but how about a criteria that if does not have documentation then it does not get in
People don't like getting pushed here and there to do things. Documented projects/commented snippets should be strongly preferred but rejecting a piece of code out of hand because it isn't commented is unneccessary I think.

@anonymous1337

If you'd like any help collecting snippets here and there I can be of some service. I've been wanting to do this for a long time.
bfuller
Posts: 366
Joined: Jun 02, 2007 12:35
Location: Sydney, Australia

Post by bfuller »

Good initiative---

I would like to see a category that covers hardware interfacing-----parallel port, serial port, USB and so on----anything to do with controlling other equipment, or receiving data from other equipment of all types. Video processing, character recognition, movement detection are other examples. Robotics could included, or be a sub category.
AGS
Posts: 1284
Joined: Sep 25, 2007 0:26
Location: the Netherlands

Post by AGS »

How about data structures. I´m talking about implementations of
- stack
- queue (priority queue, circular queue)
- dequeue
- (double) linked list
- hash table (all variations)
- tree (binary, binary search, splay, btree, heap,other)
- arraylist
- bitset
- permutation
etc.... etc...

It's the kind of stuff any programmer sooner or later 'needs' so it would be good to have some examples of how to write such data structures using FreeBASIC.
anonymous1337
Posts: 5494
Joined: Sep 12, 2005 20:06
Location: California

Post by anonymous1337 »

@j_milton:

Excellent suggestion. All code in the code library should be documented. Although, getting the original authors to do so isn't always easy. We could do it ourselves.

I'm sure with multiple implementations of Linked Lists, physics collision, etc., each code snippet can also receive a brief summary that goes along with it.

@rolliebollocks:

Sure thing. If you can email me at TheAdventMaster [at] gmail [dot] com, I can let you know when the pages are up and ready. Should be within the next couple weeks. I'm busy and am still thinking things through.

@bfuller:

That would belong in low level programming, even if I high level APIs exist. I feel hardware interfacing is inherently low level programming.

@AGS:

Thanks. "Data Structures" is where I thought linked lists, stacks, etc. belonged, but I wasn't sure if there was a more appropriate category.

I mean, all programming is essentially data structures and algorithms, so I thought "data structures" was too broad. I guess "Data Structures" would be a place for "generic" data structures, which are heavily used in all areas of programming.
TESLACOIL
Posts: 1769
Joined: Jun 20, 2010 16:04
Location: UK
Contact:

I think

Post by TESLACOIL »

I think Networking and Multimedia tools is a good call

the future is networked
the future is wireless
the future is video

the future will also be smarter & more integrated




the ability to talk all the electronic widgets out there would would attract a wider & more diverse audience.....Mp3 players, IPAD's , MIDI , Robotic's , Mobile phones, WiFi & Bluetooth


for my money
Its the messy stuff like this that's realy hard to do off your own back

and where great tools can inspire you to bridge the gap
marcov
Posts: 3503
Joined: Jun 16, 2005 9:45
Location: Netherlands
Contact:

Re: I think

Post by marcov »

TESLACOIL wrote:I think Networking and Multimedia tools is a good call

the future is networked
the future is wireless
the future is video

the future will also be smarter & more integrated
Personally I hope the future will be more concrete :-)
D.J.Peters
Posts: 8631
Joined: May 28, 2005 3:28
Contact:

Re: I think

Post by D.J.Peters »

marcov wrote:Personally I hope the future will be more concrete :-)
“Prediction is very difficult, especially about the future.” :-)
- Niels Bohr
j_milton
Posts: 458
Joined: Feb 11, 2010 17:35

Re: I think

Post by j_milton »

marcov wrote: Personally I hope the future will be more concrete :-)
Your wish is granted:



Sad to say I think that's the best we can hope for :-{
Last edited by j_milton on Oct 01, 2010 11:16, edited 1 time in total.
ferb82
Posts: 1
Joined: Oct 01, 2010 9:06

Re: I think

Post by ferb82 »

TESLACOIL wrote:I think Networking and Multimedia tools is a good call

the future is networked
the future is wireless
the future is video

the future will also be smarter & more integrated




the ability to talk all the electronic widgets out there would would attract a wider & more diverse audience.....Mp3 players, IPAD's , MIDI , Robotic's , Mobile phones, WiFi & Bluetooth


for my money
Its the messy stuff like this that's realy hard to do off your own back

and where great tools can inspire you to bridge the gap
Well, I'm completely agreed with you. we always hope that all future tools can easier inspire us to have much more great achievements.


________________
Web Development
Last edited by ferb82 on Oct 06, 2010 7:50, edited 2 times in total.
aurelVZAB
Posts: 681
Joined: Jul 02, 2008 14:55
Contact:

Post by aurelVZAB »

IDEs, GUIs and RAD - Development tools + GUI/RAD application development

i would like to see IDE written in FreeBasic .
I have some turns but im currently bussy with ABasic and i simply
dont have time to all this stuff...
Voltage
Posts: 110
Joined: Nov 19, 2005 7:36
Location: Sydney, Australia
Contact:

Post by Voltage »

Graphics Programming \o/

Shader support in FreeBASIC would be very cool.

Maybe the glew library.
Post Reply