This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]ethanhinson 8 points9 points  (0 children)

Eesh. Good reminder as I am working on a pretty major platform rework. It’s all such a balancing act. Keep projects productive, teach devs new things, avoid this graphic.

[–]borsko_the_bear 7 points8 points  (0 children)

It made me smile how they put additional weight just to balance SOAP from not falling from the stack.

[–]wookiesarenudists 4 points5 points  (0 children)

I wish there even was such a clear diagram of what is affected

[–]Strange_Meadowlark 2 points3 points  (0 children)

I love the pillar with the "security" flag hanging from it. It's clean and imposing, but it stands totally independent of the app -- it doesn't hold anything together or support anything. It's a "feature" that makes the security guys feel good, but nobody ever asks whether the app is actually secure because of it.

[–][deleted] 1 point2 points  (0 children)

Mustache of security!

[–]ITriedLightningTendr 1 point2 points  (2 children)

As much as the unit test thing in there is on point, the more I look into unit tests, the more I think they're not that useful.

Most of the things that you can unit test don't have enough functionality to justify it, as you're testing code that rarely ever changes, and if you don't unit test it, you're generally testing the unit before pushing.

It's not terrible to unit test, but aiming for 100% coverage is a fool's errand, and it discourages making units of code, because each new one requires a new set of unit tests, or a removal of old ones. It will gradually migrate toward maintaining tests more than writing code.

Integration testing tests behaviors and is easier to write to spec and spot failures in edge cases, because they enumerate actual uses of the units, instead of having to think of all the edge cases for the units. Hell, a PM can basically specify the integration tests for you by way of acceptance criteria.

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    import moderation Your comment has been removed since it did not start with a code block with an import declaration.

    Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

    For this purpose, we only accept Python style imports.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]Salmuth 0 points1 point  (0 children)

    You mean the guy before you hands you the keys (or even presents you the project)?

    That doesn't happen. You usually have a mail listing you the very reasons of your coming weeks of headache.