614
submitted 6 months ago by ekZepp@lemmy.world to c/technology@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] finestnothing@lemmy.world 8 points 6 months ago

I use chatgpt semi-often... For generating stuff in a repeating pattern. Any time I have used it to make code, I don't save any time because I have to debug most of the generated code anyway. My main use case lately is making python dicts with empty keys (e.g. key1, key2... becomes "key1": "", "key2": "",...) or making a gold/prod level SQL view by passing in the backend names and frontend names (e.g. value_1, value_2... Value 1, Value 2,... Becomes value_1 as Value 1,...).

[-] ramirezmike@programming.dev 12 points 6 months ago

I know this is gonna sound annoying but I just use vim for stuff like this. Even notepad++ has a macro thing too, right? My coworkers keep saying how much of a productivity boost it is but all I see it do is mess up stuff like this that only takes a few seconds in vim to setup and I know it'll be correct every time

[-] finestnothing@lemmy.world 1 points 6 months ago

I use vim keybinds (via doom emacs) for this sort of stuff if I'm doing it for personal projects, my professional work is all done in an online platform (no way around it) so it's just faster and easier to throw the pattern and columns at the integrated chatgpt terminal rather than hop to a local editor and back

this post was submitted on 24 May 2024
614 points (97.2% liked)

Technology

34984 readers
135 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS