Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

This faked nostalgia is becoming irritating.

Websites which were like that didn't last long, and mostly were hosted on free webservers.

If you want to get rid of nostalgia please spend 60 whole minutes making sense of HTML+PHP5.6+jQuery copy pasted code. And make it IE6 compatible. And use tables for layout. And don't use stackoverflow, caniuse, or an IDE. You'll soon understand how we reached the current state of things.

t. Boomer that spends 8+ hours straightening PHP5.6 sghettis for a living, who still swears by FTPZilla and jQuery scripts.



Vanilla JS is quite nice these days, the only advantages jQuery has now is the fact that it's somewhat less verbose for DOM things and has support for old browsers.

  // For example, instead of
  $("#somebutton").click(() => alert("Hello"))

  // You would  do
  document.querySelector("#somebutton").addEventListener("click", () => alert("Hello"));
  
  
  // Instead of
  $("#message").text("Important Message")

  // You would  do
  document.querySelector("#message").textContent = "Important Message";
  
  
  // Instead of
  $("#things .thing").css("color", "red")

  // You would  do
  for(let e of document.querySelectorAll("#things .thing")) e.style.color = "red";
  
  
  // Instead of
  await $.ajax("https://httpbin.org/get").then((_1, _2, {responseJSON}) => responseJSON)

  // You would  do
  await fetch("https://httpbin.org/get").then(e => e.json())




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: