Recently, we looked at list comprehensions in Python. Similar to its sibling the list comprehension, a dictionary comprehension is nothing more than a shorthand way of creating a new dictionary collection. While it may seem a little more complicated than the list version, it is actually quite simple to understand.

Continue Reading

Views: (38)
(1)

Web developers have had to overcome a lot of obstacles. Probably the biggest hurdle that we’ve faced is the browser itself. Not only have we had to work around the incompatibilities of various browsers, but even at the best of times, we’ve been faced with hard-to-use, low-level APIs like the Document Object Model (DOM) and XmlHttpRequest.

Continue Reading

Views: (36)
(0)