DEV Community

Wahid
Wahid

Posted on • Updated on

My mistake was when I entered "hello world"

Knowing various programming languages is a plus for us as software developers. However, I find it more valuable to master one language thoroughly rather than knowing several languages. What I realize now is that all programming languages are more or less the same. The only difference lies in their syntax, while their logic, structure, and rules are almost identical.

async function checkLanguageLearning(isLearningLanguage) {
    if (isLearningLanguage) {
        return "Great, focus until proficient.";
    } else {
        return "No problem, find an easy-to-learn language soon.";
    }
}

async function main() {
    try {
        let isLearningLanguage = true; 
        let response = await checkLanguageLearning(isLearningLanguage);
        console.log(response); 
        isLearningLanguage = false; 
        response = await checkLanguageLearning(isLearningLanguage);
        console.log(response);
    } catch (error) {
        console.error("Error:", error);
    }
}

main();
Enter fullscreen mode Exit fullscreen mode

In conclusion, I advise newcomers to the field of Software Engineering to focus on mastering one language first. Once proficient in one language, it becomes much easier to learn others.

Top comments (0)