| ▲ | riclib 5 hours ago | ||||||||||||||||
Last night I built a website from scratch. Not a landing page. A full blog with three-domain routing, animated video covers, an audio player with playlists, dark mode, RSS feeds, social cards, and a sticky sidebar with a lightbox. Seven commits. Zero test failures. One binary. The site you've read the article on. Built in one session. In Go. I work with an AI that writes most of the code. The question everyone asks is which language to vibe in. Python is fast to start. Rust is correct by construction. Go is boring. I choose boring. Here's why. | |||||||||||||||||
| ▲ | gerdesj 3 hours ago | parent | next [-] | ||||||||||||||||
Would you mind showing us the Go bits of this website? I'm also struggling with this: "The compiler is the floor. The human is the taste. The binary is the proof." I'd initially go for parody but I'm not laughing (inwardly). | |||||||||||||||||
| ▲ | saidnooneever 4 hours ago | parent | prev | next [-] | ||||||||||||||||
every page includes inline css, js etc. so each load it will pull all of that in each time. so each page transfer. you could put the css and js parts that are common between them into separate files so that the browser can cache them and your users and server save some bandwidth. happy to see most of it looks kinda decent. Not sure why you promote the site as being built in Go because its html, css and javascript. The backend can be go, but since it is not visible and theres no link to that code its impossible to see if its good or bad. the fact it does xyz doesnt really say anything about code quality..it just confirms the happy path works which is what AI is pretty good at. it might be interesting to open it up for scrutiny and get some contributions if its good or some tips for footguns or bugfixes if there are such things. not trying to discourage ofcourse :D and it sounds like a fun and rewarding project and ultimately i can navigate the pages just fine and it works ok on my connection regarding the bandwidth remark. (thats long run savings i guess, or handier when u receive higher volume traffic perhaps?) | |||||||||||||||||
| ▲ | malcolmgreaves 3 hours ago | parent | prev | next [-] | ||||||||||||||||
You also have AI write your HN comments. | |||||||||||||||||
| |||||||||||||||||
| ▲ | hackingonempty 3 hours ago | parent | prev [-] | ||||||||||||||||
Why use an obscure language like Golang when you can use Java? It is just as capable and boring as Golang but has an order of magnitude or two more available libraries, training data, and runtime support. | |||||||||||||||||
| |||||||||||||||||