dotnet / dotnet/vblang

[Proposal] Make the Dim keyword optional

Open
#177 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

For example, as an alternative to:

`Dim a As Integer`

also recognise:

`a As Integer`

Possibly the compiler/parser could use the `As` keyword to recognise that a variable is being declared? This would help to make VB.NET more concise.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reviewing the compiler/parser handling of Dim and As declarations, then define how `a As Integer` should be recognised and what declaration cases and ambiguities must be covered before the proposal is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
visualbasic
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.