Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-04-2007, 03:14 AM   #39
guesst
Abandonia Homie
 
guesst's Avatar

 
Join Date: May 2005
Location: Aurora, United States
Posts: 606
Default

<div class='quotetop'>QUOTE(Eagg @ Feb 23 2007, 03:40 AM) [snapback]280573[/snapback]</div>
Quote:
<div class='quotetop'>QUOTE(Nitro @ Feb 21 2007, 11:15 AM) [snapback]280318[/snapback]
Quote:
These are some very nice examples. I didn't try them all, but the ones I tried all worked good.

I have only one piece of advice. If you write code with the purpose of sharing it, it is a good practice to add a lot of comment to the code, so others can read it easily. Especially when it is about complicated algorithms like the AI in some of the games.

I also wrote a version of battleship in VB and it is nice to see that you use the same algorithm.
[/b]
Tbh. I don't think comments would help making the code more readable, this code wasn't written to be easily understandable but to be compact and as confusing as possible :bleh: .
Basically anything considered bad practice at "good programming".

This is no rant on your stuff Guesst, I enjoy your pieces.
Code hacks are a bit like art... nobody claims that art needs to be userfriendly.
[/b][/quote]

I'm a bit slow. I was busy in February. I'm still busy, but avoiding doing something else I really should be doing.

Anyways, I took no offence on your comments Eagg, but Nitro has a point. My code isn't very well comented and it was designed to be shared. However, the reason for that was not well commented is that I had intended to release these to be typed in by the reader. I took my inspiration from old books of BASIC games that did the same thing (referenced several times in previous threads). As such I didn't want some would be programmer to get frustrated when he learned that 50% of what he typed was unnecessary when he finally learned what a comment was.

Ah, who am I kidding. I was never good at commenting anyways.
guesst is offline                         Send a private message to guesst
Reply With Quote
 


Similar Threads
Thread Thread Starter Forum Replies Last Post
Happy Birthday Guesst Japo Birthdays & Celebrations 8 06-07-2007 09:50 AM
Happy Birthday, Guesst Shrek Blah, blah, blah... 10 08-07-2006 09:31 AM


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 08:32 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.