DEV Community

Dylan Anthony
Dylan Anthony

Posted on

Cross Pollination: What have you learned from one language and applied to another?

Top comments (3)

Collapse
 
dbanty profile image
Dylan Anthony •

For me, Rust made me think about using types for more correct code. In Python, I’ve started making classes for semantic values instead of using strings. Combined with a good IDE or a static checker like mypy ive caught several bugs that would have gone untouched.

Collapse
 
rhymes profile image
rhymes • • Edited

From Object Pascal/Delphi I learned the value of OOP.
From Java I learned to dislike verbosity.
From Python I learned the true meaning of general purposeness and to use a multi paradigm language (funnily enough the more I use Python the less my code is object oriented).
From Ruby I learned to dislike magic but to appreciate it when it works.
From Erlang I learned to dream of infinitely scalable architectures that are resilient and fault tolerant and the value of a language that has concurrency built in from day one instead of being patched on like most general purpose languages.
From Go I learned how quite a "simple" language design can take over like wildfire. Simple ideas, albeit imperfect, can work.
From JavaScript I don't know if I learned anything :D. Maybe that people underestimate the complexity of async programming? The community around it is definitely more interesting than the language itself in my opinion.

As of today the languages I use most are still Python and Ruby and I've definitely carried on with me things I learned in other languages.

Collapse
 
wretcheddade profile image
Dade Cook •

For me, it was being able to take everything I learned about C# and apply when making a node.js backend with typescript. But to be specific, generics and what an anonymous function is!