lwgray / think

MIT License
0 stars 1 forks source link

Add Dictionary and Indexing Support to ThinkPy #29

Closed lwgray closed 1 week ago

lwgray commented 1 week ago

Description

ThinkPy currently lacks support for dictionaries and indexing operations, limiting its ability to teach common data structure patterns. Adding these features would enhance the language's educational value and bring it closer to Python's functionality.

Benefits

  1. Educational Value

    • Students can learn key-value data structures earlier in their journey
    • Natural progression from lists to more complex data structures
    • Closer alignment with Python's core data types
  2. Problem-Solving Capabilities

    • Enables teaching of hash table concepts
    • Supports more realistic data manipulation scenarios
    • Allows for nested data structure manipulation
  3. Code Organization

    • Better representation of structured data
    • More intuitive way to handle configuration and settings
    • Support for natural key-based lookups

Technical Details

Acceptance Criteria