The trick is, what people refer to "experience" in the workplace is very strictly defined as workplace experience in your role. But you can get experience from a wide variety of tasks, even ones that don't involve your current career. Working with vendors to organize a convention can prepare you for writing software. Or a volunteer/school software project could prepare you for a paid role, but nevertheless it is not counted.