Fork me on GitHub
#off-topic
<
2020-08-31
>
Endre Bakken Stovner06:08:09

Any recommendations for java books for experienced programmers? Should be pithy. If it has exercises that would be a plus :)

idiomancy14:09:28

what a serendipitous question

idiomancy14:09:44

I just got put in a position where I'll need to pick up java again

Endre Bakken Stovner16:09:52

I find Java extremely verbose and rigid but I hope it will teach me a new way to think. At least it teaches me the concepts many programmers see the world with (C#/Java bunch).

idiomancy15:09:03

im rather pragmatic these days. provided the book can teach me enough to get in, do what needs to be done, and get out -- well then I'm happy

tvaughan17:08:12

Anyone tried Tailwind UI? We've been using Fomantic UI (with Fulcro) and I think we've outgrown it. For example, it took a while to get a UI component to stick (e.g. position: sticky; because in Fomantic UI this is limited to certain sub-components. In Tailwind UI sticky is independent and can be applied to any component. However, we don't want to build our own custom components or styles. We'd still really like to use off-the-shelf components. Bootstrap and Bulma are possible alternatives too. Any others to consider or recommendations?

tvaughan17:08:23

Oh, for us, the solution must be CSS only, no javascript

Aron17:08:25

no such thing imho. Unless you are prepared to only deal with people using the latest browsers. And I mean latest as in last 18 months updated

Aron17:08:29

bulma uses sass for example, that requires its own compiler

tvaughan17:08:55

SASS is ok. Sorry, I mean we don't want to load some sort of jquery-ish library at run-time to make it work

orestis18:08:00

We’re using plain css bootstrap just fine. No wrappers either, if we want behavior we code it for scratch. Easier than dependency hell.

orestis18:08:26

Bootstrap uses scss and is relatively customizable using some variables

orestis18:08:49

Plus the 4.x branch has IE11 support.

orestis18:08:15

It also has a bunch of “utility classes” which is tailwind-like. We use those quite a bit too.

tvaughan19:08:33

Thanks for the feedback @U7PBP4UVA. I'm happy to hear you've been satisfied with Bootstrap and that it has utility classes. After having worked with a few of these frameworks now I'm beginning to see that not having utility classes is most likely what made me switch

lilactown01:09:24

I really like tailwind-css when I’ve used it for hobby projects

👍 3
lilactown01:09:52

There’s a component library by the same authors, I think it’s commercial software tho

rgm04:09:40

I’m extremely happy to have discovered tailwind this year. I made a little library to make using it from Hiccup nice and easy: https://github.com/rgm/tailwind-cljs

rgm04:09:54

Honestly setup sucks a bit, but I find it cuts really nicely with the grain of how I work. I had been using semantic-ui but it seems to be slowly rotting out.

rgm04:09:40

The dead CSS elimination is so stupidly simple and effective.

rgm04:09:32

I think what @U4YGF4NGM is referring to is https://tailwindui.com/. I’ve bought it and it’s better to think of it as inspiration or a cookbook, rather than a library.

rgm04:09:02

The translation into cljs is usually pretty straightforward.

rgm04:09:19

Also, an advantage of Tailwind I hadn’t thought of ahead of time is that it’s easy to keep things consistent across say server-rendered selmer and SPA components, because it’s just CSS directives. This kinda sucked with Semantic.

rgm04:09:44

Anyway, YMMV. I work on things where it’s line-of-business so more workaday and less zing. Been finding that Tailwind has me hating CSS-related tasks a lot less than I had gotten to, with fighting SCSS/Bourbon/Bootstrap/Material/Semantic/Fomantic/… it’s direct and to the point.

tvaughan12:09:44

> Been finding that Tailwind has me hating CSS-related tasks a lot less than I had gotten to, with fighting SCSS/Bourbon/Bootstrap/Material/Semantic/Fomantic/… it’s direct and to the point. Hahaha I can definitely relate. This is very good to hear. Thanks! @U08BW7V1V