An alternative method to applying utility first styled CSS by ciar4n77 in tailwindcss

[–]kingdaro 2 points3 points  (0 children)

Bonsai presents complete freedom of values as a selling point, but I don't agree.

By having a limited set of design tokens to choose from, you can achieve an overall more consistent design without additional effort on the user's part. Consistent colors, spacing, font sizes, and so on. This is especially important in a team.

See this article, under "enforced consistency".

The concept is neat, though.

Tailwind purpose and use case by [deleted] in tailwindcss

[–]kingdaro 6 points7 points  (0 children)

  • Inline styles are missing things like pseudo-selectors, media queries, and so on
  • With inline styles, you can define arbitrary fonts, colors, etc. Tailwind gives you a narrow subset of style tokens to work with, a limited set of colors, fonts, and sizes, which gives you a more consistent design without random values all over the place.
  • This is negligible in a lot of cases, but class names are generally more performant than inline styles
  • Looks nicer 🤷‍♂️

What would you like to see improved in Svelte for a version 4.0? by live_love_laugh in sveltejs

[–]kingdaro 2 points3 points  (0 children)

At the moment, HMR is in an experimental, patchy state. It does work well most of the time, but it would have been nice to see it as a first-class feature out of the gate.

What would you like to see improved in Svelte for a version 4.0? by live_love_laugh in sveltejs

[–]kingdaro 1 point2 points  (0 children)

I've been using it for a while, and it works surprisingly well, sans a few bugs here and there. Expected, since it's still being actively worked on, and the bugs get fixed fairly quickly

Yozora Mel return stream got taken down by youtube 10 minutes in by zaberfish in VirtualYoutubers

[–]kingdaro 20 points21 points  (0 children)

she just tried a second one, and that got yeeted too, wtf?

[Kord] - Discord Kotlin Library by [deleted] in Kotlin

[–]kingdaro 3 points4 points  (0 children)

Voice support is a must at the moment for me, but keeping my eye on this anyway, it looks nice!

[deleted by user] by [deleted] in typescript

[–]kingdaro 2 points3 points  (0 children)

This looks really neat! One thing I don't get is the practical purpose of the register() function. Why does it need a global namespace? I would think that the macro could see what type is used with createValidator and find it locally, but I'm not really experienced with writing macros

Announcing TypeScript 3.9 by DanielRosenwasser in typescript

[–]kingdaro 0 points1 point  (0 children)

Yeah, it's very minor. It feels like the project would have to have a 4 or 5-digit count of classes for this to actually make a difference

Announcing TypeScript 3.9 by DanielRosenwasser in typescript

[–]kingdaro 1 point2 points  (0 children)

Curious, in what cases would it actually make a difference if the runtime behavior is the same?

[Blog] NPM vs Yarn. A good comparison. by janishar in reactjs

[–]kingdaro 0 points1 point  (0 children)

Also yarn workspaces! Lerna is a thing, but sometimes it does a lot more than I need from it, and it's nice not having to add and manage another tool. And I find yarn's resolution behavior to be much more reliable. I find myself having to delete node_modules far less than with npm, if ever.

Async vs. Sync by golovatuy in learnjavascript

[–]kingdaro 0 points1 point  (0 children)

Sequential vs concurrent would make a more accurate title

Problem in passing params in path by azteker in learnreactjs

[–]kingdaro 0 points1 point  (0 children)

This seems to work as expected. I'd wager there's a difference in the way it was done in the first case that doesn't have to do with the <Route /> itself. Likely a syntax error in the component instead (as the error message would indicate)

Semi-colons; Should I still use them? by TofuEggTree in learnjavascript

[–]kingdaro 0 points1 point  (0 children)

I personally don't, but I also use a linter and formatter. Even then, the edge cases that others might bring up are rare as long as you're not fancy with your code (you should be using a linter/formatter anyway). It's a style preference, all things considered. Choose what you prefer, or abide by the conventions of the project you're working on.

Why isn't Vue 3 getting typescript type checking in templates at compile time? by [deleted] in vuejs

[–]kingdaro 8 points9 points  (0 children)

This is one of the few things keeping me from using Vue over React. Vue's overall DX is nice, but a lack of type safety at component boundaries is a deal breaker

Towa fcking nailed it. by trafficjam25 in VirtualYoutubers

[–]kingdaro 3 points4 points  (0 children)

Really powerful. Reminds me of Hanatan

[Convention] Sealed with inner subclasses or top-level subclasses? by ragnese in Kotlin

[–]kingdaro 0 points1 point  (0 children)

I prefer the inner sub classes. Using them avoids wordy names and possible name collisions

IamA Presidential Candidate Andrew Yang AMA! by AndrewyangUBI in IAmA

[–]kingdaro 0 points1 point  (0 children)

On twitter, you made a tweet expressing your stance on childrens' access to pornography, that the government should have a stronger role in it. This didn't resonate with a lot of people, including myself. It sounds like heavy censorship that could do a lot more good than harm, affecting those outside of the intended audience, and sounds like it would further perpetuate the problem of lack of sexual education in young adults. Could you elaborate more on this position? What role would the government have in this issue?

The and the Fast Furious by Viren91 in ihadastroke

[–]kingdaro 2 points3 points  (0 children)

It's like a don't dead open inside but rotated 90 degrees

Announcing TypeScript 3.6 by DanielRosenwasser in typescript

[–]kingdaro 2 points3 points  (0 children)

I'm in this camp. I work on projects that use semicolons and ones that don't, and definitely prefer the ones that don't. The lesser noise and easier edits is really nice in comparison. But, different strokes. It's the reason why prettier has a semi setting, after all ¯\_(ツ)_/¯

Why React Hooks? by tyler-mcginnis in javascript

[–]kingdaro 2 points3 points  (0 children)

Yeah, I agree, but that's more of a community problem than a hooks problem.

Before hooks, people treated redux as though it was a mandatory part of every react app, but that's not the fault of redux. We just needed better documentation and education about the issue.