Thread: Programming!
View Single Post
Old January 24th, 2013 (4:52 PM). Edited January 24th, 2013 by twocows.
twocows's Avatar
twocows twocows is offline
Pretentious Intellectual Jerk
Join Date: Mar 2009
Location: Michigan
Age: 26
Gender: Male
Nature: Lax
Posts: 4,125
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."
Doctors Without Borders: one of the few charity groups you can rely on to actually do real good in the world.

"The trouble with fighting for human freedom is that one spends most of one's time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all." - H. L. Mencken, unsourced

"There is a cult of ignorance in the United States, and there always has been. The strain of anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'"- Isaac Asimov, Column in Newsweek (21 January 1980) [source]
Reply With Quote