“What’s your go-to tool as a programmer these days?”
My brain, same as it always has been!
Global variables
Goto is evil.
Unless you’re programming in assembly
goto in assembly? nah, might as well JMP
Yeah, it’s not called goto, but it’s functionally the same.
I mean, in C too.
I used it when I wrote some throwaway C++ code working with SQLite. Since it had no RAII (and I had no intention of writing my own wrapper), I had to manually cleanup multiple resources somehow. If at least one resource failed to initialize, I had to deinitialize the ones that didn’t fail. It was either
goto
or a bunch of flags to track what is initialized.goto
looked more elegant.
I was gonna say gcc, but you do you, bro…
I’m going to count vim, or any other IDE as a tool. You don’t just will your thoughts into the computer (at least most people don’t, that I know).
You could count the fucking chair as a tool. This post is dumb, lol.
I really enjoy the air that I’m breading.
Couldn’t code without it.
I astrally project my thoughts into the PC.
Relevant xkcd: https://xkcd.com/378/
Did someone say emacs? https://youtu.be/urcL86UpqZc
Guess they truely are a tool.
Leatherman.
Also stack overflow
Or even better, libraries of functions you’ve built up over time from visiting stack overflow
I really good way to evaluate an ecosystem is looking if people look into documentation or stack overflow first.
When it’s stack overflow, the ecosystem always suck.
Agreed, I 100% prefer to parse through documentation than stack overflow
I prefer good documentation over stack overflow, but I prefer stack overflow over bad documentation. If other programmers are mostly using stack overflow, it means the documentation sucks
May I suggest avoiding recursive functions where possible? They are usually the ones overflowing your stack, duh.
The trick to avoiding recursive functions is to avoid recursive functions.
I am the tool 😎 wait
I’m a big fan of my keyboard
The Universal Serial Bus is pretty good shit. Plug n Play is a great feature.
microsoft: THERE STILL IS SOMETHING THAT JUST WORKS! WE NEED TO ADD AI SO YOUR KEYSTROKES WILL BE WRONGLY INTERPRETED!
Not only wrongly, but really slow as well. That’ll be $5.99 a month, please.
and with an internet connection required(good luck entering your wifi password without a keyboard)
Although not really useful, I simply love RGB lighting in the keyboard.
Same, i don’t like south-facing RGB though; at the right angle they peak out behind keycaps and just drill me right in the damn eye (photosensitivity sucks…). That and the lack of dedicated indicator LEDs for caps/num lock are the only things i don’t like about my current keychron keyboard.
Brand new sentence