*all builds below use up to relic level items (no legendaries or artifacts)...and i tended to ignore non-combat boosting items (ie. many of these builds have an open ring slot...which could actually boost saves)*
so, i got a level 5 ranger, ranged build:
+13 to hit
+13 damage
damage wheel (2,3,4,5,6,7,8,9) avg=5.5
25AC
38hp
+14 fort
+19 refx
+11 will
level 4 fighter, melee build:
+12 to hit
+12 damage
damage wheel (3,4,5,6,7,8,9,10,11,12) avg=7.5
30AC
35hp
+14fort
+10refx
+10will
so, melee has -1 to hit, +1 net avg damage (-1 stat, +2 weapon wheel), +5AC, -3hp, -9refx, and -1will
or you can go with the glass cannon ranger build...
level 5 ranger, melee build:
+10 to hit
+17 damage
damage wheel main (3,4,5,6,7,8) avg=5.5
damage wheel off (1,2,3,4,5,6) avg=3.5
20AC
43hp
+14fort
+16refx
+10will
*this build does get +14 ranged damage, but drops to +9 to hit with ranged. but most importantly, this build gets to slide TWO melee weapons. so sacrifice accuracy, AC, and refx, but gain some hp and deal massive damage if you hit.
level 4 barbarian, melee damage build:
+12 to hit
+19 damage
damage wheel (4,4,6,8,8,10,12,16) avg=8.5
17AC
45hp
+15fort
+10refx
+10will
and here you just go all-in on hitting for max damage. not as risky as the ranger glass cannon, since your +12 to hit with a single weapon makes it easier, then you deal some crazy damage.
seems fair enough to me; basically, it is a trade-off. you have to decide what you want.
if you have some game-breaking build that proves ranged is better (or still worse), please share it.