I recently graduated about a 1.5 years ago. I'm 24 and I'm scared shitless about my future in software engineering. I don't have a formal CS education (failed out and switched to something completely unrelated) and I've graduated.
Given the current job market, I can't lie if I did not have my current job at a decently sized ecommerce firm, I'd be toast. My anxiety levels about my future are through the roof. Can't even sleep at nights let alone socialize because I'm scared of layoffs and not being competitive enough to go elsewhere.
I keep thinking about doing another degree but this time in CS (from a no name school online), however, people telling me that its not the best use of my time and I should just focus on my career moving forward.
How I can stop getting paralyzing thoughts about the future? My anxiety stems from my undergrad for sure and my failures. I'm trying to use school and a crutch for all my problems and I've realized this. Should I drop everything and go get a bachelor's in CS?
If you're still very worried about lay offs, you should talk to your manager about it. Like you go to him and tell him "I'm scared shitless about being let go, I can't sleep". Maybe he'll tell you that the company is doing great, and the division is growing and there is zero chance you're going to be fired. If he tells you that you should be worried, it's time to take the bull by the horns and dust off your resume.
Regardless you can start looking for other jobs right now, just to see if your resume works and to tweak it if necessary. It can also help you get better at interviewing. And you know, if you land a job somewhere else, it might even make you more money... A decent share of developers jump ship all the time, it's the best way to make your salary go up.
Regarding the degree: A shit CS degree is probably worse than no degree at all. You learn very little of practical value in CS (even in good schools). A good CS degree is just a stamp of approval that you were good in school. A bad CS degree tells the recruiters that you tried and failed to get a good CS degree, so it's like a stamp of disapproval. A degree in something different means you tried different things, and that you're motivated enough to learn things yourself, it's a much better story.
Anyways, good luck, and take it easy, there's plenty of jobs out there, and you don't compete with the people being laid off that much.