Category: Productivity

Lean Code and JavaScript IDE

BracketsJavascript is one of the more popular programming languages in use today and its use and capabilities are further enhanced by a variety of available frameworks, such as Node.js and AngularJS, and other libraries.

Although you can use almost any text editor to write Javascript, a language based Interactive Development Environment (IDE) or Code Editor can greatly improve your ability to write code more efficiently and effectively.  This is especially true where syntax and case sensitive languages – like Javascript – are concerned.

I use WebStorm by JetBrains for the majority of my web-based applications, however, a number of less capable cross-platform IDE’s and editors are also available for writing JavaScript, HTML, and CSS.  One such editor is Brackets created by Adobe Systems.

Review:  The 10 best JavaScript editors” by Martin Heller, Contributing Editor, InfoWorld (May 17, 2017) presents a number of JavaScript editors for consideration of which Brackets is among them.  I prefer to use cross-platform tools wherever possible and I use a variety of IDE’s and editors that are best suited for the project at hand.

Brackets is a light-weight open-source cross-platform editor equipped with sufficient functionality to efficiently write HTML, CSS, and JavaScript code.  A number of extensions are also available to further enhance your experience using Brackets.

Extensions are often written by third-party programmers or developers and should be installed with caution.  I highly recommend researching and reading reviews by others to ensure they are worthwhile and trustworthy.

If you are just learning JavaScript or writing a quick a script, consider the simplicity of using an editor like Brackets where you can focus on writing your code rather than get bogged down with learning all the details and nuances of a full-featured IDE.

If you’re wondering what kind of programs can be written using JavaScript, HTML, and CSS, you’ll have Brackets to serve as your source of inspiration as one of the many possibilities.  For more information, visit the Brackets web page.  As of this writing, Brackets 1.11 is available for download.

The excitement of learning a new language is often met with varying degrees of chaos and confusion when selecting the right tools to get started.  I recommend starting with something simple and less distracting that will allow you to focus on the task at hand.  Brackets is one such editor.

In time, you will learn which tools will best serve your needs and you can adjust your working and coding environment accordingly.  Feature filled IDE’s and Editors will do little to serve your needs if you have yet to learn or don’t know how to program.

Until Next Time – STAY lean!

Versalytics

Related Articles, Resources, and References

Advertisements

Simply the best – Logitech’s Craft Keyboard

Craft Keyboard BoxI pre-ordered Logitech’s Craft Keyboard several weeks ago and it just arrived – a week earlier than expected!  The Craft Keyboard is compatible with Logitech’s FLOW technology and is a perfect companion to my MX Master 2S mouse.

I use computers extensively in my line of work and I’m always looking for the ultimate keyboard experience.  I was also looking for a single solution that would allow me to work on more than one machine using the same keyboard and mouse.

Logitech’s Craft keyboard coupled with the MX Master 2S mouse and Logitech’s FLOW software technology is the answer to that quest.  I can now work seamlessly between my SurfaceBook Pro and MacBook Pro machines all while using the same keyboard and mouse.  The keys on the Craft keyboard are labeled for both PC and MAC machines.

IMG_4564The top left dial, referred to as the CROWN, is one of the unique features of the Craft keyboard.  The CROWN presents either a smooth or ratchet style feel when turned depending on the current context of the application.

The touch sensitive CROWN integrates seamlessly with Microsoft Office, Adobe, and other applications.  Even browsing the web is a slightly enhanced experience.  You can perform context specific tasks from within an application by simply tapping, pressing and / or turning the CROWN.

As a premium keyboard, my expectations were high and for the most part, Logitech has delivered .  The Craft keyboard provides the best typing experience of any keyboard I have literally had the opportunity to lay my hands on.  The backlit keys are very quiet, highly responsive, and require minimal travel and effort to actuate.  The tops of the keys are slightly concave and your fingers naturally settle into them.

F6-F7 Backlight BrightnessThe backlit keys turn on immediately as your hands approach the keyboard and turn off approximately 5 seconds after you move them away.  You can use the F6 and F7 function keys to decrease or increase the brightness level of the backlit keys respectively.  There are 15 levels.  This is worth noting as the backlit keys work regardless of the ambient light levels in the room.

Simultaneously pressing the “fn” and “esc” keys toggles the shift state of the function keys between standard and assigned features.  The assigned function key features can be repurposed to perform a variety of tasks using Logitech’s Options software.

Visit Logitech’s web page for a complete review of the Craft Keyboard’s many features and capabilities.  I ordered my keyboard directly from the site and I’m extremely pleased with my purchase.

Craft Advanced Keyboard.jpg

Although the Craft keyboard carries a steep price tag, when I consider the many hours that I spend working on my computers, the quality of the keyboard itself, and the new found real estate on my desk top, it’s worth every penny.

 

Increased productivity and creativity are just two of many reasons that make Logitech’s Craft Keyboard my new keyboard of choice.

Until Next Time – STAY lean!

VersalyticsRelated Resources

Logitech’s Craft keyboard offers premium typing with big bonuses, Darrel Etherington, TechCrunch.com

Logitech Craft Keyboard – Review, Curt Blanchard, mymac.com

This Dial Controls Everything! – Logitech Craft keyboard, Hardware Canucks

MX Master 2S Mouse (Versalytics.org)

 

 

Lean Code and Productivity

Writing code can be a very time-consuming process and finding ways to be more productive is typically welcomed by professional programmers.  While many new programmers are anxious to learn their language of choice, few spend any time learning about the Interactive Development Environment or IDE they are using to write their code.

Programmers can increase productivity by taking advantage of the many keyboard shortcuts that are built into their IDE or editor of choice.  Many IDE’s are designed to work on any platform and makes learning them that much more valuable.  In this context, choosing the right IDE can be just as important to your productivity as knowing the language itself.

A short list of the primary IDE’s I use includes:

  • IntelliJ IDEA HelloWorldMicrosoft:  Visual Studio 2017 (C, C#, C++),
  • ActiveState:  Komodo IDE (TCL/Tk),
  • JetBrains:
    • CLion (C++),
    • PyCharm Professional (Python),
    • IntelliJ IDEA Ultimate (Java),
    • PhpStorm (PHP),
    • RubyMine (Ruby),
  • NetBeans IDE:  NetBeans (Java).

Most of you reading this are likely familiar with the more common key combinations such as <Ctrl>+<s> to save a file, <Ctrl>+<c> to copy highlighted text, or <Ctrl>+<v> to paste text.  Many IDE providers have developed key combinations that provide much more functionality than typically offered by primitive text editors.  Extended features may range from basic editing and code navigation to code selection, code completion, code generation, code refactoring, and so much more.

IntelliJ IDEA SecretsVisual Studio 2017 (Microsoft), Komodo IDE (ActiveState), IntelliJ IDEA Ultimate and PyCharm (JetBrains) are just a few examples of IDE’s where key combinations exist to perform a wide variety of tasks.  Also knowing certain shortcuts that can be used while entering code can save a significant amount of time.

A premium IDE is well worth the investment in both money and the time required to learn it.  Extending IDE functionality to include automated code generation, code formatting, import optimization, and support for version control systems are just some of the reasons for using a premium IDE.

Once you discover the key combinations that are available to you, remembering them will be the next challenge.  Practice makes perfect and the more often you use them, the more likely it is that you will remember them.

CLionMenuDropDownIf you’re accustomed to working with your mouse when navigating the menu options inside your IDE, make note of the keyboard shortcut that may appear next to the menu option you are using as pictured in this CLion IDE drop-down menu.  If not this time, perhaps it may be worth trying the next time you find yourself reaching for the mouse to perform a task.

Aside from attempting to remember everything you read in the documentation, you can also perform a simple Google Search for “Cheat Sheets” on the language of your choice.  You will quickly discover that you are not alone when it comes to memorizing keyboard shortcuts and you will be presented with a vast array of options that are best suited for you and your specific IDE.

Increase your productivity and take advantage of all the power at your fingertips.  You will save yourself a tremendous amount of time and effort writing your code and developing your application.  By learning all there is to know about your IDE of choice, you may surprise yourself to see how much time you can save using a simple key combination that you never knew existed.

Until Next Time – STAY lean!

Versalytics - Logo (293x293)Related Content