4 ms·
When you do code for fun, do you usually enjoy the coding, or seeing what you coded? I.e. when is it the most fun: when you type the code, or when you run your
by alkonaut 3y ago
When you do code for fun, do you usually enjoy the coding, or seeing what you coded? I.e. when is it the most fun: when you type the code, or when you run your code?
My pet theory is that there are two kinds of (hobby) coders: those who like making things, and those who like making things. One like myself is more excited about the mental task of wrestling out the minutiae of coding. Like making types agree or implementing an algorithm. The other is more excited about the product of the labor rather than the labor itself.
For me as a person who likes writing code as a mental relaxing excercise where sketching out a set of domain types or implementing an algorithm from a textbook is the fun part, and actually seeing the result and "banging out the remainnig issues" is the part that reminds me of my day job, I think AI helpers just help me with the wrong bit. It makes me do code reviews, bug hunting and nagging. But that's already my day job...
I should add that I never do anything with lots of boilerplate (e.g. no web dev). If I ever needed to touch anything with js/html/css/containers/yaml/sql/ then the AI would probably not just be helpful but completely necessary.
- acchow 3y agoThere is making things, and there is making things as if you have a decade of experience in every single tool and framework and library that you’re using. The latter feels way better. ChatGPT and Copilot makes the programming experience feel like the latter. Despite me having never used any of these libraries or tools before. The code just flows out smoothly.
- wryanzimmerman 3y agoThis does not match my experience… Copilot produces code that I would be fine with coming from a junior, but I’ve never seen it do something more than one or two lines that doesn’t have serious issues or bad practices. Copilot seems to have vacuumed up all the “quick hack to make this work” code from blogspam and bootcamp-final-project type open source repos, but I’m in an area absolutely flooded with that kind of code (typescript/react) so maybe it’s better with other kinds of code. Typescript/react is so bad now that google searches often return blog posts full of confidence and issues. A few times it’s generated bugs that I couldn’t even catch by reading but it blows up spectacularly when scaled up even a little bit.
- soco 3y agoI like this theory. This explains the surprise others manifest when I tell them about my pet projects not receiving updates in months. My reasoning "they work already as expected" somehow doesn't strike any chord in them - I'm the one making things while they would fiddle constantly making things.
- alkonaut 3y agoYeah I guess it's depending what the goal is. When I do hobby coding in a new language then it's usually for learning. But obviously then I'm not going to be good enough to create much that is useful for anyone else (even me). If I code-as-meditation or code-as-a-concept-thinking it's more like "could I make a synthesizer?" or "how do B-trees work? Could I make a simple database?". And the coding is part of figuring out how something works or if I'm capable of doing it, rather than actually getting a working synth out of it. I just want to make, not have a thing. Given the choice of completing the first project or starting a new one, I'd rather just work to the stage that I understand that it could be done in theory, or that I could do it personally (if I invested way too much time), than actually do it.