There are some "ranged" melee weapons in pre-hardmode, such as the starfury, bee keeper, enchanted sword, etc.
I do see your point though, pre-hardmode isn't really meant to be "class-specific", and hardmode is usually where classes become an important role.