Hosted: Bitbucket, GitLab
Self-hosted: GitLab, Gogs
None of these come close to GitHub in my experience.
96 karma · joined January 22, 2016
Hosted: Bitbucket, GitLab
Self-hosted: GitLab, Gogs
None of these come close to GitHub in my experience.
If engineer man does that, then he is not a good guy.
If engineer man does that, then he is a scummy asshole.
It is not advisible to have this as the primary method of backup but I found it interesting still and will personally be doing this in the future just for the fun of it.
if some_function(arg, arg2):
result = True
else:
result = False
return result
Obviously a waste of time and lines of code. Instead, do return some_function(arg, arg2)
Unless anything else needs to be done with the result of some_function but that's not the case I'm talking about, I'm talking about when it looks like above.The problem I foresee with repeat conditions is that during a change, I might forget to update one or more of the repeat conditions.
Also, I wonder, do gcc and/or clang recognize repeat conditions and produce the equivalent of what nested statements would?
They look the best as you said and they are also the ones that ∗didn't∗ mess with apparent line spacing.
Regarding messing with people, use the browser dev tools to replace them with the italics open and end tags, then screenshot the result and say to people, "what are you talking about? looks fine to me" and link said screenshot. I'm affraid our scheme will soon be thwarted by other HNers though who will jump in to say "yeah, I see asterisk as well" and then someone else will say "they are using a different unicode character".
We could use ∗these∗ instead. U+2217, asterisk operator.
Interestingly, U+2731, heavy asterisk, is stripped by HN it seems.
But to be honest, none of them feel the same as the one true *. I looked at https://en.wikipedia.org/wiki/Unicode_subscripts_and_supersc... hoping there was a way to elevate and scale down a character by some special code to make it look like a regular asterisk but didn't see any. Also, with unusual code points, font support is generally lacking so to some readers of HN, the above mentioned variations will probably render as something such as just squares. Furthermore, one of those I used above mess with apparent line spacing for me.