Pretty sure they just type it in manually. See named tags in git.
Pretty sure they just type it in manually. See named tags in git.
I know some of these words
Imagine getting hung up on something as trivial as a switch statement. Which is more poignant, I ask you?
switch(var){
case 1:
<code>;
break;
case 2:
<code>;
break;
case 3:
<code>;
break;
default:
<code>
}
or
if var == 1:
<code>
elif var == 2:
<code>
elif var== 3:
<code>
else:
<code>
The performance difference is absolutely negligible, but now you’ve introduced a bunch of unnecessary indentation (for no benefit) that’s gonna get hard to read should you even add a little bit of additional logic, and a footgun with all the break; s.
And then in JS the syntax for the case-blocks isn’t even consistent with the rest of the language.</code></code></code></code></code></code></code></code>
Happens. Then you come back to it after a few days and all the shitfuckery of last session becomes so damn obvious.
Absolutely wild take, the two are used in completely different contexts
Huh? The Python Stacktrace is great. What kinda fucked up library were you using that it prints the error code instead of raising an exception?!
Also don’t think outdated library docs are a fault of Python 😅 In much the opposite way, I’ve found Python’s standard library to be really great, reducing the number of random third party libraries needed. (Looking at you, JavaScript)
idk, how do I contact “the community” when I have an issue in the first place? All I know of is StackOverflow, and they’re honestly toxic enough to make me never ask questions there in the first place.
then you don’t really know what you’re doing yet.
Can you elaborate on this? How are you guys making PHP so performant? Do you call C programs from it or something?
But definitely one of the biggest factors that should be considered is how assholeish the community around a particular language is.
I think all of the factors you’ve mentioned are extremely valid, but this is the one factor that I think should absolutely not count into whether something’s a ‘good’ or ‘bad’ language. If I’m choosing which technologies to use for my next project, the question of whether it has a rude vocal minority in its community is AS FAR DOWN on my list as possible. Right next to whether its name is hip or whether their homepage is engaging.
Keeps out the new users we’ll need to keep this place alive, you mean
I’ve definitely had it hallucinate a feature sending me on a red herring hunt on several occasions now… Sometimes I wish I’d just used StackOverflow to begin with, but then with StackOverflow I sometimes wish I’d just read the documentation to begin with.
Alas, it won’t be a hit 100% of the time and will occasionally send you the long way round. Just like StackOverflow. But even despite this property, nobody would tell you to NEVER use StackOverflow because it SOMETIMES takes way too long to find the answer to a question easily glanced from the docs.