[Return] [Catalog]

1 guest@cc 2020-04-09T19:50:28
I have this obsession with implementing event loops, even when they're completely unnecessary. I don't know why, it's just the style of coding that makes the most sense to me.
»
2 guest@cc 2020-04-12T00:40:34
I like to give named parameters/pseudo-named parameters (dictionaries) to functions.
»
3 guest@cc 2020-04-14T07:39:19
This isn't one of mine, but I encountered a project once where all the code files were named after lord of the rings characters. Like "treebeard" which was a file renderer.
»
4 guest@cc 2020-10-24T18:33:05
>>1
Same though. If I ever get autistic enough to make a programming language it's going to be designed around an event loop structure
»
5 guest@cc 2020-10-24T19:54:33
i always use types im sure of i will know the size of. Like uint8_t or int8_t i think its way more comfortable than writing short or int and not directly know what size they will be (cause it depends on the operating system).

I can be very indecisive about coding practices. I never know when in C to prefer global constants to macros (i often use macros cause they are known at compile time (in C++ this isnt a problem)) using one is better than having magic constants.
»
6 guest@cc 2020-10-24T21:33:40
When I write code in Racket, I always use square brackets for everything that isn't an expression. I know it's probably horribly un-idiomatic, but I don't care. It makes it way easier for me to read my own code.
»
7 guest@cc 2022-01-12T21:44:02
used to have one where I would call loop variables "iii" and "jjj" and "kkk" instead of "i" and "j" and "k"
»
8 guest@cc 2022-02-14T20:20:22
>>6
But, everything in Racket is an expression! Value of everything but price of nothing and all that.
»
9 guest@cc 2022-02-20T04:34:57
I have the tendency (though unintentionally) to create patches of code that keep my program running, but are never called or referenced once by anything else. It becomes bloat since you want to get rid of it, but you can't because for some reason it's vital to the architecture I've created.
»
10 guest@cc 2022-03-29T14:41:08
>>9
That's called being a bad programmer.
»
11 guest@cc 2022-04-25T00:38:24 [ImgOps] [iqdb]
File: mwakhzs18ad81.webp (WEBP, 22.85KB, 640x640)
>>10
Yeah, I know :(

[Return] [Catalog]
Delete Post:
OptionsPassword
Name
Comment
File