Software engineering and personal development

Tag: algorithm

A very efficient way to do string concatenations in Ruby

Img source: medium.com

It is very difficult to think about an application that does not have any string data type. Names, emails, object attributes, etc. are very common. Knowing their wide usages, it is obvious that we should at least learn the best practices about them. I recently learned about the difference between the efficiency of two similar string functions, which was a bit surprising and that made me write this article. Although both methods do the concatenation of strings, there is a big difference in their performance.

Continue reading

Learn Programming Like Einstein Learned Physics

 

Image src: emaze.com

As I wrote in a previous post, one other article that I had the pleasure to write has been published in SimpleProgrammer.com. It is about emulating the patterns of the Nobel Prize winner physicist, Albert Einstein in software development. I invested more than eleven hours in it, taking into account the research, article outline, writing, and reformulating the points that I wanted to mention. It may seem so much time, but I enjoyed writing it, and I am grateful that so many people have found it helpful. Continue reading

© 2024 Fatos Morina

Theme by Anders NorenUp ↑