andioop

joined 1 year ago
[–] andioop@programming.dev 2 points 2 months ago* (last edited 2 months ago) (7 children)

I actually wrote it just once. It acquired the space like this:

I concatenate a bunch of strings together, and add a comma and space between them so I could get stringOne, stringTwo, stringThree etc. I later need to decompose that. I remembered I separated stuff with a comma, but forgot about the space following the comma and that is how I ended up having to deal with " NameHere" vs "NameHere" without having actually written NameHere several times in my code. Is there a better way to go about this?

I have also just read my post again and it explicitly contradicts "I actually wrote it just once". Not sure if I did write it multiple times and merely forgot as I typed this comment and claimed to write it just once, or if I just pretended I wrote it multiple times when it was only once so I could simplify explaining my problem. For the purpose of my question though, let us pretend I did write it once. I promise I am aware that strings that are frequently used should be made constant, although I could use more specifics on what "frequently used" is (more than once?) and I'm wondering if you actually should not really use strings at all and always go for constants.

[–] andioop@programming.dev 5 points 2 months ago* (last edited 2 months ago) (9 children)

Not sure if this question is too noobish for !programming@programming.dev so I posted it here just in case.

[–] andioop@programming.dev 7 points 2 months ago (4 children)

Also, what do you mean, OP, by "do you have perfect recall or an average human byte"? Are you thinking of information in terms of bits and that people can only keep a limited amount of things in working memory at a time?

[–] andioop@programming.dev 2 points 3 months ago* (last edited 3 months ago)

For people reading this thread later on, this post and this post elaborate a little more on why to avoid the book "Clean Code".

[–] andioop@programming.dev 3 points 3 months ago (1 children)

What show is this?

[–] andioop@programming.dev 18 points 3 months ago

I enjoyed this animation of the meme in the OP.

[–] andioop@programming.dev 11 points 3 months ago* (last edited 3 months ago)

I think that would be a great situation to be in.

You have created a cool thing a lot of people use, by being good at something. You've done something.

Also, people have no idea who you are. Nobody is digging through your trash, harassing the people you love, taking pictures of you wherever you go including on your bad hair days, etc. You're just some guy.

[–] andioop@programming.dev 1 points 3 months ago* (last edited 3 months ago)

Alright. I thought from my post it was clear I meant "How do I write code that follows good standards? How do I learn the rules of thumb about how to write good code?" by "code that follows good practices". I suppose you can sum that up as "the practice of writing good code", closer to the sense of "the practice of law", although I wasn't originally thinking of it that way, hence my confusion. Did I make some grammatical error that made it hard to interpret? I'd like to know so I can avoid such problems in the future. If it's worth anything, English is my native language and I am aware of those two senses of "practice" you mentioned.

[–] andioop@programming.dev 1 points 3 months ago (2 children)

Please clarify on how they are different. I'm really confused by this comment and want to know what I'm missing.

[–] andioop@programming.dev 4 points 3 months ago* (last edited 3 months ago) (2 children)

This is a very good comment for me because I usually hate tutorial videos with a passion. It's better with transcripts now, but it's still harder to CTRL+F a video for what I want. And like most human beings, I read faster than people talk in videos. I definitely have already been convinced as to how unsuitable videos are for me personally. I am glad they exist for people who can learn better that way, knowledge transmission is knowledge transmission, it's good that the creators made them to help people learn! But I'll spend an hour searching for articles and failing to find any before I give in and turn to the video that was the first result.

Do you have any book recommendations?

[–] andioop@programming.dev 2 points 3 months ago* (last edited 3 months ago)

Privacy paranoia, after seeing someone get doxxed and part of the process was "hmm, these accounts all express interest in the same specific things". If two accounts express interest in programming, they are probably not owned by the same person. Programming and swimming, still probably not be the same. Programming and swimming and winemaking and [insert 7 more hobbies here]? A lot more likely to be owned by the same person.

Yes, I am a little nobody. Unfortunately, some nobodies have had people stalk their comment history during a disagreement and send harassing messages, or have had to get a restraining order against a crazy ex—does not take being a celebrity to want to be careful and wall off information about me and what I'm doing in case I get one of those types in the future trying to find me. And it makes me feel safer and doesn't add much extra friction to my life.

I have expressed this sentiment before which I worry could be identifying (really, I should worry more about what else I'm leaking: smart enough to not say "Jane Smith from 842 Street" but reading my comment history might still give away more than I want) and I regret the fact human courtesy and a niggling worry you are judging me (come on, you're an online stranger, I should not even care) is convincing me to reply, especially since I am worried you'll just say my worries are unfounded and my reason is stupid and bad, but in a more polite manner. I tend towards wanting to explain the why of why I do things but purposely left out the explanation this time for that reason, until you specifically asked for it.

I could maybe understand someone arguing "I don’t want to be connected with only one instance, to avoid putting all my social presence in one basket, but then this is still not about identity anymore, because we could do that by using different “generic” instances.

Is it about keeping different personas? Having different styles of writing and interacting with others based on the audience? I could understand that, but it feels a bit weird, as if we are not allowed to be ourselves.

I don't want to be myself, Jane Smith from 842 Street, age 32, with a specific social presence and identity online. I want to be another anonymous person in the void. Of course, I do realize I do technically have a presence, my username and post and comment history, I am not fully anonymous. I guess I want to be closer to anonymous than a specific person with a specific social presence, or at least I want to have my social presence segregated from Jane Smith. I don't mind if people notice I tend to contribute to X community or make Y kind of comment, if they recognize my username. I do mind if people go explicitly digging to try to figure out that I am Jane Smith. Some people might and this is part of how I try to deal with it.

view more: ‹ prev next ›