Is codidact community as same as stack overflow ?
No. Perhaps we are not doing enough to explain this, but that really should have been obvious in my opinion.
Codidact is an organization that has created open-source software for Q&A sites, and also hosts a bunch of sites. Stack Overflow (SO) is one Q&A site within the Stack Exchange (SE) network of sites. SE and Codidact are completely independent entities. SE is a for-profit organization, while Codidact is non-profit.
I found this website because I'm tired of hostility in stackoverflow community.
You are welcome here, but like everyone, you have to post good content. If you write well thought-out questions that are well-written, to the point, and asking something that can be answered with facts, then you will be fine here. If you don't, your questions will be downvoted, closed, and you will be run out of town if you persist.
We have a "be nice" policy, like SE, but in the end people will treat you like you treat them. If you respect the site rules (and by extension the existing users here) by taking the time to learn the site before posting, proofread what you write before clicking "submit", and generally realize that you are asking a bunch of people for a favor, there there will be no trouble.
Most complaints about rude treatment on SO come from people that abuse the site. Of course they aren't going to be treated well.
I wonder if this website have better community than stackoverflow.
That's not a question.
Is this community better?
Yes, by 23.7%. Seriously, what kind of answer were you expecting? This is the poster case for opinion based.
or my questions will get collapsed?
We don't "collapse" questions, and neither does SO. Like SO, we downvote and close bad questions.
Reading between the lines, my personal take on your question is that you posted some borderline or poorly written questions on SO, and got treated accordingly. Now you want to get a read on how much your style of questions will get tolerated here.
Your question here exhibits several problems. You didn't bother to understand what SO, SE, and Codidact are, or didn't care. You didn't read the rules about opinion-based questions, or didn't care. You have not bothered to learn enough about either site to find that bad questions are "downvoted" and "closed". Neither site uses a term like "collapsed". The question itself doesn't seem very logically thought out.
Using this single question here as the only data point, I believe your posts will not be well received here either. No matter where you eventually go, you need to put some effort into learning the site by reading the rules, looking thru meta, and looking at some good and bad questions as examples. Then you need to think carefully about what you are really asking, and write the question well. Read the whole question over at least once before posting.
If you do the above, you will have a good experience here and most everywhere else. If not, you will continue to get tarred and feathered wherever you go.