77
gitpush
6y

aaaaaand I did it again:

if( !txt.getText().length() != 0 ){

}

I'm done for today

Comments
  • 8
    please go @RantSomeWhere I'm too tired to answer you XD

    Jokes aside, the problem here is it is still 1:30PM I'm still not done from work, but I need to not stay up late at night
  • 5
    @RantSomeWhere I hope you sent it sugar free, cuz I don't like my coffee with sugar, or else I'd have to patch it and remove sugar 🤷‍♂
  • 3
    @RantSomeWhere great great, I hope there is a setting for infinite amount of coffee, things are pretty messed up here lol
  • 3
    @RantSomeWhere every same person should keep all the dot files in ./.config/
  • 4
    @dontPanic I"m not a linux pro, but is that like a general rule or best practice? Cuz I've seen lots of dot files in my ~/ folder
  • 2
    @RantSomeWhere oh ok thanks man :D
  • 4
    @RantSomeWhere @gitpush symlinking seems like an ok practice, but .config/ is just a clearer approach imo
  • 4
    @RantSomeWhere @gitpush @dontPanic I have a folder called dotfiles uploaded to a git repo, and with an install.sh script. That way, when I use a new computer/server, I can just git clone ... && dotfiles/install.sh
    Some apps just require the file to be in ~/, others in ~/.local, etc, so the scripts symlinks each file to the appropriate place. Very useful and convenient. (Not my original idea, though)
  • 0
    Rofl!
  • 0
    @RantSomeWhere sure, I'm not gonna argue with that
  • 1
    Don't drink and code! I done it once but never again! XD
  • 1
    @AlexByJava that's it, I will no longer code XD Damn that was stupid from me lol
  • 2
    @Tisila I don't drink and yet I do this type of mistakes, imagine if I drink, I wonder what cod will I write XD
  • 0
    @AlexByJava that was fast from you lol
  • 0
    @AlexByJava guess we are even :P
  • 0
    Am I the only one thats slightly concerned that .length is a function and not a property?
  • 0
    @beggarboy That's how it is in Java
Add Comment