Writing
Posts
All the articles I've posted. 135 total.
May 02, 2017 · 1 min readPython
Get more with collections!
In addition to Python's built-in data structures (such as `tuple`s, `dict`s, and `list`s), a library module called `collections` provides data structures with additional features, some of which are specializations of the built-in ones
Continue reading →May 01, 2017 · 1 min readPython
There is more to copying
An assignment only creates a binding (an association) between a name and a target (object of some type). A copy is sometimes necessary so you can change the value of one object without changing the other (when two names are pointing to the same object)
Continue reading →Apr 30, 2017 · 1 min readPython
Implementing weak references in Python
Normal Python references to objects increment the object's reference count thus preventing it from being garbage collected
Continue reading →Apr 29, 2017 · 1 min readJava
Translating Scanner tokens into primitive types
Translating Scanner tokens into primitive types
Continue reading →Apr 28, 2017 · 1 min readJava
Listing a file system's root directories
Listing a file system's root directories
Continue reading →Apr 27, 2017 · 1 min readJava
The Console class
The Console class
Continue reading →Apr 25, 2017 · 1 min readPython
Next, Function or Method ?
Next, Function or Method ?
Continue reading →Apr 24, 2017 · 2 min readPython
Generator Expressions
Generator Expressions
Continue reading →