Tag: bestpractices

Best practices for writing good, clean JavaScript code

Best practices for writing good, clean JavaScript code

Robert Martin's book Clean Code has been on my to-read list for months now. Browsing the web, I stumbled across this repository of where Ryan McDermott applied the book's principles to JavaScript. Basically, he made a guide to producing readable, reusable, and refactorable software code in JavaScript. Although Ryan's good and bad code examples are written in … Continue reading Best practices for writing good, clean JavaScript code

7 Reasons You Should Use Dot Graphs, by Maarten Lambrechts

7 Reasons You Should Use Dot Graphs, by Maarten Lambrechts

In my data visualization courses, I often refer to the hierarchy of visual encoding proposed by Cleveland and McGill. In their 1984 paper, Cleveland and McGill proposed the table below, demonstrating to what extent different visual encodings of data allow readers of data visualizations to accurately assess differences between data values. DOI: 10.2307/2288400 Since then, … Continue reading 7 Reasons You Should Use Dot Graphs, by Maarten Lambrechts

The Mental Game of Python, by Raymond Hettinger

The Mental Game of Python, by Raymond Hettinger

YouTube recommended I'd watch this recorded presentation by Raymond Hettinger at PyBay2019 last October. Quite a long presentation for what I'd normally watch, but what an eye-openers it contains! Raymond Hettinger is a Python core developer and in this video he presents 10 programming strategies in these 60 minutes, all using live examples. Some are … Continue reading The Mental Game of Python, by Raymond Hettinger

Data Visualization Style Guide Repositories

Data Visualization Style Guide Repositories

Amy Cesal put together (1) this great overview of style guides for data visualization practice. Moreover, in the original tweet, Amy refers to other great repositories such as (2) this PolicyViz one and (3) this humongous one by Adele. https://twitter.com/AmyCesal/status/1142078663866949632?s=03 Amy's list includes many references to the best practices used by some of the leading … Continue reading Data Visualization Style Guide Repositories

5 Quick Tips for Coding in the Classroom, by Kelly Bodwin

5 Quick Tips for Coding in the Classroom, by Kelly Bodwin

Kelly Bodwin is an Assistant Professor of Statistics at Cal Poly (San Luis Obispo) and teaches multiple courses in statistical programming. Based on her experiences, she compiled this great shortlist of five great tips to teach programming. Kelly truly mentions some best practices, so have a look at the original article, which she summarized as … Continue reading 5 Quick Tips for Coding in the Classroom, by Kelly Bodwin

18 Pitfalls of Data Visualization

18 Pitfalls of Data Visualization

Maarten Lambrechts is a data journalist I closely follow online, with great delight. Recently, he shared on Twitter his slidedeck on the 18 most common data visualization pitfalls. You will probably already be familiar with most, but some (like #14) were new to me: Save pies for dessertDon't cut barsDon't cut time axesLabel directlyUse colors … Continue reading 18 Pitfalls of Data Visualization