113
u/EmilyCatNips 23d ago
using System;
namespae Meow {
publi stati lass Program{
publi stati oid Main....
}
}
7
u/Kanjii_weon 22d ago
i love using variables with cat related stuff, it works surprisingly well
5
5
45
16
u/Usual_Office_1740 23d ago edited 23d ago
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 22d 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 22d ago
this is not true, OP. Its bullshit.
4
u/Responsible-Cold-627 22d ago
Yeah these days we just prompt some AI agent to do the copying and pasting for us.
10
10
10
u/asmanel 23d ago
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 22d ago
Like everyday legit.
Last time I typed an ID from the database (or remote branch name) … uhh, seriously can’t remember. :}
3
u/OkChildhood1706 23d ago
Meh, less painful than having a meeting with your sales team and a customer.
2
2
2
2
2
1
1
u/NullSmoke 23d ago edited 22d ago
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
1
u/KattyTheEnby 22d 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 22d ago
#inOWlude <stdio.h>
int main() {
printf("Hello from OW");
return 1;
}1
1
1
1
21d 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 23d ago
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 23d ago
So you don't have any issues with not using two letters when coding
1
u/RedAndBlack1832 23d ago
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 23d ago
copying and pasting is the very basic to learn to program. and it's not wrong.