- If the number is divisible by 3, print "Fizz" (and nothing else)
- If the number is divisible by 5, print "Buzz" (and nothing else)
- If the number is divisible by both 3 and 5, print "FizzBuzz" (and nothing else)
- Otherwise, print the number
I did not run into any problems, with Java or Eclipse. However, I did realize the approach that I took in solving this problem. Although I knew the gist of how to write this program beforehand, instead of planning out the code, I just dove right in and started whacking away at my keyboard. Perhaps this was due to the pressure of "how fast could I do this", but I seem to recall following this same procedure before in other programs that I have made. Whether this approach is problematic or a technique, I am not so sure, but hopefully it will not be the cause of difficulties later. When you don't know where to start, sometimes it is good to just-- well-- start, and fix things up later as you gain more perspective of the program. However, the problem may lie in not getting to this last part, or changing the format or mindset mid-way through coding. These may definitely cause grave issues indeed...
I appreciate very much how Eclipse has autocompletion and autoformat features; they make coding so much quicker with a lot less room for error. Writing this out by hand or even with simple text editors like Notepad would take at least 2-3 times longer, and if I had forgotten what the exact syntax for some functions was, I would have been totally lost-- either having to try and remember what it was or looking it up in a reference. Luckily Eclipse does this all automatically and has references built into itself, thus speeding up the process significantly. I use a Vi keybinding plugin in Eclipse, thus speeding up the process even more, and the syntax highlighting is also very helpful in that the code is much more easily readible, again adding to the efficiency of the coding process.
From this assignment, I learned that Software Engineering involves using tools to your advantage. There are many different ways to do things, and each way has its faults, but some ways are far more superior to others. Using better tools can mean completing a project correctly and in less time, rather than taking longer in addition to writing bad code. I am eager to learn what this class has to offer in terms of giving me many more tools-- and better ones too-- in order to allow me to put more effort into being creative. In my experiences to come, I look forward to finding the best tools that are available, to become a more efficient and versatile programmer.
