Join the Forum

Organization!

Sat, 28 Aug 2010

I'm big on organization and code conventions, because it pays off later! Sometimes this is a big problem because I get too picky and consume a lot of time. But I think a large part of being a good programmer is your organization and simplifying skills. I want to be able to look at my code years later and know clearly what I was doing.

My Netbeans Workspace (freelancerKit 3)

I haven't been enjoying CSS much lately and I know I'm lacking in organization there. I suppose I could create separate CSS files for different 'types' of elements since my large project files use 5-10 style sheets. I'm also liking underscore letting a lot more than dashes now, it's probably not a big deal but look at the differences, if you have 100's of files it will matter:

  • myfilename
  • MyFileName
  • My_File_Name
  • my_file_name
  • MyFileName
  • my.file.name
  • My.File.Name
  • my-file-name
  • My-File-Name

I'm liking the bolded one. And, it's also important to name folders neatly and structure them accordingly.