Originally posted by minestrone
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Code reviews
Collapse
X
Collapse
-
Being told not to do it is just plain daft, when nearly every class in the Java libraries inherits from something (if it is Java we're talking). Probably "if you're not sure, composite" is better advice.Originally posted by MaryPoppinsI'd still not breastfeed a naziOriginally posted by vetranUrine is quite nourishing -
How about 'use inheritance when it is appropriate and use composition when it is appropriate'?Comment
-
but that means you have to think. We want a simple answer which doesn't require thinking that we can take the mickey out of...Originally posted by MyUserName View PostHow about 'use inheritance when it is appropriate and use composition when it is appropriate'?merely at clientco for the entertainmentComment
-
Sorry, wrong forum.Originally posted by eek View Postbut that means you have to think. We want a simple answer which doesn't require thinking that we can take the mickey out of...
I meant that you should always inherit from a bass class and also add the base class as a member or you are clearly a cretin who should not be allowed near a keyboard - and NO! I don't care if you language does not support inheritance.Comment
-
As we're on the topic of tulipy code and maintenance, etc - here's a gem of a javadoc for a class I just came across:
/**
* Retrieves disputed payments. Inaccurately named, since it is both
* used by the ixxxxxxxx and the xxxxxxxxx!
*
* @author xxxxxxxx
*/
Why don't people fix mistakes when they see them?!Comment
-
I would fix more but beating people to death is illegalOriginally posted by SpontaneousOrder View PostAs we're on the topic of tulipy code and maintenance, etc - here's a gem of a javadoc for a class I just came across:
/**
* Retrieves disputed payments. Inaccurately named, since it is both
* used by the ixxxxxxxx and the xxxxxxxxx!
*
* @author xxxxxxxx
*/
Why don't people fix mistakes when they see them?!Comment
-
Because they then get crucified by the forum regulars.Originally posted by SpontaneousOrder View Post...
Why don't people fix mistakes when they see them?!Down with racism. Long live miscegenation!Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- I registered my company with my home address. Whoops. Here's what Companies House shows the world about you Today 13:06
- The Tories’ three IR35 replacement options — but contractors are right to be sceptical Today 03:51
- Conservatives to replace IR35 outright, Griffith vows — advisers who met him reveal what it should contain Yesterday 05:06
- HMRC’s tax calculation errors: why contractors must check their bill now Sep 17 05:14
- HMRC names 12 loan charge-type schemes, one with ‘Tardis’ clause Sep 15 00:12
- Inside IR35 contractors as zero-hours reform victims is why Kate Dearden must meet us Sep 14 06:37
- Simple Assessment letters: How ex-Personal Service Companies are on HMRC’s radar Sep 11 12:16
- HMRC leaves 37,000 contractors’ nil-liability question in the air Sep 11 07:42
- Pay 2% to protect a ‘loan’. Settle it for 1–2%? The contractor debt mystery deepens Sep 10 06:30
- Napkin, anyone, for your next IT contract? Sep 9 06:11

Comment