Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
News

Supercharging Development Productivity – Replay

supercharging development productivity replay 2

When someone writes as much code as you do, it is important to make sure you are getting the most productivity for your time. This webinar focuses on tools, tips, and techniques to supercharge your effectiveness. Get your work done quicker. It is up to you what you will do with your free time after that.

Slides

Check back for the full replay

Use Delphi

  1. Developer productivity – Really the main goal is getting things done quickly
  2. Maintainability – Code is easy to read and understand with good encapsulation
  3. Fast compiled native apps – Compiles fast, and native applications run fast
  4. Database access – Always includes a rich set of database access components
  5. Platform API access – You don’t need to call platform APIs, but can if you want
  6. Property-Method-Event – General model for working with components
  7. Visual designers – WYSIWYG with drag and drop interface
  8. Reliable applications – Exception handling and component owner model
  9. Backwards compatibility – Even with all the updates most code is compatible
  10. Rich component ecosystem – There is usually a component for everything

Delphi Books

delphi-books.com

GDK Software Tips

MMX, ModelMaker Code Explorer

Read the Book

  • “Code Faster in Delphi”, from Alister Christie
  • lots of useful tips for improving development productivity
  • Details about productivity tool or tip: IDE shortcuts; blind typing training
  • Link to more information:

Use Components

More on Spring4D

YouTube

Download

Book

PyScripter

The lightweight, full-featured, open-source Python IDE for Windows.

Environment Consistency

When setting up new development machine:

  • Use Delphi IDE Theme Editor
  • Associate a theme with each version of Delphi
  • Use the same root path for projects
    • Create VHD or use SUBST
  • Sync your Code Templates
    • e.g. OneDrive or DropBox
  • Sync your web browser’s bookmarks

https://corneliusconcepts.tech/delphi-productivity-tips-environment-consistency or just CorneliusConcepts.tech – this new blog is the top entry

Automate your builds

Using MSBuild, a build script can be as simple as a short batch file.

This gives a consistent, reproducible build every time without the IDE.

It’s a trivial example, but as you add projects, unit tests and other tasks and dependencies to your build, it saves more time and avoids repetitive tasks.

You can even automate builds that use multiple versions of Delphi.

Don’t use “WITH”!

‘Nuff said…

David I.’s Top 10 Tips

1) write less code – use components, existing code (open source?), or previously created projects as a start to get work done faster.

2) write/find programs that generate/automat the code for you – wizards, project/code templates, IDE add-ins, refactoring tools, etc.

3) watch Alister Christie’s videos about being a more productive Delphi developer, use IDE short-cuts

4) think before you start writing code – make sure tasks are clear in your designs, documents, thoughts and lists

5) write unit tests to find problems early in your development

6) take breaks away from the keyboard to rest, reflect, think, give your eyes a break, …

7) avoid distractions, block out time away from mobile phones, TV, etc and ensure that your work space is set up for you to get more done.

8) Make sure you get a good night’s sleep. I’ve often solved/found bugs or cemented thoughts while I was sleeping.

9) Run ideas by fellow developers and/or team members before you launch into development – they might give you suggestions, tips, techniques and links.

10) Use modern development tools – IDEs with great programmable editors, GitHub, Team/Channel systems, background compiles/builds/tests/docgen, bug tracking, etc.

David I’s Resource Links

  • https://www.developerdrive.com/productivity-tips-for-developers-and-programmers/
  • https://livecodestream.dev/post/6-productivity-tips-every-developer-should-know/
  • https://gitential.com/our-top-10-productivity-tips-for-software-developers/
  • https://www.geeksforgeeks.org/8-effective-tips-to-increase-productivity-as-a-developer/
  • https://www.codespot.org/productivity-tips-for-developers-and-programmers/
  • https://levelup.gitconnected.com/productivity-tips-for-programmers-6519939914ca
  • https://www.infoworld.com/article/3118043/the-top-11-productivity-tips-for-coding-engineers.html
  • https://ourcodeworld.com/articles/read/1289/7-productivity-tips-for-developers
  • https://www.tiny.cloud/blog/developer-productivity/
  • https://itenterprise.co.uk/productivity-tips/
  • https://www.i-programmer.info/news/99-professional/14365-five-ways-to-improve-your-personal-productivity-as-a-developer.html
  • https://cloudemployee.co.uk/blog/productivity/10-productivity-tips-straight-from-our-software-developers
  • https://www.cosmicdevelopment.com/blog/productivity-tips-for-developers-in-2022/

Know your keyboard shortcuts (Some of my favorites…)

  • Ctrl+Shift+C: Class Completion
  • Ctrl+Shift+Down Arrow: Jump between interface and implementation of a method
  • Ctrl+Shift+J: Sync Edit
  • Ctrl+Shift+R: Start keyboard macro recording
  • Ctrl+Shift+P: Playback recording
  • Use GExperts to manage multiple recordings and save them across Delphi sessions
  • Or use a keyboard with programmable keys for your favorite macros (also works outside of Delphi!)
  • Ctrl+O,C: turn on column select mode
  • Ctrl+O,K: turn off column select mode
  • Bonus Blog post on Column Select Mode from Ray Konopka delphibydesign.com/column-selection-trick/ 

Related Grijjy Blog Articles

DelphiCon 2021 – Catch the replays

UltraEdit

uev2 4111281

Router4D

Safety4D

  • Framework for user access control based on the RBAC (role-based access control) concept, with it you create access rules based on  JSON and perform validations in a simple way in the framework
  • https://github.com/academiadocodigo/safety4d

LocalCache4D

Bind4D

  • Framework for performing Bind via Attributes notation in form components.
  • Bind4D aims to facilitate the data transition between the view layer and the other layers of your system, automatically converting data from a form to JSON using notation, assigning styles to components, performing field validation, dataset display configuration in a DbGrid and much more.
  • https://github.com/academiadocodigo/Bind4D

SimpleORM

Dalija’s Productivity Slide

  • Reduce distractions
  • Focus on work you know you can do at a given moment
  • Take breaks
  • Understand the problem well before coding the solution
  • Don’t be afraid to discard code and start over
  • Write unit tests
  • Essential tools: 
    • rubber duck – helps to understand the problem
    • paper and pencil – helps to sketch code flow
    • Git – committing often helps to revert back to a good point
  • dalijap.blogspot.com/2022/01/productivity-tips.html

IDE Visualizers

  • What is it? A debug value visualizer
  • Why use it? When a human readable form is hidden in the value.
  • How use it? Create and install plugin – see sample and docwiki.
  • Details about productivity tool or tip
  • Link to more information: https://docwiki.embarcadero.com/RADStudio/en/Visualizers

Live Templates – add your own

The Pomodoro technique

Tomato Timer – What is good about it?

  • It’s a bit of a “brain hack” which helps encourage you to really zone in on a task
  • Encourages you to take regular – but managed – breaks
  • Can be used to ‘gamify’ your work rate by trying to get a high score of completed Pomodoros (work sessions)
  • I use 40 minute work sessions, 5 minute breaks which means 2 work sessions with the breaks equals 90 minutes. I found this better for me as a developer than 20 minute sessions

Other tips that work for me

  • Wherever possible, have a regular start time, lunch time, end time especially if you work from home
  • Use a “to do” list app like Microsoft ToDo, Trello or AnyList so you off-load and declutter your short-term memory
  • Ask people to communicate by email – so you can deal with it when it’s an appropriate moment
  • NEVER have a TV, video, talk radio or audiobook playing while you work – music only
  • Walk your dogs/kids/yourself, and you will automatically solve problems with your subconscious

Typora

  • What is it? Full features Markdown editor
  • Why use it? It is the only WYSIWYG editor. It supports mermaid diagrams (https://mermaid.live/). It is fantastic for explain a concept to a customer. Notes and diagram in the same place. Using markdown you can do all the fancy stuff you can do with Git because it’s just text. Exports in PDF, HTML and other formats. If you need, you can export in odt or docx too.
  • How use it? To get notes, write documentation, write book… really anything. It’s fast, looks nice, themeable.
  • Details about productivity tool or tip: It isn’t free but is cheap
  • Link to more information: https://typora.io/

Multi Commander

  • What is it? A dual-pane file manager like Total commander but it’s free.
  • Why use it? Fast, maintained, full features, lots of plugin
  • How use it? Just open it and navigate through you folders using the configurable shortcuts
  • Details about productivity tool or tip: Supports “Explorer” like selection os[sic] other kind of selection/interaction.
  • Link to more information: http://multicommander.com/

Everything – Search files by name

  • What is it? A blazing fast engine to search over your drives
  • Why use it? It is fast, supports regex, can be installed on a file server to provide a web UI to search files
  • How use it? Just install it. It stays in the tray eating very low memory.
  • Details about productivity tool or tip: You will be addicted to it, believe me.
  • Link to more information: https://www.voidtools.com/

Agent Ransack – Search in files

AutoHotkey

  • Let’s you bind complex macros to any keyboard shortcut
  • Free, open-source scripting language for Windows that allows users to easily create small to complex scripts for all kinds of tasks such as: form fillers, auto-clicking, macros, etc.
  • Super flexible and powerful
  • www.autohotkey.com

Invoke

  • What is it? a Pythonic task runner
  • Why use it? Very fast to graps, easy to use. If you like Python you’ll love it.
  • How use it? Just create a tasks.py file in your project root and start to define your “command” as Python function decorated with the @task attribute. I’m planning to write a Delphi task runner with the same approach.
  • Details about productivity tool or tip: read the examples. DMVCFramework, LoggerPro and lot of other projects uses invoke to handle build, testing, release and other day-by-day task.
  • Link to more information: https://www.pyinvoke.org/

HTTPie

  • What is it? The curl of the 3rd millennium
  • Why use it? Testing JSON API is easier and automatable
  • How use it? Command line
  • Link to more information: https://httpie.io/

THE DELPHI PARSER’S CODE MIGRATION & ANALYSIS TOOLS

  • What is it?
    • Automatic software utility robots specializing in code refactoring & static code analysis.
    • Quickly modernize huge legacy Borland Delphi  & C++ Builder software systems to latest RAD Studio 11
    • Run a deep code dependencies analysis into huge legacy Delphi code
    • Quickly migrate old BDE code (or alike) to work with newest FireDAC
    • Migrate legacy clientserver architecture to cloud-based app with web-services
    • Migrate obsolete VCL components to newest technology
    • Convert Desktop Application using VCL to Web using UniGUI technology
  • Why use it?
    • Quickly scans, analyzes & rewrites millions of lines of code
    • No man-made bugs!
    • Reduce 90% of workload & development cost
    • Speed up production & time to market
    • Built to serve top industry enterprises, governments & defense forces
    • Fully customizable wizard with a simple editable scripting tool
    • An open framework with developer’s full Kit & wizard’s source code
    • 100% pure Delphi
    • Works like Magic!
  • How use it?
    • To watch the Delphi Parser tools in action on your own code download free evaluation tools at: www.DelphiParser.com

BeyondCompare

  • Compare & Merge
  • Files & Folders
  • Syntax Aware
  • Image Compare
  • FTP Support
  • Synchronize Folders
  • scootersoftware.com

AI Code Completion

Next Steps

Up next: whether you’re a beginner or a professional, this compiler explorer tutorial will help you remember the language features essential in C++ programming.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Director of Delphi Consulting for GDK Software USA. Many software related patents, including swipe and pattern unlock and search engines. First Silver and Gold Delphi badges on Stack Overflow Former Developer Advocate for Embarcadero Technologies. Long time fan of programming, especially with Delphi. Author, Podcaster/YouTuber, Improvisor, Public Speaker, Father, and Friend.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES