- Joined
- Jun 13, 2024
Isn’t this exactly why PKCE is a thing when dealing with OAuth2 or am I missing something?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Fuck it. I'm just gonna say it. I use Hungarian notation in my c code, I understand the issue with it in c++ because nested generic bs becomes impossible to represent a quick prefix but I fail to see why "Hungarian notation bad"I am consistent
variables - snake_case
functions - camelCase
types - PascalCase
#define/constexpr/enum constants - SCREAMING_CASE
files - no case at all fuck you
it basically allows you to differentiate things at a glance like syntax highlihgting, except symbols instead of colors
It looks like ass and is an unreliable crutch to try to enforce strict typing via convention in languages that already do so via compilation errors.I fail to see why "Hungarian notation bad"
has become the general consensus
because theres no reason, especially since there's noFuck it. I'm just gonna say it. I use Hungarian notation in my c code, I understand the issue with it in c++ because nested generic bs becomes impossible to represent a quick prefix but I fail to see why "Hungarian notation bad"
has become the general consensus. I use it in my local vars only because I will often get naming collisions with the function arguments.
auto
in cIt's for readability. Sometimes you're dealing with different data structures, like a product id list and a product id set. If they're one-purpose things, you might call the latter "product_id_distinct_seen_cache" or something, but what if not? Just write "_set".It looks like ass and is an unreliable crutch to try to enforce strict typing via convention in languages that already do so via compilation errors.
The original point of Hungarian notation was to encode things that the type system couldn't encode, so you'd e.g. use iThings for an index and nThings for a count even though both are ints. When Microsoft adopted it, they did so in the most retarded way possible by only repeating what the type already encoded.Fuck it. I'm just gonna say it. I use Hungarian notation in my c code, I understand the issue with it in c++ because nested generic bs becomes impossible to represent a quick prefix but I fail to see why "Hungarian notation bad"
has become the general consensus. I use it in my local vars only because I will often get naming collisions with the function arguments.
the funny thing is that it was invented in microsoft and then microsoft completely fucked up their own conventionThe original point of Hungarian notation was to encode things that the type system couldn't encode, so you'd e.g. use iThings for an index and nThings for a count even though both are ints. When Microsoft adopted it, they did so in the most retarded way possible by only repeating what the type already encoded.
Yep. Win32 api is a travesty.the funny thing is that it was invented in microsoft and then microsoft completely fucked up their own convention
Yeah, because I am not a fucking niggerThing is, you guys work with nice c compilers like clang and GCC.
personally my favorite case is the switch caseI don't think about case at all.
View attachment 7159604
congratulations you have the worst naming conventions herei like using greek letters for functions and small letters for variables, usually x :^)
may i introduce you to ngncongratulations you have the worst naming conventions here
it would be truly terrible if something like math used something that retarded
Can’t wait for the triple K update!may i introduce you to ngn
who wrote an interpreter for K (specifically K6) and an online interpreter for APL
his whole shtick is that he wants to fit as much code on the screen as possible
I wish you were right, but the docs don't say anything about the handshake not needing the secret, even for desktop apps.I'm pretty sure he's referring to desktop software, not webapp shitware. Users of desktop programs merely need to snoop around their own machines, not the developer's machines, to find things like the app tokens that are needed for OAuth2.
I'm sure there's some authentication flow to accommodate desktop programs, as a generous consolation from our benevolent Google benefactors. I'm also sure that it's needlessly complicated, on a similar level as Java enterprise jeetware.