DEV Community

Discussion on: #discuss What language do you think in?

Collapse
 
sudiukil profile image
Quentin Sonrel • Edited

For years I've been thinking in C because:

  1. It's the first language I really learned, so my "programming logic" is linked to it I guess (that's also why I hated most "modern" language for a long time 😂)
  2. It's low level, so any basic algo I "think" in C can be coded with something else. Also my thoughts are not biased by any language specific simplification.

But to be honest, I've been coding mostly in Ruby for quite some time now and I start thinking in "Ruby logic" also.

It also depends on the problem I'm trying to solve. If the problem is purely OOP, I might even think in Java, since it's the first OOP language I learned (thanks, college...).