Encapsulating functionality behind a well-defined interface
Most traditional programming languages provide several ways to abstract away complexities of code, and instead present a well defined interface. What does that mean? Well, in simple terms it’s a restricted set of entry points into that code that make it clear how you can interact with it. Was this email forwarded to you? Subscribe Here! Take, for example, a web page with a form that takes your username and password. The interface is made up of the username field, the password field, a ‘forgot...