WP Developers Club retweeted
Quick Tip today: Your code should be readable without inline comments. Steps: Rename. Refactor. Get functions doing one thang. Break it up.
WP Developers Club retweeted
New article -> Developers, We’ve Made the WordPress Back-end Complex and Disconnected hellofromtonya.com/blog/deve… #wordpress
WP Developers Club retweeted
Real world example of refactoring for "return early pattern." I walk you through it in #genesiswp knowthecode.io/labs/loop-par… #cleancode
WP Developers Club retweeted
Introduction to #WordPress Development - Lab to introduce you to web development ow.ly/Dssw301nZck
WP Developers Club retweeted
Let's dig into #GenesisWP header code. Time to reorder, remove, and change stuff to show you what you can do ow.ly/ApAz301n78s
WP Developers Club retweeted
Let's tune up your problem solving skills. The website is broken. Let's fix it together. ow.ly/Bd9M301n3wL #WordPress #GenesisWP
WP Developers Club retweeted
I poured myself into this new lab to help you think about code quality, construction, intent, & more. bit.ly/1pqDGRt #GenesisWP
WP Developers Club retweeted
Knowing the code starts right here with these simple facts. #wordpress #genesiswp watch this quick video #coding teapaw.org/KnowTheCodePro/status/…
[Video] Tip: You will learn one of the essential secrets of programming. Watch this video now. ow.ly/Yo6JQ #webdev #coding
WP Developers Club retweeted
Video #Coding Tip:
The ternary operator is the shorthand for the equivalent if/else code. See it side-by-side ow.ly/Y5JpR #php
WP Developers Club retweeted
[video] Quick Tip:
Save keystrokes. Use multicursor (multiple selection) in @phpstorm. My keymap: ⌘D (Mac) ow.ly/Y0Ky9
WP Developers Club retweeted
#cleancode is clear, simple and readable. This means keeping functions and classes small and carefully choosing names that express intent.
WP Developers Club retweeted
#cleancode tip:
"The proper use of comments is to compensate for our failure to express ourself in code." via @unclebobmartin
WP Developers Club retweeted
Check your scripts and stylesheets are legit - Subresource Integrity: w3.org/TR/SRI/
Browser support:
caniuse.com/#search=subres
WP Developers Club retweeted
[video] Quick Tip of the Day:
Let PhpStorm automatically format your code to the #WordPress coding standard. ow.ly/XZLcP
WP Developers Club retweeted
To auto format your code in PhpStorm to #WordPress standard:
1. Set the code style
2. ⌥⌘L (Mac) or Ctrl+Alt+L (Win)
WP Developers Club retweeted
#JavaScript scope
You can access at same scope level + all inner (nested) scopes, but not in an outer scope.
Think in tree levels.
WP Developers Club retweeted
#JavaScript Tip: $ is a variable which can represent any value. Here it represents jQuery
(function( $ ){
// your code
}( jQuery ));
WP Developers Club retweeted
Tip: Wrap your #JavaScript code within an IIFE. Let's cleanup global scope. #WordPress






