I should read this "DAILY" until it is second nature.
Following is advice from Marcus Bratton circa May 2019
making things easier for yourself is about incremental small improvements that add up to big gains over time
I don't do them as big projects because big projects carry high risk
but a lot of small things allow me to keep risk low since it is stretched over time
I don't have code snippets, I write libraries that do things for me and I use github to store my code (it is free)
so common things that I do on projects I abstract and make generic
then I reference the library in the project and I use it
things like changing the database structure, or querying data from the database, or interacting with different azure services
since I write extensive tests for the library I have a very high degree of confidence that it works
and so when I use it, I am using hardened, tested production code that is guaranteed to work out of the gate
instead of rewriting the same stuff over and over
and if I fix a bug, I update the reference everywhere
instead of fixing it everywhere, or worse, fixing it some places and not others
there's nothing that we do that is particularly unique or different in the world
even the front end is pretty mundane and routine
you would benefit greatly from templates for example
or being able to have validators that do common validation for you
there's a difference between how something works and what conditions it applies
you just gotta start looking at things in terms of what is mechanical about what you do and what is situational based on the specific app
mechanical things can be abstracted and reused
you're always going to have to validate forms, you're always going to have to handle errors, you're always going to have to post and consume data
when to show a specific field or go to a specific page is situational
but navigating or showing / hiding fields are mechanical
hence why people made jquery
so you should go back and look at what sort of things you do every project or every page
that you have to copy + paste over and over and change very little
that stuff is mechanical
once you get that down the natural extension is what sort of requests you get all the time
like changing timer values for abandonment and redeploying
or in my case getting asked to add a field to the thank you page
just try to live in a world where when someone asks how hard it is to make a change, 99% of the time you can say "that's easy"
when jake asks me for things the estimates I give are in hours to a day or two. Longest is 2 - 3 days and that is if I have to integrate with a 3rd party
because I make everything easy to do
and if I get a lot of requests to change things I make it configurable and give others the ability to manage it
the goal is for things to be stable, repeatable, fast, consistent and reliable, and to have to do as little as possible to keep it that way
the natural byproduct of that is that when there is something urgent or shit is hitting the fan, people come to me because they know that I deliver results and value fast
the other part of it is I communicate concisely and frequently so that jake always knows the status of things before he thinks to ask for it
and I don't spend too much of his time letting him know
----------
My own notes in the spirit of the above:
For FidelityLife and Life Story, begin judiciously using Razor style comments, e.g., @* *@,
especially when asked to "remove the phone number from MediaAlpha" or show/hide LeadId and things
like that. Far easier to toggle them off and on this way than to try to recreate the code, potentially
introducing errors.