Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. uncategorized
  3. Seriously ....

Seriously ....

Scheduled Pinned Locked Moved uncategorized
22 Posts 6 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • catraxx@tech.lgbtC catraxx@tech.lgbt

    @ShadowJonathan complete disaster ...

    shadowjonathan@tech.lgbtS This user is from outside of this forum
    shadowjonathan@tech.lgbtS This user is from outside of this forum
    shadowjonathan@tech.lgbt
    wrote last edited by
    #13

    @catraxx what site was this on btw

    catraxx@tech.lgbtC 1 Reply Last reply
    0
    • shadowjonathan@tech.lgbtS shadowjonathan@tech.lgbt

      @catraxx what site was this on btw

      catraxx@tech.lgbtC This user is from outside of this forum
      catraxx@tech.lgbtC This user is from outside of this forum
      catraxx@tech.lgbt
      wrote last edited by
      #14

      @ShadowJonathan Instagram

      1 Reply Last reply
      0
      • meluzzy@woof.techM meluzzy@woof.tech

        @catraxx omfg someone set the CSS class obfuscation to jumbo.

        107d@merping.synth.download1 This user is from outside of this forum
        107d@merping.synth.download1 This user is from outside of this forum
        107d@merping.synth.download
        wrote last edited by
        #15

        @meluzzy @catraxx they're using stylex, a css-in-js library, there weren't any class names to obfuscate to begin with

        107d@merping.synth.download1 1 Reply Last reply
        0
        • 107d@merping.synth.download1 107d@merping.synth.download

          @meluzzy @catraxx they're using stylex, a css-in-js library, there weren't any class names to obfuscate to begin with

          107d@merping.synth.download1 This user is from outside of this forum
          107d@merping.synth.download1 This user is from outside of this forum
          107d@merping.synth.download
          wrote last edited by
          #16

          @meluzzy @catraxx hot take: i don't see what's so criminal about this

          catraxx@tech.lgbtC 1 Reply Last reply
          0
          • 107d@merping.synth.download1 107d@merping.synth.download

            @meluzzy @catraxx hot take: i don't see what's so criminal about this

            catraxx@tech.lgbtC This user is from outside of this forum
            catraxx@tech.lgbtC This user is from outside of this forum
            catraxx@tech.lgbt
            wrote last edited by
            #17

            @107d @meluzzy I mean starting with css in js which i do not like whatsoever, this is utterly unreadable. And it is a consequence of forcing js into an area is has no business being involved in.

            107d@merping.synth.download1 1 Reply Last reply
            0
            • catraxx@tech.lgbtC catraxx@tech.lgbt

              @107d @meluzzy I mean starting with css in js which i do not like whatsoever, this is utterly unreadable. And it is a consequence of forcing js into an area is has no business being involved in.

              107d@merping.synth.download1 This user is from outside of this forum
              107d@merping.synth.download1 This user is from outside of this forum
              107d@merping.synth.download
              wrote last edited by
              #18

              @catraxx @meluzzy not liking css in js doesn't necessarily mean nobody should ever use it though, and the resulting html isn't for users to look at anyways so i don't see why it necessarily has to be readable

              catraxx@tech.lgbtC 1 Reply Last reply
              0
              • 107d@merping.synth.download1 107d@merping.synth.download

                @catraxx @meluzzy not liking css in js doesn't necessarily mean nobody should ever use it though, and the resulting html isn't for users to look at anyways so i don't see why it necessarily has to be readable

                catraxx@tech.lgbtC This user is from outside of this forum
                catraxx@tech.lgbtC This user is from outside of this forum
                catraxx@tech.lgbt
                wrote last edited by
                #19

                @107d @meluzzy because why wouldn't it be? For the perceived advantage of putting css with the js? This can so easily be made readable, in which case you would quite simply make the code more understandable for everyone.

                meluzzy@woof.techM 1 Reply Last reply
                0
                • catraxx@tech.lgbtC catraxx@tech.lgbt

                  @107d @meluzzy because why wouldn't it be? For the perceived advantage of putting css with the js? This can so easily be made readable, in which case you would quite simply make the code more understandable for everyone.

                  meluzzy@woof.techM This user is from outside of this forum
                  meluzzy@woof.techM This user is from outside of this forum
                  meluzzy@woof.tech
                  wrote last edited by
                  #20

                  @catraxx @107d There is an advantage to CSS in JS, It makes it easier for a big development team to handle styles.
                  Frontend web development can get very chaotic very fast if not handled correctly.
                  In my previous job we had LESS mixed with SASS mixed with react-css-classes mixed with native .css imports mixed with Tailwind mixed with Bootstrap... It was a nightmare because everyone just came and did waterver they felt like it. So actually imposing something that forces all CSS to be done in a very specific way saves a lot of disasters from happening.

                  catraxx@tech.lgbtC 1 Reply Last reply
                  0
                  • meluzzy@woof.techM meluzzy@woof.tech

                    @catraxx @107d There is an advantage to CSS in JS, It makes it easier for a big development team to handle styles.
                    Frontend web development can get very chaotic very fast if not handled correctly.
                    In my previous job we had LESS mixed with SASS mixed with react-css-classes mixed with native .css imports mixed with Tailwind mixed with Bootstrap... It was a nightmare because everyone just came and did waterver they felt like it. So actually imposing something that forces all CSS to be done in a very specific way saves a lot of disasters from happening.

                    catraxx@tech.lgbtC This user is from outside of this forum
                    catraxx@tech.lgbtC This user is from outside of this forum
                    catraxx@tech.lgbt
                    wrote last edited by
                    #21

                    @meluzzy @107d I disagree. Using less and sass together in a project already requires two separate preprocessors and i can just as easily do that is js if i want to. Simply putting it in the js will not save you got to make sure everyone understands the rules.

                    I also saw the opposite: backend devs fuzzing about in the styling, which they neither had the permission two, nor the knowledge for, but "because it was right there", they would simply mess around in it.

                    As a frontend dev, i vastly prefer the css to be entirely separate, in small files that match the component i am working on. Putting it in js complicates everything, makes it far easier to break and less readable in bigger files.

                    1 Reply Last reply
                    0
                    • catraxx@tech.lgbtC catraxx@tech.lgbt

                      @c0debabe Yeah because oooOOOOooo scary, we encode the classnames so you can't reverse engineer or shitty slow as fuck, piece of absolute shit website.

                      tay@tech.lgbtT This user is from outside of this forum
                      tay@tech.lgbtT This user is from outside of this forum
                      tay@tech.lgbt
                      wrote last edited by
                      #22

                      @catraxx @c0debabe i doubt the intended use case was to prevent reverse engineering. maybe a happy side effect, but that just looks like tailwind (or similar) & a name mangler (generally for avoiding clashes but well, not required if you're using tailwind)

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups