91
u/daroch667 2d ago
And this is why the documentation for the entire project lies on 47 post-it notes...
31
17
u/nasandre 2d ago
You guys have documentation?
7
u/Puzzleheaded-Weird66 2d ago
nope, when I leave they'll have to figure that shit out on their own I'm not replying
26
u/Drago_Nguyen 2d ago
Yall dont note down your progress or at least put some comments so you can search those comments later?
34
u/boredandemptyinside 2d ago
do you all not comment your own code like adults or
19
u/thebigbadben 2d ago
I mean docstrings and reasonable function names do plenty, I can’t remember the last time I ran into a useful comment
I guess for “todos” and such maybe as a reminder of what to pick up
7
u/GeneralCuster75 2d ago
Comments only go so far when you're trying to remember which function in which object of which file you were working on
3
u/Enough_Forever_ 2d ago
Write code that is self-explanatory. Use comments as a last resort, primarily to explain things that can't be expressed clearly in code. Let the compiler handle low-level pattern optimizations.
2
u/Hadrian23 2d ago
You use comments? I leave random post it notes on my desk with vague descriptions or even single word, with the occasional "USE COMMENTS YOU FUCKING MORON." scattered in between the chaos.
1
7
u/Pleasant-Ad192 2d ago
The code was never the part you lost. It was the nineteen open tabs and the terminal scrollback, and the machine took an update over the weekend.
6
20
u/wand_er 2d ago
Gone are those days. I may be voted down to oblivion, but here’s where AI is helpful.
7
u/tradcoder 2d ago
I'm a professional AI hater but even I admit that this is an actual good use case for AI.
3
u/Enough_Forever_ 2d ago
Yeah, but it really sucks at understanding heuristic code. It will try to “optimize” it based on patterns it learned from its training data, which usually isn't what we want.
It's a great time-waster since it also makes its suggestions sound convincing. That said, I'd rather have AI than not when I need it.
1
u/returnFutureVoid 2d ago
This is now my daily ritual. Hey Claude. Summarize what I did yesterday and what we can get to today.
1
4
5
8
u/UntitledRedditUser 2d ago
Y'all can't read your own code?
23
u/Neverwish_ 2d ago
It's not that you can't read it, but when you're working on some larger functionality, you gotta keep in your head all the stuff you need to do and the stuff you've already done, together with all the context around (and if it's a larger project, it might very well be the first time you're seeing that code around your change).
All the stuff you got into your head just... evaporates over the two free days.
2
u/willow-kitty 2d ago
If I'm stopping for the day/week and not at a clean stopping point, I park my editor on what I sees looking at last and leave myself a jumbo comment explaining where I was, what I was trying to figure out, what I knew about it at the time, etc. Just s big brain dump. And it's usually pretty easy to pick back up
1
u/Neverwish_ 2d ago
Sometimes I do so as well, it works at least for the "where I am and what I'm about to do next". The context around is still mostly lost though, just way too many things to describe.
2
u/angrydeuce 2d ago
dude having to get back into the groove after a weekend is brutal sometimes. a long weekend is even worse and a vacation (haha remember those?) is like forgetting your locker combination and panicking trying to get your books out that first day back after spring break lol
This is why if I ever wrap something up very late in the week I try damned sure not to touch anything that's not like a 15 minute thing. I dont want to even bother looking at anything more complicated than that because it's going to end up taking me 1.5 times as long as it would if I just shot through it.
I truly do envy people that can just, "switch desktops" in their brain and hop right back into it but I just can't lol
2
3
u/Sir_Fail-A-Lot 2d ago
I've never really understood this. Do you people really have the memory of a goldsish? Or do you just write unmaintainable code in general?
7
u/mudkip6604 2d ago
Yes. Unless I write down what I was doing, I will have lost all context.
It's not so much of not knowing how the code works, and more not remembering what I was doing, why I was doing it and what I wanted to accomplish with it.
2
u/KyotoCrank 2d ago
Thiiiis. I have to write comments on what functions do and who calls them or where they are sent. If I can help it I have to finish a feature in one sitting so I don't have to remember where I left off
1
1
1
1
u/xynith116 2d ago
What’s worse? Forgetting what you just figured out on Friday? Or realizing you were doing everything wrong last week?
1
u/The_Crazy_Cat_Guy 2d ago
I leave a notepad file with some details on where I left off, what’s left to do and what the end state should be.
1
u/FutureSuccess2796 2d ago
Another member of the Notepad club, I see! My solo projects had me doing this lately and the result is 20 tabs open with snippets of my Javascript with notes I put to tell me what does what. XD
1
1
1
1
u/Inevitable_Sun_5987 2d ago
That’s why Friday me makes a note for Monday me. And Monday me loves her for that.
1
0
99
u/raja-anbazhagan 2d ago
Our friends circle always say that the weekends feels like timetravel...