Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7444001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:25:22+00:00 2026-05-29T11:25:22+00:00

When it comes to programming, I don’t hold strong opinions about feature x vs

  • 0

When it comes to programming, I don’t hold strong opinions about feature x vs feature y. I think all have their appropriate uses.

And I’m always reading everything I can about as many programming languages I can get my hands on so that I can pull the best ideas out and compare them all (from Haskell to Lisp to C to Erlang).

But there is something that’s been bothering me a little bit, and basically it’s that when I’ve read about comparisons between static and dynamic typing, one downside for dynamic typing is that “bugs” come in because the compiler isn’t able to check the type of the variable.

Now, I have plenty of bugs when I program, but I have never had a bug due to something like this, and I’m actually having a hard time visualizing what an example of such a bug would be. Like maybe forgetting you used an integer instead of a string somewhere? This seems so contrived though…

I program for a hobby, not a living, so perhaps these types of bugs only come in when people with different ways of thinking about things get together. I’m really just looking for some real-world examples.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:25:23+00:00Added an answer on May 29, 2026 at 11:25 am

    An example would be when you change a variable from one type to another:

    setType(String type)
    

    Then later you decide to change the type to a more efficient enum:

    setType(SomeEnum type)
    

    When you do that in a strongly typed language, you will get errors wherever setType is called. That allows you to fix them quickly and to make sure you didn’t miss any. In a dynamic typed language, you won’t get such errors and will have to look for these instances by yourself.

    Strongly typed languages are also generally faster since they can store data in more efficient structures (since the type is known at compile-type). An example are C arrays versus PHP arrays. C arrays are compact but PHP arrays have a rather big overhead to manage the dynamic data they contain.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a beginner when it comes to programming, and I have the nasty habit
One thing that constantly causing me headache in programming is when I don't have
I'm a complete beginner when it comes to programming. I'm taking a stab at
I'm pretty green still when it comes to web programming, I've spent most of
let's say that you in your new programming work your boss comes and says
While going through many resources on multithreaded programming, reference to volatile specifier usually comes
Am new to programming and ASP.net MVC 3 so don't be surprised by my
Background I'm not new to programming, however I am when it comes to handling
I am a computer sciences student and I usually have really tough programming assignments.
I'm reading about visual programming languages these days. So I've thought up two paradigms.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.