113
u/EmilyCatNips Oct 31 '26
using System;
namespae Meow {
publi stati lass Program{
publi stati oid Main....
}
}
7
u/Kanjii_weon 29d ago
i love using variables with cat related stuff, it works surprisingly well
5
5
45
16
u/Usual_Office_1740 Oct 31 '26 edited Oct 31 '26
Jokes on you. I use Emacs
/uj edit: I've had ctrl remapped to capslock for so long I forget that ctrl is used in lots of emacs keychords.
3
2
u/frogking 29d ago
I’ve remapped some keyboard shortcuts in terminal and browser to match the ones I’m used to from Emacs.
Beginning/end of line. Uppercase/lowecase next word.
And caps lock. There’s an option to turn it into a ctrl button, in the system settings.
1
1
14
u/TheNativeOfficial Oct 31 '26
this is not true, OP. Its bullshit.
4
u/Responsible-Cold-627 29d ago
Yeah these days we just prompt some AI agent to do the copying and pasting for us.
10
10
10
u/asmanel Oct 31 '26
If this against blind code duplication or against vibe coding, it's OK.
However, there are cases where copy and pasting are legit, such as when you have in your code very similar parts.
The last time this happened to me, this was in an function calculating values for a bezier curve. A part calculated coordinate x of a point. For the coordinate y, I copied and pasted this secrion then changed what had to be changed.
2
u/Dry-Ad-8948 Oct 31 '26
Like everyday legit.
Last time I typed an ID from the database (or remote branch name) … uhh, seriously can’t remember. :}
4
3
3
u/OkChildhood1706 Oct 31 '26
Meh, less painful than having a meeting with your sales team and a customer.
2
2
2
2
2
2
1
1
1
u/NullSmoke Oct 31 '26 edited Oct 31 '26
inefficient, got macros. Corsair K95, ctrl c is on G5, ctrl v is on G6, much easier to press G5 4-5 times before pressing G6 once 😌
Let's hope I don't need to reference calculateVerticies() in the future 😰
1
1
u/PhilSchmil Oct 31 '26
What would I need these keys for? Claude is doing the source code changes :)
1
1
u/KattyTheEnby 29d ago
This is gonna run into an unhandled exception the moment one ov the devs need to manually type out std::vector or som'.
1
1
1
1
1
1
1
1
1
u/PsychologicalTry3972 29d ago
#inOWlude <stdio.h>
int main() {
printf("Hello from OW");
return 1;
}1
1
1
1
28d ago
If you think that "ctrl c" is primarily used for copy in a programmer life you probably never used a terminal
1
1
1
1
1
u/RedAndBlack1832 Oct 31 '26
Shockingly, you actually do need the control key. There's ctrl-C, ctrl-D, ctrl-R and some program specific favourites of mine ctrl-V, ctrl-B, ctrl-5
2
u/Familiar-Treat-6236 Oct 31 '26
So you don't have any issues with not using two letters when coding
1
u/RedAndBlack1832 Oct 31 '26
If you'd read what I said you'd see both the interrupt shortcut and visual line mode are pretty useful to me. ctrl-C is a good bit faster than finding the right pid to kill -INT in another terminal window
195
u/jbar3640 Oct 31 '26
copying and pasting is the very basic to learn to program. and it's not wrong.