Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Coding Challenge

  1. #1
    Join Date
    Apr 2012
    Location
    Chester, Cheshire
    Posts
    329
    Thanks
    7
    Thanked 35 Times in 35 Posts

    Default Coding Challenge

    I'm making this thread for two reasons.

    1. I'm bored.
    2. I need something to code and my brain is farting fresh air for ideas.

    We can turn this thread into a challenge for different languages to code their version of a project. Each challenge or project should include a collection of some kind that is either filled by XML or from a database, an of course, an end goal.

    Ideas in the past have included a DVD Collection, searchable by title, director, year, main actors, etc and a Dungeons & Dragons character repository.

    Coding should be from an Object Orientated approach and should be programmed defensively and can be written in any language. Challenges can be console applications, GUI applications or webpages.

    So, what's your challenge?

  2. #2
    Join Date
    Mar 2011
    Posts
    2,051
    Thanks
    59
    Thanked 108 Times in 106 Posts
    Blog Entries
    4

    Default

    Interesting... I actually pm'ed someone about this very same thing... (Coding challenge (I'm bored))

  3. #3
    Join Date
    Apr 2012
    Location
    Chester, Cheshire
    Posts
    329
    Thanks
    7
    Thanked 35 Times in 35 Posts

    Default

    So, is no-one up for this?

  4. #4
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I'm up for it

  5. #5
    Join Date
    Mar 2011
    Posts
    2,051
    Thanks
    59
    Thanked 108 Times in 106 Posts
    Blog Entries
    4

    Default

    Quote Originally Posted by ApacheTech View Post
    should be programmed defensively
    What do you mean by that?

    I'm interested! Why don't we decide on one progam to build, then each pick a programming language and a date it has to be finished by. Then, when they're all done, we compare them and offer constructive criticism (and of course pick a winner )

    The thing to remember is that you've left it open to all languages and as such, not all entries would actually be able to be used in a production environment (Dvd organiser in php {the user would never be willing to install php on their machine just to use the software}).

    Why do you say only a cataloguing program?

  6. #6
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    Erm... I suggest we all have to do something (in any programming language) using the same data-set so that they at least all have be common factor by which to judge them.

  7. #7
    Join Date
    Mar 2011
    Posts
    2,051
    Thanks
    59
    Thanked 108 Times in 106 Posts
    Blog Entries
    4

    Default

    I agree, though I also suggest we have to develop applications, that have the same purpose.
    Last edited by keyboard; 06-14-2012 at 09:17 AM.

  8. #8
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    or at least applications that do the same things

  9. #9
    Join Date
    Apr 2012
    Location
    Chester, Cheshire
    Posts
    329
    Thanks
    7
    Thanked 35 Times in 35 Posts

    Default

    Programming defensively means that if the program encounters an error, it will degrade gracefully. Basically adding in Try---Catch blocks, passing Exceptions back to the Application, etc.

    I've said a catalogue style thing because I want to code with objects. A book, for instance, is an object with the properties Title, Author, ISBN, NumberOfPages and Genre; maybe more.

    I was thinking, being this is a webdev forum, that output should be in the form of a webpage. But, even failing that, you can write console applications and GUIs in PHP.

  10. #10
    Join Date
    Mar 2011
    Posts
    2,051
    Thanks
    59
    Thanked 108 Times in 106 Posts
    Blog Entries
    4

    Default

    Ok....

    So, any suggestions on what type of appllication/data we should do?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •