If you’re looking for a comprehensive guide to design patterns, our new course is ideal for you. In Swift Design Patterns, you’ll get 24 detailed videos totalling 3.5 hours of viewing time, in which you’ll learn some common design patterns that you can use over and over in many different languages.

Continue Reading

Views: (9)
(0)

Are you familiar with the term “spaghetti code”? This is a metaphor you might hear from non-JavaScript developers in criticism of the language. It is code with no structure. It will consist of line after line of statements. Some may be wrapped in functions, some not at all. And if you are lucky, all 9,000 lines of code will be in one file. This “spaghetti” structure is probably the result of procedural programming.

Continue Reading

Views: (13)
(0)

Go couldn’t load code dynamically prior to Go 1.8. I’m a big proponent of plugin-based systems, which in many cases require loading plugins dynamically. I even considered at some point writing a plugin package based on C integration.

Continue Reading

Views: (68)
(0)

If you want to learn about a rising web framework, you should check out Phoenix, a new framework for the Elixir language. With a server-side MVC pattern, it’s similar to other web frameworks like Ruby on Rails or the Python framework Django, but it also contains powerful new ideas to make web development easier and more effective.

Continue Reading

Views: (10)
(0)

MVC stands for Model-View-Controller, and it’s a widespread architectural pattern for software development. It’s the de facto design pattern for Cocoa development, and it has been for many, many years. Most of us can’t imagine building applications without it. Both UIKit (iOS) and AppKit (macOS) make frequent use of MVC. It almost seems as if we don’t have another option to build applications for iOS, tvOS, macOS, and watchOS.

Continue Reading

Views: (11)
(0)

Go programs that run multiple concurrent computations in goroutines need to manage their lifetime. Runaway goroutines can get into infinite loops, deadlock other waiting goroutines, or just take too long. Ideally, you should be able to cancel goroutines or have them time out after a fashion.

Continue Reading

Views: (9)
(0)

Coding an iOS app is hard work, so it makes sense that devs want to cut corners and find ways to get their app online as quickly as possible. But a successful app will be around for a long time—that means years of bug fixing, feature enhancements, and working with other coders.

Continue Reading

Views: (9)
(0)