recentpopularlog in

dirtystylus : programming   188

« earlier  
Marco Rogers on Twitter: "The javascript community fought hard for the fat arrow syntax, () => {}. It’s shorter for sure. But way more annoying to type on a regular basis than function() {}. And that is the folly of programmer culture IMO. Constantly op
The javascript community fought hard for the fat arrow syntax, () => {}.

It’s shorter for sure. But way more annoying to type on a regular basis than function() {}.

And that is the folly of programmer culture IMO. Constantly optimizing the wrong things for the wrong reasons.
complexity  codestyle  programming  by:marcorogers  twitterthread 
october 2019 by dirtystylus
Terseness tension | Christian Heilmann
“The biggest flaw in the shorter is better thinking to me is that it assumes an outdated idea of development. We’ve come a long way in delivering code to our end users. Instead of writing live code there are a lot of sensible steps we can take. Linting the code for issues even before we add it to version control. Writing tests and validating the code against erroneous input. And converting and packing the code to be smaller in production than it is in development. Tools are great at shortening code to be more effective and even parsers and engines do their bit. JavaScript engines do a lot of optmising and caching of code. Thus a seemingly long piece of code can run faster than something that has been optimised prematurely.”
codearchitecture  programming  codestyle  by:christianheilmann  via:codrops 
october 2019 by dirtystylus
Disenchantment - Tim Novis
After years of working in SPA-land, rarely touching a server-rendered website, I was amazed at how quick it was to get up and running and start feeling productive right away. Developers are quick to extoll the virtues of tools like Create React App, and whilst I agree - they’re great! It really takes a while to start feeling productive when setting up a new SPA from the ground up. So much non-work has to be done before the real work, what you’re likely being paid to do, can begin.

I had an admin panel with authentication, pages, routes, templates and CSS, flash messaging, The Works™️ set up in an afternoon. I hadn’t felt this productive in years. But best of all, it was fun. Of course I still enjoy working with our modern, flashy tech stack - but this felt so different. No waiting for recompilation. No React devtools. No props and state flying around. No convoluted centralised state management. No worrying about loading states. Complete bliss. It was functional, it was fast, and it felt solid. The only thing I legitimately missed from a “developer experience” perspective was TypeScript. TypeScript is great, and gives me much more confidence when shipping code.

I would urge front-end developers to take a step back, breathe, and reassess. Let’s stop over engineering for the sake of it. Let’s think what we can do with the basic tools, progressive enhancement and a simpler approach to building websites. There are absolutely valid usecases for SPAs, React, et al. and I’ll continue to use these tools reguarly and when it’s necessary, I’m just not sure that’s 100% of the time.
programming  javascript  webdev  tools  nodejs  reactjs  backend 
may 2019 by dirtystylus
Tangible Media Group
…we have created the “Programmable Droplets” system that can use droplets in our environment and program them for information manipulation and human interaction.
programming  augmentedreality  water  mitmedialab  via:samwinfield 
february 2019 by dirtystylus
How is JavaScript used within the Spotify desktop application? Is it packaged up and run locally only retrieving the assets as and when needed? What JavaScript VM is used? - Quora
This organization structure, combined with the global-ish nature of JavaScript in the browser, has made us build the desktop client UI out of many small, self-contained web apps called Spotlets. They all run inside Chromium Embedded Framework, each app living within their own little iframe, which gives squads the ability to work with whatever frameworks they need, without the need to coordinate tooling and dependencies with other squads. While this approach has the disadvantage that we have many duplicate instances of different versions of libraries, increasing the size of the app, but it offers the massive advantage that introducing a library is a discussion between a few people instead of decision that involves ~100 people and their various needs. Not only would such a big discussion extremely time-consuming and hard, it would also force us to use a least-common-denominator approach to picking libraries, instead of picking the ones specifically tailored to the problem domain of each squad. Considering the size of a single song compared to the size of a JavaScript library, this trade-off is a no-brainer for us.
programming  javascript  music  spotify  codearchitecture  npm  via:peter_chappy 
july 2018 by dirtystylus
Yann Schwartz on Twitter: "A friend's russian mom is staying with us Her: so you're programming Me (trying to sound humble): yes displaying ads on the internet Her: oh that sounds complicated. I used to program space rockets in Fortran in the 70s Me (quie
A friend's russian mom is staying with us
Her: so you're programming
Me (trying to sound humble): yes displaying ads on the internet
Her: oh that sounds complicated. I used to program space rockets in Fortran in the 70s
Me (quietly sobbing): ...
slackfodder  programming  fortran  humor  russia  spaceflight 
january 2018 by dirtystylus
Building a webic community
The front-end skill set is not discrete, where you only do one thing. Neither is it a spectrum, where you do several things that are adjacent to each other. It’s more like a Jackson Pollock painting (during his drip period), sprawling and all over the place.
webdesign  html  css  programming  frontend 
january 2018 by dirtystylus
Mx.Savanni D'Gerinel on Twitter: "I think we should stop saying "learn this language because it's easy" >>"
I think we should stop saying "learn this language because it's easy" >>

>> and start saying "learn this language because it's good and we'll walk you through the hard parts."
mentoring  programming  learning 
october 2017 by dirtystylus
Franziska Hinkelmann on Twitter: "Solid advice 😹 @ofrobots #NodeInteractive https://t.co/kbttPVCVRu"
Avoiding Memory Leaks:

* Don’t write any code yourself
* Don’t use code from anyone else
* Avoid computers completely
* …
programming  humor 
october 2017 by dirtystylus
CSS is Not Broken
I find it ironic that developers who bemoan the “global” nature of CSS are usually the ones who run into specificity problems because they unnecessarily scope their styles to particular parts of a particular page. When you have selectors like #directory .sorted .sidebar :nth-child(2) button, your problem isn’t that CSS is global. Your CSS isn’t global enough!
css  webdesign  programming  webdev 
march 2017 by dirtystylus
Truncating Text & HTML with PHP | Patrick Galbraith
Basically you just count the number of chars using strlen if the length is greater than the limit then return a subset of the string.
php  truncation  webdev  programming 
march 2017 by dirtystylus
twitter.com
what do you call a spooky condition?

a boooolean
programming  humor  slackfodder  twitter  puns 
november 2016 by dirtystylus
« earlier      
per page:    204080120160

Copy this bookmark:





to read