-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Labels
wgslWebGPU Shading Language IssuesWebGPU Shading Language Issues
Milestone
Description
Talking with @Kangz today I learnt that WGSL is using var and const for declaring variables and I thought the JavaScript ecosystem would find it confusing.
let and const were introduced in JavaScript in 2015 and at this point most of the browsers support them. Over the last few years JavaScript developers have been moving their code from var everywhere to let and const to the point that when they see a var they think the code is old and/or unmaintained.
Would it be a good idea to align with JavaScript and use let and const too?
pieper, AlexVestin, jespertheend, morzel85, Keavon and 3 more
Metadata
Metadata
Assignees
Labels
wgslWebGPU Shading Language IssuesWebGPU Shading Language Issues