798 karma · joined June 2, 2013
1. Classic Coding (Traditional Development) In the classic model, developers are the primary authors of every line.
Production Volume: A senior developer typically writes between 10,000 and 20,000 lines of code (LOC) per year.
Workflow: Manual logic construction, syntax memorization, and human-led debugging using tools like VS Code or JetBrains IDEs.
Focus: Writing the implementation details. Success is measured by the quality and maintainability of the hand-written code.
2. AI-Supported Coding (The Modern Workflow)
AI tools like GitHub Copilot and Cursor act as a "pair programmer," shifting the human role to a reviewer and architect. Production Volume: Developers using full AI integration have seen a 14x increase in code output (e.g., from ~24k lines to over 810k lines in a single year).
Work Distribution: Major tech leaders like AWS report that AI now generates up to 75% of their production code.
The New Bottleneck: Developers now spend roughly 70% of their time reviewing AI-generated code rather than writing it.
I think realistic 5x to 10x is possible. 50.000 - 200.000 LOC per YEAR !!!! Would it be good code? We will see. <if text.isEmpty()>
<div class="preview-text empty">Start typing...</div>
<else>
<div class="preview-text">{text}</div>
</else>
</if>
As a JS/TS dev it feel unnatural to write language operations as html-tags. That is what i did not like in svelte too.Here something that looks little more like PHP-Style, better separation, but too much to type:
<?coi
if (empty($text)) {
?>
<div class="preview-text empty">Start typing...</div>
<?coi
} else {
?>
<div class="preview-text">${text}</div>
<?coi
}
?>
Shorter with a $-func for wrapping html-content if (empty($text)) {
$(<div class="preview-text empty">Start typing...</div>)
} else {
$(<div class="preview-text">${text}</div>)
}
I don't know, has somebody a better idea?I am sure somebody created a good lib for that on github.
I thought we discuss here problems and possible solutions.
My fault.
Normally old major or minor packages don't get an update, only the latest.
E.g. 4.1.47 (no update), 4.2.1 (yes got update).
So if the problem is in 4.1 you must "upgrade" to 4.2.
With "perfect" semver, this shouldn't be a problem, cause 4.2 only add new features... but... back to reality, the world is not perfect.
A better (not perfect) solution: Every package should by AI analysed on an update before it is public available, to detect dangerous code and set a rating.
In package.json should be a rating defined, when remote package is below that value it could be updated, if it is higher a warning should appear.
But this will cost, but i hope, that companies like github, etc. will allow package-Repositories to use their services for free. Or we should find a way, to distribute this services to us (the users and devs) like a BOINC-Client.
I use bun, but similar could be done with npm
Add to .bashrc:
alias bun='docker run --rm -it -u $(id -u):$(id -g) -p 8080:8080 -v "$PWD":/app -w /app my-bun bun "$@"'
then you can use `bun` command as usual.Dockerfile:
FROM oven/bun:1 AS base
VOLUME [ "/app" ]
EXPOSE 8080/tcp
WORKDIR /app
# Add your custom libs
# RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y install \
# ... \
Create once the container: $ docker build -t "my-bun" -f "Dockerfile" .Record permanent the voice (without shortkey) e.g. "run" compile and run a script, "code" switch back to code editor.
Under windows i use AutoHotKey2, but i would replace it with simple voice commands.
https://github.com/Beariish/bolt/blob/main/examples/error_ha...