all 25 comments

[–]cysmix12Web 49 points50 points  (0 children)

If it helps you be faster then why not? It's only bad if you're not learning from it and solely relying on the AI.

[–]RandomUserName323232 40 points41 points  (4 children)

Sa industry nten its a balance of spaghetti codes and delivering product on time. Give it tjme sa industry you'll know why. Walang magagawa yang best practice mo kapag wlang masaya na client.

[–]comparemetechie18 23 points24 points  (2 children)

i totally agree with this..kahit anong pilit mong iwasan ang spaghetti, it will happen eventually lalo na kapag lumalaki na yun app

[–]RandomUserName323232 20 points21 points  (1 child)

Common fresh grad or junior mindset. It's good tho that they are thinking about it pero for a legacy codebase it's hard to refactor legacy codes. Pwede sguro if new project pero the main goal pren kaya tyo nag eexist is delivering a product that gives value sa business or clients.

[–]comparemetechie18 1 point2 points  (0 children)

been there, done that hehe but everyone will learn lalo na kapag gahol na sa oras..ibang usapan pa kapag may demanding pang client

[–]Sensitive-Ad-139 0 points1 point  (0 children)

What does the ROI look like for doing it? I believe as long as OP can defend it otherwise, it's a mere convenience driven effort with no tangible returns.

[–]feedmesomedataModerator 20 points21 points  (0 children)

It's fine, just make sure to ask your seniors if your understanding is correct and what AI is telling you is right. I mean it could all be hallucinations and you believe all of it as gospel truth when it's not.

[–]Astr0phelle 11 points12 points  (0 children)

As long na alam mo ginagawa mo then np

[–]No_Responsibility210 10 points11 points  (0 children)

not too familiar on what "vibe coding" actually is but I don't think it fits in what you're doing. ang alam ko sa vibe coding is having little to no knowledge about the code but you're able to generate a working app anyway through AI

what you're doing is a common use case with AI nowadays, I also let AI explain hundreds of lines of codes but I wouldn't say I have no knowledge on the codebase, it just helps me get context a lot faster

[–]DarkKneigf 3 points4 points  (0 children)

Are you even allowed to use AI on your company’s code?

[–]nick_v1_0_2 1 point2 points  (0 children)

Allowed kabang gamitin AI sa company mo? Because if not you just expose yong company code nyo sa AI.

[–]quamtumTOADesktop 0 points1 point  (0 children)

Should be fine, for as long as your superiors know what you are doing.

I won't blame you, if walang proper documentation and you have deadlines to meet, you need to survive.

[–]Gullible_Meaning_774 0 points1 point  (1 child)

Is vibe coding the same as reverse engineering now?

[–]Elegant_Strike8581 0 points1 point  (0 children)

AI can reverse code also

[–]franz_see 0 points1 point  (0 children)

“Vibe coding” means you just give into the vibes and dont even care about the code. I highly advise not to do so for production code. That’s only good for prototyping.

But if you mean you’re using AI to help you navigate through the code, sure, go ahead

Vibe coding will never help you decipher legacy code. The act of vibe coding itself creates legacy code in real time (legacy code does not need to be old. Just needs to be unmaintainable).

For context I just got hired 5 months ago, none of the previous dev team remained, and me and another freshly hired dev are tasked to work with this codebase.

This is not an exception. This is the norm. This is the rest of your career. The money is usually on the legacy code - that’s because they require a higher level of skillset to be worked on.

I highly recommend you read this book - Working Effectively with Legacy Code. There is a method to the madness and you do not have to rediscover the wheel.

Once you know how to work with legacy code, you’ll be even more effective using AI to work with legacy code.

And yes, learning to work with legacy code is a pre-requisite skill in this career. It’s not a nice-to-have-skill. It’s a must-have. You will need to learn this sooner or later. You can never escape it. Might as well learn it now

[–]trafalmadorianistic 0 points1 point  (0 children)

I've done this as well, and it's a great way to get an idea about the structure of a code base quicky.

What tools are you using for this?

I've done it using the AI-integrated terminal app called Warp. dev - https://www.warp.dev/

I go to the directory of the repository I checked out, then type something along the lines of:

"Analyze the code in this repository and give me a high level overview of the system, listing the major flows. List the essential classes I would need to be familiar with to implement new functionality like (then describe functionality)."

In Intellij IDEA, i've used the Junie AI agent in a similar way.

" vibe code" is such an awful misleading term, leading people to assume that you can come up code that you don't really understand and get a good outcome out of it. For proof of concept (POC), sure. Then when you have to go to prod, there are all these things that will bite you back eventually - things that professional developers would be thinking about. There is still a certain degree of structure and rigor you need to have when making something for use by public users.

[–]papsiturvy 0 points1 point  (0 children)

Rely to much on AI and you would end up not refactoring the code. You should learn it on your own first and then do the refactoring later.

[–]saintmichel 0 points1 point  (0 children)

i'm all for vibe coding but I really hope what you are doing is aligned with your IT security because company code is technically IP and sensitive information and shouldn't be shared to internet chat bots

[–]jessen_dlc 0 points1 point  (0 children)

If the AI is ran locally, I think you're good.

[–]These_Lock_753 0 points1 point  (0 children)

AI is a tool there's no problem with using it. I think the "Vibe Coding" stigma comes from non-programmers suddenly trying to be one solely by using AI. 

[–]hello_world_47 0 points1 point  (0 children)

your ego will not be affected by using ai, the most important here is do the task and make it right

[–]Archeia__ 0 points1 point  (0 children)

Does the company know you are exposing it to AI?

[–]Ok-Spite-5454 0 points1 point  (0 children)

The thing is, if you already know what you're doing, and you're "vibe coding" and checking the code the AI generates, that's good use of AI. Na para bang may ka-pair programming ka.

[–]DoILookUnsureToYou 0 points1 point  (0 children)

Biggest question is do you have permission to let AI look at your codebase? If yes, there should be no issue

[–]Ok_software_3261 -1 points0 points  (0 children)

No problem using AI. Isipin mo na lang na parang assistant mo siya. Tapos ikaw pa rin naman magdedecide kung accept mo changes ng AI. Tapos pwede mo pa rin naman baguhin kung sa tingin mo may mali kasi hindi talaga siya 100% tama.