A lot of the time I just want to figure out if I'm going down the right path before I have anything perfect, or breathlessly beautiful to ask for feedback on.
A lot of the time, I'm learning a new technology or a new paradigm and don't know what I'm doing, and, asking for help on Reddit or StackOverflow usually just means being roasted.
Is there any way to avoid the roasts?
Is there a different community everyone goes to?
Based on their social rules: https://www.recurse.com/social-rules
However, it might be difficult to get in...
I noted that a function wasn't available in the snippet in my post, but 2 users still voted to remove the question without any feedback, person-to-person communication, etc., because it broke the rules.
While I'm a rule-breaker, and the problem, maybe GPT4 is where to go for code reviews.
Also, I would guess the "review it savagely" and "absolutely destroying you" part is likely projection, or perhaps not setting expectations of what outcome you want from any such review. If it's "what's wrong with this code?" one will get a monster range of responses. If you have specific concerns, then stating them as specific success criteria will likely improve your experience
Without any question you will want to consider the audience of peers when asking for reviews. Stopping by r/Programmer and soliciting input is a good way to get the lolz; posting in a more targeted forum for your language or framework or both, or even asking your followers on any social media presence may get less firehose from the Internet
If you want code reviewed, contribute to existing projects.
Part of getting better is realizing the previous work needs to be rewritten. Your past self wouldn't have known that at the beginning. But you got better.
Additionally on most sub-reddits I've seen people get good constructive feedback on their code.
If you can find such discord channels where the environment is non-toxic (I doubt any coding oriented ones are) and the users are active, that could be the ideal option.
I’ll post back when I’ve put it up on the internet.