|
FlapYoJacks posted:Jetbrain IDEs are the best IDEs.
|
# ? Jun 3, 2023 23:01 |
|
|
# ? May 8, 2024 17:26 |
|
an honorable, powerful snipe
|
# ? Jun 3, 2023 23:01 |
|
FlapYoJacks posted:Jetbrain IDEs are the best IDEs.
|
# ? Jun 3, 2023 23:17 |
|
quiggy posted:actually vi is good
|
# ? Jun 3, 2023 23:18 |
|
FlapYoJacks posted:After a few months of using it: MISRA is cool and good. except for the rule that only allows one return in a method. It leads to a lot of nested if statements. does MISRA still ban function pointers?
|
# ? Jun 3, 2023 23:25 |
|
Poopernickel posted:does MISRA still ban function pointers? No. And thank god. It made making a state machine way nicer. Fun fact, NASA does ban function pointers and strictly limits the use of other pointers!
|
# ? Jun 3, 2023 23:29 |
|
FlapYoJacks posted:After a few months of using it: MISRA is cool and good. except for the rule that only allows one return in a method. It leads to a lot of nested if statements. single return is dumb as hell
|
# ? Jun 3, 2023 23:56 |
|
redleader posted:single return is dumb as hell
|
# ? Jun 3, 2023 23:59 |
|
pointers, never liked em
|
# ? Jun 3, 2023 23:59 |
|
qsvui posted:pointers, never liked em What is a pointer? A miserable little pile of addresses. But enough syntax… have at you! FlapYoJacks fucked around with this message at 00:45 on Jun 4, 2023 |
# ? Jun 4, 2023 00:43 |
|
qsvui posted:how is anyone typing ahead of their editor in tyool 2023? just ask your work for a better computer It's much funnier to cause a bunch of drama every few years when somebody freshly finds out that I've been using my own, unmanaged equipment this whole time
|
# ? Jun 4, 2023 00:45 |
|
FlapYoJacks posted:Jetbrain IDEs are the best IDEs.
|
# ? Jun 4, 2023 01:24 |
|
Just got handed 3 products from two retiring devs and figuring out what source code is missing from version control but is on the dev system by comparing the length of the import blob at the beginning of the java files. But it's impressing how they wrote these 4-5k loc programs with a text editor over a basic vt terminal emulator. Not quite as impressive is how many (specifically error handling) methods have been broken and circumvented over the years and how it's a full time job to handle all the errors that come straight from customers because if reported and tracked properly someone would notice. Wonder how tall this stack of issues can get before someone figures out how get my user prod access to start fixing them >.<
|
# ? Jun 4, 2023 01:39 |
|
FlapYoJacks posted:Jetbrain IDEs are the best IDEs.
|
# ? Jun 4, 2023 01:46 |
|
Sagacity posted:
I don't know if I would prefer it but it didn't cause any significant problems
|
# ? Jun 4, 2023 01:59 |
|
learning modal editing is a bet. it worked out great for me and lotsa other peeps, it may not work out great for you
|
# ? Jun 4, 2023 04:27 |
|
I know now when I have to edit text in a non-modal editor I find it immensely annoying and slow, but to each their own. That, and how simple it is to extend the editor over time with rebinds and functions and such are the pros for me.
|
# ? Jun 4, 2023 04:29 |
|
modal editing is an insane concept built for an archaic, dead platform.
|
# ? Jun 4, 2023 04:30 |
|
could use some modal posting in here
|
# ? Jun 4, 2023 05:20 |
|
vi is good
|
# ? Jun 4, 2023 05:40 |
|
yeah, star trek vi
|
# ? Jun 4, 2023 07:12 |
|
sb hermit posted:I’m not familiar with the APIs that I’m using and some of them allocate data on behalf of the caller that the caller has invoke free() themselves. Your APIs were designed by rear end in a top hat idiots, goondolences
|
# ? Jun 4, 2023 07:55 |
|
Xarn posted:Your APIs were designed by rear end in a top hat idiots, goondolences As long as they note in the APIs that the caller has to free them then that's ok. But it's easier to determine all of this with example code that calls that API and frees the stuff. But the real solution is to use python or rust or whatever where this resource allocation can be freed without the caller having to do anything explicit.
|
# ? Jun 4, 2023 08:23 |
|
Xarn posted:Your APIs were designed by rear end in a top hat idiots, goondolences a surprising amount of production code has calls to strdup() that never calls free().
|
# ? Jun 4, 2023 10:45 |
|
FlapYoJacks posted:Nano first, then VIM. /usr/bin/nano is a link to ed on any system i control. if you’re going to deliberately use a bad editor you might as well go all the way
|
# ? Jun 4, 2023 12:45 |
|
I like visual studio except for all the bits I dont
|
# ? Jun 4, 2023 12:53 |
|
The Curates IDE
|
# ? Jun 4, 2023 12:54 |
|
MrMoo posted:a surprising amount of production code has calls to strdup() that never calls free(). Wat, why
|
# ? Jun 4, 2023 17:27 |
|
Xarn posted:Wat, why programmers bad.
|
# ? Jun 4, 2023 18:16 |
|
if you have an application with a short lifetime and you really don’t care about reusable code then you can allocate all the memory you want with the understanding that it all gets freed when the process exits. maybe they also compiled in a c-based garbage collector somewhere that may be picking up the slack
|
# ? Jun 4, 2023 21:51 |
|
Shaggar posted:modal editing is an insane concept built for an archaic, dead platform.
|
# ? Jun 4, 2023 22:49 |
|
vi is a tool to get a headless system into working enough order that you can remotely access and manage it from a desktop operating system such as windows or macos. doing anything more than that in vi is foolish.
|
# ? Jun 5, 2023 00:26 |
|
Notepad over SSL
|
# ? Jun 5, 2023 01:29 |
|
sb hermit posted:maybe they also compiled in a c-based garbage collector somewhere that may be picking up the slack they didn’t, the only garbage collector for c programs that’s commonly used in production is called oom-killer
|
# ? Jun 5, 2023 11:52 |
|
ikanreed posted:Notepad over SSL *extremely padme voice* you mean over ssh, right?
|
# ? Jun 5, 2023 13:17 |
|
NihilCredo posted:*extremely padme voice* you mean over ssh, right? What if we SSL handshake by the ASCII only Win32 application 😳
|
# ? Jun 5, 2023 14:18 |
|
|
# ? Jun 5, 2023 15:33 |
|
lol
|
# ? Jun 5, 2023 15:40 |
|
But doctor I am profilecelli
|
# ? Jun 5, 2023 15:42 |
|
|
# ? May 8, 2024 17:26 |
|
I love junior developers.C code:
C code:
|
# ? Jun 6, 2023 01:51 |