Thread: Programming!
View Single Post
  #35    
Old January 24th, 2013 (4:52 PM). Edited January 24th, 2013 by twocows.
twocows's Avatar
twocows twocows is offline
Mostly Benign
  • Gold Tier
 
Join Date: Mar 2009
Location: Michigan
Age: 26
Gender: Male
Nature: Lax
Posts: 4,170
Quote:
Originally Posted by GenuineCorruption View Post
I'm going to college for programming in september! I used Visual Basic 6 for years and was sad to see it go. I'm currently using a game building tool which uses Angel Script. I want to understand how checksums are calculated though, but it seems to be a tad over my head. Perhaps then I could be really good at messing around with Pokemon save files.
Basic checksums just sum the bits in a given file. If the sum of the bits at runtime is different than what the sum was supposed to be, then the checksum fails. More complex algorithms, like cyclic redundancy checks, are harder to explain.

Visual Basic 6 is awful, the only reason I can think of why you would want to use it is if you didn't know anything better. Learn Python or C#.

The best advice I can give you for developing anything is not to reinvent the wheel. For the most part, someone, somewhere has written code (probably open source, meaning you can use it if your project is open source as well) that does whatever thing you might want to do, and done it better. Search for libraries that automate common tasks for you so you don't have to spend your time writing buggy code that someone already has available.

And don't just learn to code, learn to code well. Learn a consistent and widely accepted coding style and understand how things really work in your language of choice. Understand programming concepts, not just "change something and hope for the best."
__________________
8values
Political Simulator
Reply With Quote