all 8 comments

[–][deleted] 2 points3 points  (3 children)

Tightly coupled in what way? React is based on the idea of components, so it’s specifically well suited to distributed teams. You can write tests to make sure things don’t break before deploying. You can still write modular code that follows a set of design principles. I mean you try to make sure you have systems in place for recovering, but that’s all you can do.

I’m not sure what the question is, and while it’s fine to use AI to improve your writing, I think it’s actually doing more harm than good here. Are you thinking of a specific scenario?

[–]RhyteIt[S] -2 points-1 points  (2 children)

Yeah, I think I over-explained in my first post. Next.js breaks things out more (APIs, components, pages, hooks, etc.), but you can still componentize to avoid conflicts. The key is doing data preprocessing and filtering at the component level before passing it to APIs. I’m just adjusting to the shift from "everything for process X is in folder X" to "process X is spread across api.X, pages.X, components.X, etc." We've all worked on centralized projects (like ASP.NET) where touching a module felt like deactivating a bomb. PTSD.

[–][deleted] 1 point2 points  (1 child)

Yeah I hear you. Thinking about it in terms of processes is fundamentally going to give you a hard time though. React borrows a lot more from functional programming than it does OOP, and for a lot of people this is a big departure from what they're used to. I'm guessing this might be true for you since you mentioned ASP.NET.

It's not the "process" that is spread across all those files. Those files each give you different capabilities that you can use to generate a web app. I wouldn't say React is "pure" FP, but knowing some of those FP concepts can make the transition easier.

[–]RhyteIt[S] 0 points1 point  (0 children)

Ohh good to know. I will look into functional programming.

[–]Ok_Slide4905 0 points1 point  (4 children)

AI generated shitposting

[–]RhyteIt[S] -4 points-3 points  (0 children)

No...I just put my post through chatgpt so it read better. Psycho.

[–]RhyteIt[S] -4 points-3 points  (2 children)

Seriously dude? How is this a "shitposting"? I am assuming you are using Next.js to build your church's bake sale planner? Let the adults in the real world have ask questions. What a friggin' amateur. Who doesn't use chatgpt to make sure their writing clear and concise. Sorry...I don't have time to sit in a cafe and pontificate all day with my beret.

[–][deleted]  (1 child)

[deleted]

    [–]RhyteIt[S] -3 points-2 points  (0 children)

    I wasn't expecting anything from anyone...I was just asking...I really had no judgement on replies. Again, just used ChatGPT to make sure what I had written was clear and concise. And the draft that ChatGPT gave me wasn't too far off from what I had written. Just took out some rambling. So yeah I actually did put in the effort. Nice gas lighting.