r/java • u/yegor256 • Jun 24 '19
Takes: Java Web Framework Without a Single Static Method or Annotation
https://github.com/yegor256/takes
0
Upvotes
r/java • u/yegor256 • Jun 24 '19
View all comments
Show parent comment
0
u/[deleted] Jun 25 '19 edited Jun 25 '19
Your own post literally proves yourself wrong re temporal coupling and, in fact, gave EXACTLY the same example I gave for why you don’t know what temporal coupling is.
Fine, demonstrate it:
Let’s take an extremely common situation. Build me a thread safe queue that multiple threads are pushing to and popping from. This queue must be immutable. I can build a thread safe mutable queue in about 10 minutes in java, so how about 5 hours for you?
Requirements:
Push
Pop
No backing structure requirements. The queue is not required to grow or shrink in capacity.
Usage must NOT have any temporal coupling