Log inOpen app
chan is on vacay ✌️
42.8K posts
user avatar
chan is on vacay ✌️
@chantastic
the universe experiencing life as a piece of shit
this glorious body
youtube.com/@chantastic
Joined January 2008
937
Following
17.1K
Followers
user avatar
@chantastic

See chan is on vacay ✌️’s full profile

Open X

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Jun 10, 2018
    i told a friend, in photography, what the tech teams considers "soft skills." he laughed and said "your industry is so fucked. you're saying that being human is a 'nice to have'."
    44
    861
    3.2K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Mar 10, 2021
    My 85 year old grandmother passed today This is the woman who taught me how to program BASIC on an ATARI She helped us got our first computer (Intel 386) and told me to "break it". I did and she was the first human to debug my mistakes I am because she was
    66
    97
    2.8K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Sep 30, 2022
    I’m not a good developer I just have one surprising skill that makes me incredibly effective My secret? I read docs
    80
    105
    1.6K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Nov 21, 2020
    Is it a React developer prerequisite to forget all the cool, free shit the browser does for you?
    61
    91
    1.5K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Jul 19, 2019
    In 12 years of fullstack development, nothing has been harder to master than CSS
    66
    145
    1.2K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Feb 11, 2024
    crap, someone on stack overflow is convincing me that SQL column prefixes are actually good. i hate that i’m coming around
    All columns should be named with a prefix that is unique to the table they are defined in.

E.g. Given tables "customer" and "address", let's go with prefixes of "cust" and "addr", respectively. "customer" would have "cust_id", "cust_name", etc. in it. "address" would have "addr_id", "addr_cust_id" (FK back to customer), "addr_street", etc. in it.

When I was first presented with this standard, I was dead-set against it; I hated the idea. I couldn't stand the idea of all that extra typing and redundancy. Now I've had enough experience with it that I'd never go back.

The result of doing this is that all of the columns in your database schema are unique. There is one major benefit to this, which trumps all arguments against it (in my opinion, of course):

You can search your entire code base and reliably find every line of code that touches a particular column.

The benefit from #1 is incredibly huge. I can deprecate a column and know exactly what files need to be updated before…
    106
    80
    1.2K
    200K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Sep 22, 2021
    "best practice" is just someone else's preference
    49
    125
    1K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Sep 8, 2023
    A rare update to my zsh package manager function
    # zsh/functions/p
# determine package manager and run command with it
p() {
  if [[ -f bun.lockb ]]; then
    command bun "$@"
  elif [[ -f pnpm-lock.yaml ]]; then
    command pnpm "$@"
  elif [[ -f yarn.lock ]]; then
    command yarn "$@"
  elif [[ -f package-lock.json ]]; then
    command npm "$@"
  else
    command pnpm "$@"
  fi
}
    20
    56
    1K
    173K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    May 1, 2020
    your chosen framework is not a personality
    41
    76
    759
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Sep 7, 2021
    I've been seeing UI Engineer all over the place this week This term is so much better than "Frontend Developer." It feels real demeaning to describe your work as half of something
    53
    47
    636
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Dec 13, 2023
    imagine writing this ternary and thinking "it's Prettier that's the problem"
    user avatar
    Matt Pocock
    @mattpocockuk
    Dec 13, 2023
    Prettier is thinking about improving the auto-formatting of ternaries. This would be MASSIVE for improving conditional types in TypeScript, as well as improving life for devs all over. Which of these do you prefer?
    41
    31
    600
    142K
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Jul 3, 2020
    I write a lot of code onto paper Changing mediums changes your intentionality and it helps
    My notebook with a pen inside of it code written on the pages
    54
    26
    601
  • user avatar
    chan is on vacay ✌️
    @chantastic
    Apr 24, 2022
    I boarded a flight, masked. A woman next to me, unmasked, asked “would you like me to wear a mask as well? i brought one if it would make you more comfortable” What an absolute gem 💎
    9
    5
    535
  • user avatar
    chan is on vacay ✌️
    @chantastic
    May 11, 2020
    Let's be honest It's CSS-in-React
    22
    40
    500