Is the iPhone three and fourth the same which one will be better to buy?

Is the iPhone three and fourth the same which one will be better to buy?

The iPhone 3 is like the older versions, you can't get half of the apps you can with iphone 4. You also can't do software updates like iPhone 4. I'd go with the 4, even though I bought a 5s.