HackerLangs
TopNewTrendsCommentsPastAskShowJobs

csbartus

no profile record

Submissions

Extinction-Level Capitalism

matthewbutterick.com
13 points·by csbartus·27 วันที่ผ่านมา·3 comments

comments

csbartus
·27 วันที่ผ่านมา·discuss
Exactly! What I use is a main workflow document where I embed at every step pointers to architecture and templates.

My prompt is ... "We are implementing the X feature. We are at step 6. Plan first"

Then the agent spits out identical plans then identical code for every feature.
csbartus
·27 วันที่ผ่านมา·discuss
In my 30+ years of SWE/SWA career this is the first time I can harvest the benefits of a well defined and exactly implemented architecture.

Thanks to LLMs.

Before LLMs even if the architecture principles were simple and clear, distilled into templates + codegens added for boilerplate / skeleton generation ... It was impossible to follow them on the long run. Devs tried their best, but on the long run everything eroded and there were no resources for refactoring.

Now, with coding agents, I was able to create a production grade app following a similar architecture to Presentation Domain Data Layering, from this article.

Now the codebase is 100% uniform both in content (code) and structure (files and folders). It's like being written by a single person. Finding a specific file takes a second with no cognitive load. Editing a file is straightforward since every file follows a specific template.

LLMs have benefits and drawbacks, and in this case their help is enormous.
csbartus
·27 วันที่ผ่านมา·discuss
Good point! Reviewing code, in the AI era, in my practice, means skimming code and looking for patterns.

I use templates / conventions and make the AI generate code using them. When reviewing code I'm scanning if a file uses a specific template and follows specific conventions.

This can't catch subtle errors like a function is re-created vs is re-used (duplicate code), unnecessary code (bloat), inconsistent naming (a Button component has a cssRow() styling function associated vs cssButton()).

When you start editing, using code these little things add up, consume your attention, drain you up, giving no flow and resulting in minimal productivity.
csbartus
·เดือนที่แล้ว·discuss
This specify-encode-fulfill loop/method is effective to make agents create bug-free code.

In my version of this workflow I do specify myself, then let the LLM do the rest.

This way 1.) I'm 100% sure the understanding/spec is good 2.) It's translated into an executable format so the implementation can be verified 3.) The implementation has maximum code coverage tests which steers the AI to produce code which follows standards, fits into the existing codebase, and it's very easy to refactor.

So far, this is the one and only advantage of using LLMs in my SWE practice. They glue together (human written) specs with code, with confidence, in no time.
csbartus
·เดือนที่แล้ว·discuss
The question is whether AI / LLMs gets better.

I'm not an ML expert, but regarding code _quality_ I see no progress at all in the last couple of years. LLMs still write code by using probabilistic calculations vs. applying rigorous thinking and logic.

This is only good while no one has to look under the hood. When trying to understand and fix code written by LLMs you'll realize what a mess they produce. It's a codebase without any systematic thinking inside. Everything is ad-hoc, wired together to pass the tests, and to conform to some templates. No deliberate practice, no intelligence at all in the code.

This can't be a long term strategy for an entire industry.
csbartus
·เดือนที่แล้ว·discuss
It's a gut feeling.

We _know_ LLMs can't be _that_ good as they are promoted.

I've spent the last 6 months creating a production grade app from scratch with Claude where I wrote no single line of code. I've reviewed code and it was looking good, almost completely following my templates, workflows, skills.

Now I've started to make minor manual updates and I'm horrified. Claude has no idea why there were those templates and instructions in place. It followed them blindly without grasping their spirit. The end result is like a very junior dev copy-pasting answers from Stack Overflow into the codebase. No consistency, chaotic application of different conventions, duplicated code, ghost code (does nothing), and perhaps more as I'm digging in.

The pros: The code works, all tests pass (43% code / 57% tests, 1:1.3 ratio), the UI looks good with visible glitches

The cons: I'll have to rewrite most of the code on the long run, make it fit, easy to maintain.

The verdict: I wouldn't started this project alone. Claude get me through to v0.1.0 / MVP where I've focused solely on the product: technologies, architecture, functionality, and usability. Now it's easier to refactor all for v0.2.0 manually without Claude.

So this might be our gut feeling: we know it's something good, but not as good as the stakeholders might promote. We know it helps in some ways but it's a nightmare in other ways.

We are not anti-AI but rather pragmatic: Not that AI enthusiasts we are expected to be.
csbartus
·ปีที่แล้ว·discuss
Senior Software Architect | React Lead | Design Engineer | Remote, EU

- Location: Europe

- Remote: Yes

- Willing to relocate: Maybe

- Résumé/CV: https://osequi.com/, https://chat.osequi.com/ (AMA with AI)

- Email: [email protected]

I deliver better software, faster:

- I solve the two top pain points of JS / TS / React [1]

- Using lightweight formal and semi-formal methods [2]

- I integrate multiple disciplines (entrepreneurship, math, computer science, UX/UI design) to create better products [3]

I'm interested in companies with a high societal impact: synthetic biology, education, healthcare, personal growth, financial stability.

[1]: https://2023.stateofjs.com/en-US/usage/#top_js_pain_points

[2]: https://www.osequi.com/studies/list/list.html

[3]: https://www.osequi.com/csongor-bartus-profile.pdf
csbartus
·7 ปีที่แล้ว·discuss
- Location: Europe

- Remote: Yes

- Willing to relocate: Maybe

- Technologies: React, GraphQL, AWS, WordPress, UI/UX design, Design systems

- Résumé/CV: http://metamn.io (ask for more details)

- Email: [email protected]

I'm a senior software engineer (degree in C.S) and UI/UX designer (works featured in online galleries) looking for a permanent role after years of freelancing.

I provide solutions based on best practices for progressive businesses, organizations and brands.

If your profile is altruistic we can negotiate sub-market rates.