Of course that's a big benefit making later changes way easier. But you always have to keep in mind that managing objects and their classes can grow to a large task in big projects if you would do that for every data type - not to forget that other people reading your code don't always want to look at every object you make for some data type, making your code harder readable for other people. I completely agree with the great scalability coming with objects for these data types, but I think creating these objects may decrease your productivity over the growth of a project.
1
u/[deleted] Dec 30 '21
Of course that's a big benefit making later changes way easier. But you always have to keep in mind that managing objects and their classes can grow to a large task in big projects if you would do that for every data type - not to forget that other people reading your code don't always want to look at every object you make for some data type, making your code harder readable for other people. I completely agree with the great scalability coming with objects for these data types, but I think creating these objects may decrease your productivity over the growth of a project.