Comment

Comment by ToriTech

I'm not necessarily a software engineer, but I do a lot of coding for my cybersecurity projects. I find it's very helpful to have AI generate the first "batch" of code, but I do it in a very unusual manner. I don't use agents, I just use an LLM, and I review the code before I ever hit "copy" so I ensure I'm not outsourcing my thinking to a bot.

Anyway, when it comes time to make a project, I first figure out what I want to build. Then I research the steps I would need to take to build it. For example, if I wanted to make a webapp that has a deliberate SQL injection for a CTF, I would need a database, a login page, and a dashboard to navigate to after logging in. For larger projects, I might use AI to help me figure out the components required.

Then I save those notes and then focus on a single component. Continuing with this example, I'll start with the login page. I'll get AI to generate the code on that. Sometimes it doesn't cooperate and makes the SQL query secure, so I have to manually go in there and fix it myself, rather than ask it to redo it again. I get serious imposter syndrome whenever I use AI to generate code, so I make sure I can understand some of it before I run it, and I try to manually fix bugs before I ask for help.

Once all the components are built, I tie them all together and start testing the program.

parent ToriTech 1 month ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton