Skip to main content
added 228 characters in body
Source Link

How about calling your method printReportDataPrintSpecializedReportData and call your subclasses CPrintVerificationReport and CPrintIdentificationReport?

Also, rename PrintCommon to PrintCommonData.

And remove the comments that are now really unnecessary. Notice how, instead of commenting, you should have renamed your methods according to what they do.

How about calling your method printReportData and call your subclasses CPrintVerificationReport and CPrintIdentificationReport?

How about calling your method PrintSpecializedReportData and call your subclasses CPrintVerificationReport and CPrintIdentificationReport?

Also, rename PrintCommon to PrintCommonData.

And remove the comments that are now really unnecessary. Notice how, instead of commenting, you should have renamed your methods according to what they do.

Source Link

How about calling your method printReportData and call your subclasses CPrintVerificationReport and CPrintIdentificationReport?