It depends what you mean by contracting - which can be anything from "an employee who gets no benefits so a bit more money" to freelancing. If you're looking for ongoing part-time contracting, I have successfully landed multiple contracting jobs by applying to places that were looking for full time work, for whom my skills were an exceptionally good fit, and saying "I know you weren't thinking of part-time remote con…
why do the employers prefer hiring rather than contracting?
People have a different learning and onboarding speed, but it generally takes months for an engineering hire to “break even” and be able to pick up most tickets on their own. So we generally prefer people that stay longer.
That being said, there is also value to bringing in people with different backgrounds, experiences & perspectives. So sometimes freelancers or consultants can be good choice.