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
- Andrew Griffith MP says Tories would reform IR35 Oct 7 00:41
- New umbrella company JSL rules: a 2026 guide for contractors Oct 5 22:50
- Top 5 contractor compliance challenges, as 2025-26 nears Oct 3 08:53
- Joint and Several Liability ‘won’t retire HMRC's naughty list’ Oct 2 05:28
- What contractors can take from the Industria Umbrella Ltd case Sep 30 23:05
- Is ‘Open To Work’ on LinkedIn due an IR35 dropdown menu? Sep 30 05:57
- IR35: Control — updated for 2025-26 Sep 28 21:28
- Can a WhatsApp message really be a contract? Sep 25 20:17
- Can a WhatsApp message really be a contract? Sep 25 08:17
- ‘Subdued’ IT contractor jobs market took third tumble in a row in August Sep 25 08:07

Comment