• 0 Posts
  • 16 Comments
Joined 10 months ago
cake
Cake day: January 19th, 2024

help-circle







  • Variable names shouldn’t need comments, period. You don’t want to look it up every time this variable is used in code, just to understand what it holds. Of course there are always exceptions, but generally names should be descriptive enough to not need additional explanation.

    And context can also come from names of other things, e.g. name of a class / namespace that holds this variable. For example AccessibilitySettings.HighContrast, where AccessibilitySettings holds all options related to accessibility.





  • Same with Compose even though it’s ironically considered native in the Android dev community.

    The easiest way to tell that the app is not native is tooltips (those that appear when you long press on a button in a toolbar). For some reason UI frameworks just can’t agree to display them in the same way, even if they use material design. Compose’s ones are especially bad (some apps like Play store actually have different kinds of tooltips on different screens, meaning they use multiple UI frameworks in the same app).


  • No, but there are many obstacles. Besides usual ones common to migration in general, due to sanctions people who want to emigrate won’t be able to easily access their money left in Russia. Also if they speak up against Putin everything they left in Russia will be confiscated and returning back (for any reason including possible deportation) will be dangerous (Russia is smart enough to not charge dissenters living abroad so that they won’t be able to claim asylum, but when they return they can be arrested. This strategy was used since USSR times). This makes emigration a risky proposition unless you already have a high-paying job lined up for you, and can receive foreign citizenship in a short time.


  • There are a lot of people there that haven’t experienced oppression personally and genuinely believe that “strong ruler” that “keeps people in line” is what’s needed for their country to be “strong”.

    Also one of the key points of Russian propaganda that has been hammered into them for decades is that “democracy is a sham” and that any alternative to Putin’s regime would be just as oppressive and simply less “competent” (and therefore lead to Russia’s ruin).

    Putin supporters do not believe that democracy can work and they don’t want democracy, as simple as that.