Published Jan 21, 2015

Silverlighting through your College Enumeration

    Explore the transition from Silverlight to modern mobile development technologies like Xamarin and Cordova, delve into effective code organization and git strategies with Joe Zack and Alan Underwood, and uncover essential networking and internship tips for college students entering the workforce.
    Episode Highlights
    Coding Blocks logo

    Popular Clips

    Episode Highlights

    • Namespace Tips

      Organizing namespaces effectively is crucial for maintaining clean and efficient code. Joe Zack emphasizes the importance of aligning folders with namespaces to avoid confusion and circular dependencies, which can complicate code management 1. Alan Underwood adds that while mistakes are common, especially among new programmers, it's vital to refactor and keep code close to where it belongs 1. He suggests that enums with global reach should be placed in a common namespace, but those specific to a class should remain close to it 2.

      I feel like life as a developer is just a constant refactoring effort.

      --- Michael Outlaw

      This approach ensures that the context is preserved, making the codebase more maintainable.

         

      Code Organization

      Effective code organization involves strategic placement of enums and minimizing dependencies. Joe Zack shares his preference for spreading out code into multiple files and projects to avoid cyclic dependencies, which can lead to a tangled codebase 3. Michael Outlaw agrees, suggesting that enums should be kept close to their relevant classes to maintain context and reduce unnecessary dependencies 4.

      If you have enums, they need to be close to where the definition is.

      --- Alan Underwood

      This strategy not only enhances clarity but also simplifies the process of managing and updating code.

         

      Git Tips

      Mastering git commands can significantly improve code management and collaboration. Michael Outlaw introduces a useful git tip for interactively staging changes, allowing developers to selectively commit parts of a file without deleting uncommitted changes 5. This technique is particularly helpful for managing debug statements or unfinished methods that should not be included in a commit.

      It's a great way of committing untested code.

      --- Joe Zack

      Alan Underwood highlights the importance of using git's interactive features to maintain a clean commit history, ensuring that only the necessary changes are included 6.

    Related Episodes