nus-cs2103-AY2223S2 / forum

12 stars 0 forks source link

Citation of SE EDU tutorial #190

Closed potty10 closed 1 year ago

potty10 commented 1 year ago

I copied some code for my GUI from https://se-education.org/guides/tutorials/javaFxPart4.html. Do I still need to cite using the format below?

persons = getList()
//@@author johndoe-reused
//Reused from https://stackoverflow.com/a/34646172
// with minor modifications
Collections.sort(persons, new Comparator<CustomData>() {
    @Override
    public int compare(CustomData lhs, CustomData rhs) {
        return lhs.customInt > rhs.customInt ? -1 : 0;
    }
});
//@@author
return persons;
damithc commented 1 year ago

@potty10 those resources are provide by us and are free to be reused. So, it's fine if you don't specifically cite them as reused, but you are welcome to do so.

Hikoya commented 1 year ago

Hi @potty10 , I am a senior from the previous batch. Please remember to close the issue if prof has answered your question.

nus-se-bot commented 1 year ago

@potty10 A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.

nus-se-bot commented 1 year ago

@potty10 I'm closing this issue due to inactivity. Feel free to reopen if the issue is still unresolved.