Skip to content

3.2: Having active code to show type casting #188

Open

Description

@habibasorour

Is your feature request related to a problem? Please describe.
I would like to see type casting shown before and after the type casting, and the error that would appear if tried to do implicit when explicit is needed

Describe the solution you'd like
i think in this section, if it was active code and it showed the data type using text.getClass().getSimpleName() just to show that it changed

Additional context

Image

Activity

  1. habibasorour commented on Jul 23, 2026

    @habibasorour
    ContributorAuthor

    An example of this is showing the difference between dynamic and static language.

    I was under the impression that I could change the data type in Python, which was not the case, and that type casting only changes this specific use of the variable, not the variable itself.

    This could be great as comparison between java and python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions