Roy Tang

roytang.net

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

2017 December

  • My Coding Approach

    I was thinking about my typical approach to coding. When writing a new feature, I tend to implement in the direction of where the data flows, starting from the user interface then to the backend and back to the frontend and wherever else that goes. I will build incrementally, using debugging tools or console printouts to ensure that each step is working correctly. As an example, here's how I did a recent web-based function: The user needs to see a new button on the screen, so I add the HTML for that button and just have the click handler be

    read more (916 words)

    Posted by under blog at #software-development

    Also on: tumblr twitter / 916 words

  • Singapore 2017

    I took a 5-day trip to Singapore last weekend, mostly to play in the Grand Prix, but the opportunity to get away from the country for a while was appreciated. These are some notes and anecdotes from the trip. (Not about the GP itself, that's a separate post on its own.) By my count this would be my 5th visit to Singapore. That means Singapore now ties Hong Kong for my most visited foreign destination. My last HK visit was back in 2009, there was no overlap. Normally when flying out I prefer to check luggage so that I'm not

    read more (1864 words)

    Posted by under blog at #travels

    Also on: tumblr twitter / 1864 words