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
- Statutory Sick Pay (SSP) for umbrella company contractors: an April 2026 explainer Today 07:19
- IR35: IT contractors ‘most concerned about off-payroll working rules’ Yesterday 07:11
- Labour’s near-silence on its employment status shakeup is telling, and disappointing Feb 3 07:47
- Business expenses: What IT contractors can and cannot claim from HMRC Jan 30 08:44
- April’s umbrella PAYE risk: how contractors’ end-clients are prepping Jan 29 05:45
- How EV tax changes of 2025-2028 add up for contractor limited company directors Jan 28 08:11
- Under the terms he was shackled by, Ray McCann’s Loan Charge Review probably is a fair resolution Jan 27 08:41
- Contractors, a £25million crackdown on rogue company directors is coming Jan 26 05:02
- How to run a contractor limited company — efficiently. Part one: software Jan 22 23:31
- Forget February as an MSC contractor seeking clarity, and maybe forget fairness altogether Jan 22 19:57

Comment