Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

readability

843793Jul 10 2002 — edited May 13 2003
I would like some peoples comments on the readability of the Generic implementation in Java.

I have a lot of experience with templates in C++ and find that most non-trivial template classes quickly become completely unreadable by humans. Anyone who's browsed through the STL will whole-heartedly attest to this.

It's so bad that you can't even tell what methods each class has, and what they take as parameters. E.g. from algorithm, it even seems like a herculean task to figure out where the class begins and ends!

I could post some of the code here, but it's so bad that surely some would think that it's a joke. So, how does Java readability compare?



Comments

Gurjas
You should create a bitmap or btree index on the action_id of the history table depending on the cardinality of the column.
Which will fasten the checking of action usage in the history table.

As per my understanding the isused idea is not good.

Why don't you go for the foreign key in the table? If you have already implement the foreign key in the table then this problem should not be there.. now you have to check the existense manually in the table. If possible you can also implement the foreign key now.
668031
Thanks,
after all they did create a index. The problem of having a foreign key without having a index by that key is that it takes very long to check if it is used.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 10 2003
Added on Jul 10 2002
17 comments
140 views