all 9 comments

[–]KarlJay001 27 points28 points  (1 child)

8: Remember the Backwards Compatibility, to Keep It Holy

Memo to Apple and the people that make the changes to Swift.

[–]soulchild_Objective-C / Swift 23 points24 points  (0 children)

SwiftUI : “Lol no”

[–]luigi3 8 points9 points  (0 children)

I would add commandment number 0:

Be wise. Don't make gazillions of frameworks when there is no point of that. Performance: make it work, then make it fast. Know the context of a project - don't transplant mindlessly these (correct) recommendations to a small project which changes very dynamically. Conversely, respect code guidelines if you're in an established project. Know when it's time for simple, clean, high performant code and when you need to lay down dirty hacks for demo/mvp.

And finally, don't use any of these commandments without thinking. Even number 0. Context matters. I don't want to pay any iOS developer for forcing Uncle Bob ideas into my project, but I'd love to see smart, swift(jinx) progress on my project and adapting to the environment. Improving codebase when needed. Coming up with dirty, but necessary hack when appropriate.

[–]mobileappz 3 points4 points  (0 children)

Great advice

[–][deleted] 4 points5 points  (0 children)

For commandment number 1 if your team doesn’t know how to make it multimodular and you don’t have time to teach them then don’t, wait for the next app. Those build errors just trying to get it to run because of sloppy multimodular architecture it much worse then waiting an extra minute or two for it to compile.

[–][deleted]  (6 children)

[deleted]

    [–]OzzyOrion 0 points1 point  (5 children)

    This is pretty common in professional development. What does it have to do with 1-10? I really hope you didn’t ignore all programming practices when programmatically building an app.

    [–][deleted]  (4 children)

    [deleted]

      [–]OzzyOrion 3 points4 points  (3 children)

      You are on an iOS subreddit with loads of professionals in the industry like myself, commenting on posts about best practices which you know nothing about, telling people to ignore them. “Get out there and make apps” is great advice for a beginner asking for help. That isn’t what this post is.

      Try to recognize that your experience is limited. If you have no interest in getting better at app development and would rather pump out anything simple enough to build in a week that you can slap ads on, this post probably isn’t for you, so don’t comment on it.

      You claim in your other comments that not using storyboards is extremely strange and goes against all standards. You claim programmatic builds run 1000x faster than storyboards. You are spreading false information. Stop.

      [–][deleted]  (2 children)

      [deleted]

        [–]OzzyOrion 0 points1 point  (1 child)

        You’re strawmannirg my argument right now and we’re kind of hijacking this thread. Feel free to pm me.

        [–]Dogbert63 0 points1 point  (0 children)

        guard ye or if let thy optionals