Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Raw String Literals Removed From Java 12 as Feature Set Frozen. Parent comment
import java.awt.List as awtList
import java.util.List as utilList
Granted, there's not a lot of scenarios where you have this sort of collision, but it does happen and using aliasing makes the code easier to read.
There are no comments on this comment yet.
import java.awt.List as awtList
import java.util.List as utilList
Granted, there's not a lot of scenarios where you have this sort of collision, but it does happen and using aliasing makes the code easier to read.