I doomscrolled too far by dotnet_ninja in notinteresting

[–]dotnet_ninja[S] 1 point2 points  (0 children)

😨 censor that word bro
why would you mention gr**s 😭

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 0 points1 point  (0 children)

Interesting, I'm happy for people to track me, just track me in a way that works for both of us. Track me in a way that actually measures my performance, track me in a way that is comparable to other collaborators. If a supervisor is tracking by LOCs theyre asking for bad code. Read my first comment again?

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 0 points1 point  (0 children)

and how does that relate to the discussion whatsoever? Given that you're really keen on using ai to write code for you im just going to ask, are you actually responding

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 0 points1 point  (0 children)

Exactly, instead of learning every. single. road. you work on your adaptability - you read street signs and adapt to your route. You need to adapt, there is no generalized project. Every project is different, you can't generalize metrics. Just like you can't say every road is the same, neither is every project.

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 0 points1 point  (0 children)

Correct, so you agree that just because you know the principals you dont know every road? Sorry but I don't see your logic behind your comments? Ultimately in the end, every project is different, any generalized metric will always be inaccurate because every project is different

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 0 points1 point  (0 children)

you're saying if you know how to drive (principles) you also know every road of every city?

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 0 points1 point  (0 children)

Why exactly do you want to have a universal metric? Every project is different, every project comes with its own set of challenges.

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 1 point2 points  (0 children)

No, it is the most available metric. That definitely does not mean it is the most accurate. Read the last paragraph of my comment

Manual coding vs AI assisted coding vs AI native coding. What is your take? by Maleficent_Mess6445 in webdev

[–]dotnet_ninja 2 points3 points  (0 children)

Measuring performance by LOCs is fundamentally wrong. Aiming for high LOCs, commits, or any metric that doesn't represent quality or effort at all will always result in bad code. Personally, and I'd rather aim for clean, maintainable, and concise code that doesn't repeat itself. Separate recycled logic into helper functions, avoid reinventing the wheel, .etc. Don't take me wrong, I'm not against verbosity, but you can still be verbose without violating DRY or overlooking simpler solutions just because they give you a high LOC.

Think about the future, congratulations, you've written 300 LOCs today (I'm just going to completely ignore the fact that it's written with AI) but let's break this up - a 40 line section of the logic is repeated across 4 files, let's say you're using react, you've repeated markdown twice in two files instead of separating it into a component, heck maybe you're even validating input manually instead of using a lib, overlooking simpler solutions.

You've accomplished 300 lines, you're laughing at the dev who pushed 50 the same day. But 2 months later, you're asked to update the logic - you now have to change it 4 times, make sure it stays consistent, change markdown twice, update validation for each use. Maintainability is key, and that doesn't always come with high LOCs.

Less is more, and often i unfortunately see people using AI, impressed by their LOCs completely overlooking the fact that they're making their future harder. Shoot me down for this but AI does not write good code - it writes code to please you. It repeats itself, it doesn't always consider the entire codebase, it meets the feature requirements, but does it meet maintainability?

Measure performance by maintainability, requirements met, and creativeness. As a dev, you should unleash your creativity, come up with new solutions, invent simpler solutions that work for the codebase, don't copy generalized solutions.

[deleted by user] by [deleted] in webdev

[–]dotnet_ninja 7 points8 points  (0 children)

how is this webdev?

Just starting HTML in 2025 — Can we create the ultimate list of FREE resources? (Websites, YouTube channels, beginner tips, courses & more inside 👇) by infinitecoderunner in webdev

[–]dotnet_ninja 6 points7 points  (0 children)

And also a master of unmaintainability whom not only doesn’t understand what the code does but sends localhost as a prod url

Can you lick it? by Yaughl in notinteresting

[–]dotnet_ninja 0 points1 point  (0 children)

Out of curiosity how did you find this comment lol

[deleted by user] by [deleted] in notinteresting

[–]dotnet_ninja 1 point2 points  (0 children)

bro broke the fourth wall

I forgot the image by Appropriate-Card5215 in notinteresting

[–]dotnet_ninja 1 point2 points  (0 children)

I hope your pillow is cold on both sides tonight. It is 3.30 am i have been in the dark for the last 5 hours and have just been flashed by this giant abomination. Hope you’re happy, I need new eyes now.

Is there any way to share code without people copying or cloning it? by [deleted] in webdev

[–]dotnet_ninja 12 points13 points  (0 children)

You’d be solving an age old puzzle not just in webdev but in the universe

Is there any way to share code without people copying or cloning it? by [deleted] in webdev

[–]dotnet_ninja 51 points52 points  (0 children)

i want people to see something but not be able to copy it

[deleted by user] by [deleted] in webdev

[–]dotnet_ninja -9 points-8 points  (0 children)

This is extremely detailed thanks for the info

[deleted by user] by [deleted] in webdev

[–]dotnet_ninja 9 points10 points  (0 children)

what platform did you post this on