When it comes to writing code you can literally write it in notepad/preview/VIM, etc. As long as it's saved with the right file extension and in the right character code (ie UTF-8, etc - don't worry about this too much just now) it'll work. I'd recommend that ocassionally you test your skills and write simple pieces of code by hand; when I interviewed at LBi one of the first tests was to write html, css & js by hand ON PAPER!! (no computer in sight...). In web development we plan for the lowest form of technology; you should do the same for your skillset!
Trouble is, though, that when you type it our by hand it's:
Trouble is, though, that when you type it our by hand it's:
- Long and laborious
- You're prone to make tiny typos that will break your code
Fortunately there's an easy way around all this: IDEs (Integrated Development Environments).
IDE's often come with some great features that'll really help you and speed up production, such as:
- Code highlighting (This colours your code so you can instantly see what things are and if there's a fault)
- Code Hinting (This indicates errors to you with red underlines or exclamation marks, etc)
- AutoComplete (As you type it gives you options which you can navigate and accept, so if you type '<i' it will show you '<input', so 3 keystrokes instead of 6)
- Validation: NOT a substitute for real validation, but helpful nonetheless...
- Code commenting/uncommenting
- Find & replace - VERY USEFUL/VERY POWERFUL/VERY DANGEROUS.
- FTP (File Transfer Protocol) functionality. This allows you to put files up to a server and get them down.
- SVN functionalities - in a word "don't". Use tortoise SVN instead.
- Code tidying. (there are prolly better online versions but these are ok.)
List of some popular IDE's:
- Komodo: Free and pay versions (pay has things like FTP, etc). I'm just starting to use this IDE - TBH, I think you should too, even though I don't think it's as amazing as people make out (but for a free product it's hard to beat!).
- notepad++ Free and light. Works ok, in windows.
- Textmate. Not free and I've never used, so...
- WebStorm. Apparently very good for JS. (Has a sibling phpstorm, which is recommended)
- Dreamweaver (part of the creative suite). Costs a lot. Hated by developers because designers used to use the design mode to create web pages that could be technically described as 'boll*cks'. There are even companies that will not interview you if you state that you can use this software on your CV!! Having said that; If you CAN code, I found it ok and indeed have spent most of my junior development life using it - stands by for incoming fire...
For now, I'd recommend you use Komodo (with zencode and jslint addons [works like firefox for addons])...
PS. If anybody has any more info, suggestions, etc please feel free to comment. :)
It's interesting looking back on these posts; lots has changed in my world. I would currently recommend sublime text 2.
ReplyDelete