I always stay up with the latest go releases and if I am touching one of my packages that are set to lower in go.mod, I update it. It is an easy maintenance task to make sure I am keeping up with the latest standard library and tooling changes and improvements.
I just write my own code and then ask AI to find any issues and correct them if I feel it is good advice. What AI is amazing at is writing most of my test cases. Saves me a lot of time.
To be fair, many human tests I've read do similar.
Especially when folks are trying to push % based test metrics and have types ( and thus they tests assert types where the types can't really be wrong ).
I use AI to write tests. Many of them the e2e fell into the pointless niche, but I was able to scope my API tests well enough to get very high hit rate.
The value of said API tests aren't unlimited. If I had to hand roll them, I'm not sure I would have written as many, but they test a multitude of 400, 401, 402, 403, and 404s, and the tests themselves have absolutely caught issues such as validator not mounting correctly, or the wrong error status code due to check ordering.
It's good at writing/updating tedious test cases and fixtures when you're directing it more closely. But yes, it's not as great at coming up with what to test in the first place.
The assertion here is not about implementation logic. GP presumably has in mind unit tests, specifically in a framework where the test logic is implemented with such assertions. (For the Python ecosystem, pytest is pretty much standard, and works that way.)
Majority of data in typical message-passing plumbing code are a combination of opaque IDs, nominal strings, few enums, and floats. It's mostly OK for these cases, I have found. Esp. in typed languages.
I haven't got to 10m yet, but I saved 70-80% of my take home pay since ~2008 and I have enough to quit at any time and live the rest of my life without working. That is just by investing in the 3-fund portfolio and without the crazy SF salaries.
Before Covid, I lived on about 25K a year since I had a paid off condo then. Now, I am renting and live on around 36K a year. I realize my situation doesn't work for everyone. Some people cannot fathom not buying a new phone and computer every year and a new car every 3 years.
Also, now, I am fully working from home so that helps with saving on gas and not eating out as much. I make my coffee every morning instead of Starbucks on the way to work and I make my own lunch and dinner 95% of the time.
No kids, rent is $1800 a month for a 1 bedroom. I could rent the same for cheaper but I like this place. I'm in Washington State, Software Devs make decent money where I am but not SF wages. I make good money but nowhere near the top. I have an easy job, WFH and rarely work over 40 a week.
Being FI helped me out greatly in December 2020 when My company laid off half of my team and expected me to take on double the load, including lots of extra after hours on-call support. I had a pretty great time not working for ~3 years during Covid. However, I am back to work after an old friend and boss offered me a WFH job that I couldn't refuse. He has since retired so I will stick around until current management pisses me off again, they downsize me or I just get sick of logging into teams/outlook at 7AM every morning.
reply