DreamBerd icon indicating copy to clipboard operation
DreamBerd copied to clipboard

[Request] Enforce const boldness

Open mybearworld opened this issue 1 year ago • 2 comments

Related: #456

const is a powerful statement. The user should be aware of this. Therefore, I propose requiring the following code:

const const const PI = 3.14!

To be written like so:

const const const PI = 3.14!

mybearworld avatar Oct 26 '23 11:10 mybearworld

Ok on a wider point... supporting rich text on the whole would be great

TodePond avatar Oct 26 '23 12:10 TodePond

I was thinking we could also add a sudo keyword for things like this. Trying to do this:

const const const PI = 3.14!

would just return a permission denied error - you would be required to do the following:

sudo const const const PI = 3.14!

This will prompt for your administrator password before preceding, to make sure the user really knows what they're doing

cute-catgirl avatar Nov 30 '23 01:11 cute-catgirl