2 ms·
I've mentioned this on HN before, but I remember seeing some code years ago that had: static final String HTTP = "http"; static final String COLON = ":";
by arethuza 12y ago
I've mentioned this on HN before, but I remember seeing some code years ago that had:
static final String HTTP = "http";
static final String COLON = ":";
static final String SLASH = "/";
String url = HTTP + COLON + SLASH + SLASH + ....;
Which I guess isn't wrong, but isn't right either :-)