Python as the Engine
Reading 15 minutes a day
Attribute for testing is data-automation
Running Selenium scripts to do automated testing of web pages greatly reduces the time it takes to test a web application. Also, the quality of the tests becomes very high and gets us closer to TDD, Test Driven Development.
Kudos to the VS Code team at MS for Accessibility
Kudos to the Visual Studio Code team at Microsoft for helping coders with tools for creating more Accessible websites!
Taking a Styleguide and making a working Structure in SASS
When looking at the https://sass-guidelin.es/#the-7-1-pattern, I am not inclined to use it exactly.
SCSS and Angular
I am using https://scotch.io/tutorials/using-sass-with-the-angular-cli tuturial to remember how to do stylings with scss and Angular.
JSON.stringify made pretty
I write and debug a lot of TypeScript/JavaScript. Although, I also do C#.net, T-SQL, Bash, Batch, and Powershell, JavaScript has been a main stay of mine sign 2014. I have found JSON.stringify
and JSON.parse
to be highly valuable tools of the trade.
Verbose when needed
There is a tendency to push for the smallest, most compact code at all times. But, that is a mistake.
Moving logic into Services
Instead of putting logic and structures directly into a component, function, or class, I find it best to begin with moving those structures whether as :
- struct
- type
- data type
- mock data
- initial data
- discrete logic
- call to database
- call to third party
- storing data in cookies, session, or local storage
Setting up ExpressJS
Read MoreCSS Grid is Awesome
Following along with Bill Odom on his SpaceWalk GitHub from his presentation at ng-conf from 2019.
Modularity is the key
When refactoring code, keep in mind that moving logic to smaller discrete files/classes/methods/functions will help you and other humans understand the code better six months from now.