6
CptPie
4y

TL:DR: Unclear requirements led to a complete code rework

Background: We (2 friends, both already work as developers beside studying, and myself) are in a course about multi core programming for Java. We got an simple assignment which we were about to finish today.

An other friend of us is also in this course and asked if he could use some special method which is far above the taught material. He got a email with the following answer: "You are free to use any features of java 8 apart from lambdas and concurrents as we use them for our next assignment." He told us as he couldn't believe that we weren't allowed to use lambdas an we sat in front of our codebase and the only thing we could think of was "fuck".

Our entire code base was filled with lambda expressions as the requirement paper didn't mention any restrictions apart from using java 8.

FUCKING FUCKTARDS GET YOUR REQUIREMENTS RIGHT AND SAY WHAT YOU DON'T WANT TO SEE.

And here I am, sitting in front of intellij and merging my lambda filled fixing branch with our now lambda free working branch.

Comments
  • 4
    What you do there is you turn that shit in anyway. If he actually marks you down, you take the original spec to the dean’s office and file a complaint that you aren’t being graded according to the rubric provided by the teacher.

    That said, knowing how to do that without lambdas is useful knowledge. You might get stuck on a legacy codebase where the Java language level is stuck at an old version because it has to maintain interoperability with clients that use older JREs.

    *ahem* not that I speak from experience or anything. *cough*
  • 3
    Well on the bright side - I resolved my first major merge request \o/
Add Comment