5 posts tagged with code by cgc373.
Displaying 1 through 5 of 5.

Bugs in Hello World

Hello World might be the most frequently written computer program. For decades, it's been the first program many people write, when getting started in a new programming language. Surely, this humble starting-point program should be bug free, right? A 650-word blog post from sunfishcode via lobste.rs
posted by cgc373 on Mar 9, 2022 - 36 comments

The Unreasonable Effectiveness Of Declarative Programming

The blue circle's animation is quite complex. It consists of multiple stages. (1) The circle grows in size. (2) It continues to grow in size at a faster rate, as it shoots off to the right. (3) It pauses. (4) It moves to the middle. (5) It pauses again. (6) It shrinks to nothing.
posted by cgc373 on May 19, 2020 - 17 comments

How I made a 3D game in only 2KB of JavaScript

My entry, Hue Jumper, is an homage to 80’s racing game rendering technology. The 3D graphics and physics engine was implemented from scratch in pure JavaScript. I also spent ungodly hours tweaking the gameplay and visuals. Frank Force's 4400-word description (plus code!) for a driving game. [more inside]
posted by cgc373 on Mar 10, 2020 - 13 comments

progress of the field of software engineering between 2004 and 2016

Nowadays, professionally, I am extremely conscious of this sort of style choice or convention, trying hard to ensure it's consistent across the team, organization, or better yet with the rest of the broader community. At the time, though, I was programming basically alone, and idiosyncrasies, like this mistaken naming convention, could persist for years. 3500 words from Li Haoyi, "a software engineer, an early contributor to Scala.js, and the author of many open-source Scala tools such as the Ammonite REPL and FastParse," describing a 300-line version of Asteroids he wrote when he was fourteen.
posted by cgc373 on Oct 21, 2019 - 7 comments

A Better Way to Code – Mike Bostock – Medium

It’s great that journalists and scientists are sharing data and code. But code on GitHub is not always easy to run: you need to reproduce the necessary environment, the operating system, the application, the packages, etc. If your code is already running in the browser, it runs in any other browser; that’s the beauty of the web. Mike Bostock writes 4300 words for Medium (with LOTS of pretty pictures).
posted by cgc373 on May 1, 2017 - 61 comments

Page: 1