5 ms·
"just do." I know that sounds rather cliche, but it's something that I've found a lot of beginners are missing. They spend a lot of time trying to find the "bes
by moron4hire 17y ago
"just do." I know that sounds rather cliche, but it's something that I've found a lot of beginners are missing. They spend a lot of time trying to find the "best" way to do something before they start doing it. Really, just do something. You'll learn from the experience either way. You'll probably learn more than if you had found the maximal solution first.
I probably learned more about programming by hacking together a simple role playing game in Javascript+DOM in 2001 than my next 3 years of college and 5 years of work. That 8 year old code still worked up to the point GeoCities died, and then it was gone permanently. Not a big loss, but it was nice to see that it survived a myriad of browser updates. I learned tons about what made good, readable code just from having to live with it. I learned a lot of the art of optimization because of how much Javascript sucked at the time. But more importantly, I learned that it was more important to get-it-done than to be working in what was popular (you would not believe the flack I caught for not using C for it, even though I was also learning C as well and just wanted to do something in Javascript).
- wallflower 17y agoOT: Did you write your own cross-browser DHTML library or use one? I did the same thing (considerable browser-based app in the pre jQuery dark ages) and it was painful. Have you checked the Geocities archive http://reocities.com http://reocities.com to see if it's there?
- moron4hire 17y agoI don't think such things existed at the time. At any rate, the code was 100% new and performed no browser checking, but still worked exactly the same on all browsers. It took me a month to do what I could do in a day now, but it was a great learning experience. I've started a new project recently, maybe about 10 hours of work into it, that is a chess game, 100% new Javascript, so far 100% cross browser compatible (with no features planned that would break that), with no browser checking. It's actually not that hard if you're smart about your debugging (don't use alerts, use try/catch and write out to a div).