The most important thing they can do is ANYTHING that gets them into a stable living situation.
If they can quickly find a tech job, that's great of course; otherwise find anything that provides the necessary stability to make further sound moves from. It's dangerously easily to get trapped in homelessness for extended periods of time as it breaks people down and they can't get back out.
Put another way, it’s easy to reach too high and then feel depressed or hopeless because you can’t achieve it. It’s much better to walk up the steps one at a time.
I'm not sure if you tried being homeless for 1 or 2 days, but I can't imagine you'll be able to pass an interview if you slept in the church door last night and had nothing for dinner.
> Do whatever it takes to land a job.
That's what I'm suggesting and unless there is someone or some community that will bail you out for 3-4 months to get your affairs in order, you'll have to start from rock bottom.
I'd strongly disagree with this. If you can code, you are wasting your time doing any other kind of work. Do whatever it takes to land a job. Lie about your living situation. Spend all day at the library practicing Leet Code. The amount of time you spend trying to land a job will more than be made up by the salary delta of tech vs. menial labor.