adequately good

decent programming advice

written by ben cherry

Object-to-Primitive Conversions in JavaScript

Like most object-oriented programming languages, JavaScript provides built-in ways to convert between objects and primitive values, by way of the special toString and valueOf methods. This article will cover the basics of these methods, but then dive into the details of how this stuff really works, bad stuff, performan...

JavaScript-Style Objects in Python

One of JavaScript’s most convenient features is the object syntax. Objects are so easy to work with. You’ve got a l...

go previous or next