|
|
|
|
|
by PySlice
4828 days ago
|
|
Yeah, I guess it sucks if you work with Bignums. I would be happy if BigInteger and BigDecimal were promoted String-level language support: still implemented as classes, but with compiler support. They could add indexing [] for collections, but I can live with .get() and .put(). Some people seem to think that if they don't use, then it doesn't matter. In many business applications, you don't even need floating point (you just transfer data to the database and back), anyway. Are floats and doubles "little features"? In computer graphics, you need lots of floating point calculations. Are ints and longs "little features"? In embedded software, you usually don't want to use resizable strings (C doesn't even have this feature built-in), because reallocations are expensive or unavailable. Are resizable strings (or containers) "little features"? Different programs have different needs. If you haven't stumbled upon a good use case, doesn't mean that it's useless. |
|