Tools and IDEs
For web development, some of the most valuable tools are built into the browser (such as Chrome or Firefox). Just right click a web page in a browser and select 'View Source' or 'Inspect Element' to look at problems in your own code, or see how something was done on another website.
For web development also use the W3C HTML validator. This will point out errors and problems in your code, ensuring it is compliant with W3C standards. This helps avoid other flow on problems from badly written HTML code, such as browser compatibility problems.
Be prepared for a lot of debugging - a programmer must be as tenacious as they are creative and imaginative. By trying to find and fix bugs you learn a lot about other things along the way.
If you have looked at your code and searched the internet all day, and still can't find the full stop in the wrong place - take a walk, sleep on it. More often than not you'll see the problem right away when you return. After a while you'll find you spot problems quickly. If all else fails, you can ask another programmer or join a support forum like Stack Overflow.
Give it time. Computers are stupid and explicitly literal, so can be very frustrating, but if it takes you all evening to get Apache or IIS working, and then another evening to see your first script say 'Hello World', you will have learnt more than if it all went smoothly.
Text Editors and IDEs
Specialised Text editors and Integrated Development Environments (IDEs) make programming much easier, marking different features of code in different colours and providing suggestions and autocompleting from their built in language reference. Sometimes it seems as if the IDE is writing the code for you.
Most text editors and IDEs can be obtained as a free 'light' version, but they promote the paid for one. Check carefully you are getting the free one. The licenced one is better, but you probably won't need it to get started.
Here are some popular text editors and IDEs:
- Notepad++ (text editor, multiple languages)
- Eclipse (good for Java and some others)
- NetBeans (good for Java and some others)
- Visual Studio (good for the Microsoft world: C#, ASP, .Net and others)
Frameworks, Packages and Libraries
In most languages, frameworks, packages or libraries of code are available that are intended to make it easier for you to code by providing solutions to common problems.
However, there are also many frameworks, packages or libraries that promise to solve all your problems but end up constraining you to what they are capable of, consume extra time to learn, cause 'bloatware' by including vast amounts of supporting code to achieve a relatively simple end, and cause compatibility problems when you need to upgrade. Be careful in your choices.
The developer community has long had a strong online presence. Communities and support forums like Stack Overflow provide question and answer services. Searching for an error message or solution to a problem will often present an answer from one such community.
Usually people provide answers for free out of a spirit of community friendliness, and can lose patience if you're not asking nicely and clearly, so before you post a question, make sure you do the following. Often trying to word the problem clearly helps you spot the problem yourself.
- you have searched for an already existing answer
- that you are asking the question in the right place
- that you word it clearly
- include an example of the problem code
The University of Newcastle acknowledges the traditional custodians of the lands within our footprint areas: Awabakal, Darkinjung, Biripai, Worimi, Wonnarua, and Eora Nations. We also pay respect to the wisdom of our Elders past and present.