MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fellowprogrammers/comments/61ewfn/linkedin_add/dfe2e7b/?context=3
r/fellowprogrammers • u/henkofzo • Mar 25 '17
11 comments sorted by
View all comments
Show parent comment
22
Wait... that's supposed to be JAVA?!
Java Professionals
Oh, I missed that. Well, in that case it should be:
if(java.time.LocalDateTime.now().getDayOfWeek().equals(java.time.DayOfWeek.FRIDAY)) { org.politeUtils.thank(supernatural.Deities.GOD); }
16 u/UnlikelyToBeEaten Mar 25 '17 Or, I suppose you could importimport java.time.*; import org.politeUtils.*; import supernatural.*; // not recommended if(LocalDateTime().now().getDayOfWeek().equals(DayOfWeek.FRIDAY)) { thank(Deities.GOD); } 13 u/SirOgeon Apr 09 '17 import supernatural.*; // not recommendedWhat could go wrong?
16
Or, I suppose you could import
import java.time.*; import org.politeUtils.*; import supernatural.*; // not recommended if(LocalDateTime().now().getDayOfWeek().equals(DayOfWeek.FRIDAY)) { thank(Deities.GOD); }
13 u/SirOgeon Apr 09 '17 import supernatural.*; // not recommendedWhat could go wrong?
13
import supernatural.*; // not recommended
What could go wrong?
View all comments
Show parent comment
22
u/UnlikelyToBeEaten Mar 25 '17 edited Mar 25 '17
Wait... that's supposed to be JAVA?!
Oh, I missed that. Well, in that case it should be: