Carburetor vs. Fuel Injection: Which is Better?

I'm a new rider and found a 250cc bike that looks great on paper, but I noticed it has a carburetor instead of fuel injection. From my limited bike knowledge, carburetors seem like outdated technology. Should I avoid a bike with a carburetor in 2024, or is it still a good choice? How will it affect my everyday riding and long road trips?

Thanks for the help!