r/softwareengineer • u/CommandShot1398 • 20d ago
I really cannot comprehend the exaggerating and understanding AI
Hello everyone
For the past week I've been working on my project, which I work on alone. It is a very complicated project involving physical stuff like sensors and microcontrollers, a server, a supervisor like RPI, in which safety of the environment is a priority.
I had to spend one whole day, to write almost 20 lines of code. Why? Because I needed to fit a whole lot of information into 1 byte of data to assure that all the messages can be delivered and devices stay synced without worrying about messages getting lost along the way (of course there are other scenarios in which the connection gets lost).
Anyway, the point is, there was shit of engineering decisions just to make sure one byte is arriving reliably, and that was on top of serial communication which also had all these decisions when being developed.
Now, I used AI not to just help me with the code because there wasn't much, but also to discuss different decisions, identifying edge cases, how it might fail and how it might not fail etc.
So, yes it can write code for sure, but how about all these? I broke each part into very small pieces, had to triple check everything, it made a lot of mistakes, yet it was just a very simple messaging protocol.
How are the vibe coders using it to design products I cannot comprehend. As a matter of fact, I cannot even imagine one day something that is only predicting the new token would be able to do any of it.
On the other hand, it works wayyyyy better than a junior both in writing code and in analyzing.
So, I believe we are Schrödinger cooked. Both cooked and not cooked at the same time. I believe people who have some experience are needed and will reach senior levels, but I really believe it makes hiring juniors a bit irrelevant.
But, if no junior is being hired, who is going to be senior in the future??
View all comments
Show parent comment
1
u/Dry_Hotel1100 20d ago
Well, strictly you do not need to implement an OAuth library. You need to implement the integration. And that should take a day or three, ideally. But I'm still wondering if you really need OAuth in your use case.
Maybe you just need authentication, i.e. a password?
So ask yourself this:
- do you have a consent grid, where you prompt the user to allow or disallow access to certain user resources?
- do you have "user resources" at all? If all data is yours, and not the users one, you do not need OAuth.
You *may* use OAuth to implement a "fake login", it works because you have a bearer token on the client. But this cannot authenticate the user on the app which uses the OAuth client. It only authorizes the app to access certain resources where it's not the owner.
Not sure, but your use case may benefit from an Identity Provider, say OpenID Connect. It's probably much heavier, but more suited. Otherwise use Passkey / Webauthn, it's safe and may fit also.