you can use a 24t, but the 40t can do more accurate finer rips and lasts a bit longer in my experience, and it can handle hardwoods better, and reduces splintering etc when ripping plywood. if doing cabinets maybe go up on teeth even more, but then youre pushing the balance of cost and performance.
LOL? Lots of love?