That's my thought on the matter. If you have a long method declaration, say

public static List<PaginatedResult<Question>>
getResults(PaginatedResult<Solution> solutions,...)

I don't even know if the first argument can fit within 80 characters...




On Fri, May 3, 2013 at 1:02 AM, Bennett Ng <notifications@github.com> wrote:

> In
> InterviewAnnihilator/src/com/huskysoft/interviewannihilator/service/QuestionService.java:
>
> > +import com.huskysoft.interviewannihilator.model.Question;
> > +import com.huskysoft.interviewannihilator.model.Solution;
> > +import com.huskysoft.interviewannihilator.util.PaginatedResults;
> > +
> > +/**
> > + * A class to provide services to the front end for getting questions,
> > + * getting and posting solutions, etc.
> > + *
> > + * @author Kevin Loh, 5/2/2013
> > + *
> > + */
> > +public class QuestionService implements QuestionServiceInterface {
> > +
> > +	@Override
> > +	public PaginatedResults<Question> getQuestions(List<Category> category,
> > +			Difficulty difficulty, int limit, int offset) {
>
> Will actually take four lines - might be less readable?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/huskysoft/403Interviewer/pull/34/files#r4070068>
> .
>