DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Migrate, Modernize and Build Java Web Apps on Azure: This live workshop will cover methods to enhance Java application development workflow.

Modern Digital Website Security: Prepare to face any form of malicious web activity and enable your sites to optimally serve your customers.

Kubernetes in the Enterprise: The latest expert insights on scaling, serverless, Kubernetes-powered AI, cluster security, FinOps, and more.

E-Commerce Development Essentials: Considering starting or working on an e-commerce business? Learn how to create a backend that scales.

Related

  • OpenTelemetry Python: All You Need to Know About Tracing
  • Java 21 Record and Pattern Matching: Master Data-Oriented Programming[Video]
  • Reversing an Array: An Exploration of Array Manipulation
  • Best Python Libraries for Web Scraping

Trending

  • Unlocking Clean Code: 20 Architectural Tips for Every Developer
  • Navigating the API Seas: A Product Manager's Guide to Authentication
  • Understanding Zero Trust Security Building a Safer Digital World
  • Deployment of Spring MVC App on a Local Tomcat Server
  1. DZone
  2. Coding
  3. Languages
  4. The Most Pressed Keys in Various Programming Languages

The Most Pressed Keys in Various Programming Languages

Mahdi Yusuf user avatar by
Mahdi Yusuf
·
Jul. 12, 12 · Interview
Like (0)
Save
Tweet
Share
37.6K Views

Join the DZone community and get the full member experience.

Join For Free

i switch between programming languages quite a bit; i often wondered what happens when having to deal with the different syntaxes, does the syntax allow you to be more expressive or faster at coding in one language or another. i don't really know about that; but what i do know what keys are pressed when writing with different programming languages.

this might be something interesting for people who are deciding to select a programming language might look into, here is a post on the answer to the aged question of: which programming language should i learn?

as far as i can tell languages with a wider focused spread across the keyboard are usually syntaxes we usually associate with ugly languages (ugly to read and code). ex. shell and perl.

you might argue that the variables names being used will alter the results, but as most languages programming have conventions for naming but we can assume a decent spread for variable names. i don’t offer conclusions, just poorly layout the facts. although the heat map does miss out on things like shift and caps. ex. in perl with the dollar sign. ($)

whitespace hasn’t been taken into consideration (tabs and spaces) which would have been a cool thing to see.

the data that was used to gather this information was spread amongst various popular github projects.

javascript

shell

java

c

c++

ruby

python

php

perl

objc

lisp

lisp code here was written by paul graham.

references

  1. heatmap.js http://www.patrick-wied.at/projects/heatmap-keyboard/
Heat map Perl (programming language) shell HEAT (software) Python (language) Data (computing) GitHub

Published at DZone with permission of Mahdi Yusuf, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • OpenTelemetry Python: All You Need to Know About Tracing
  • Java 21 Record and Pattern Matching: Master Data-Oriented Programming[Video]
  • Reversing an Array: An Exploration of Array Manipulation
  • Best Python Libraries for Web Scraping

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: