4
votes
Why Scala says size of List of null is 1?
The size of a list is essentially the number of pointers/references it contains. When you create list with a single null parameter, you are creating a list with exactly one reference that points to ...
1
vote
Exposing DB table to other Microservice via a Library
Accessing a table from other services will create a dependency on that table. That means that if a change to the table or database is made, any service that is using it will need to be modified in ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
java × 4893design-patterns × 497
design × 490
object-oriented × 474
object-oriented-design × 235
architecture × 199
c# × 173
c++ × 153
spring × 151
interfaces × 148
exceptions × 144
programming-practices × 134
android × 122
multithreading × 120
unit-testing × 112
algorithms × 108
rest × 107
coding-style × 101
inheritance × 96
java-ee × 91
performance × 90
api-design × 81
programming-languages × 80
database × 79
mvc × 78