التخطي إلى المحتوى الرئيسي

بحث

Make tags case insensitive

  • TheBeardyMan

    If any existing creations rely on case sensitivity, turning it off would break them. So this would need to be an option for the creator to choose whether tags are case sensitive, and for older creations, the default would need to be "case sensitive".

  • LadyLexUK
    Conversation starter

    I dont think MM need to change anything, as this is standard across most programming languages. If you think of Dreams as an entry level program for wannabe developers it is a good idea to encourage best practice. In most programming languages case sensitivity is an important factor when naming functions and variables as computers recognise letters by number codes and an a and an A are different numbers. It is always good practice to keep things consistent when programming. You can follow different conventions such as:
    Snakecase = variable_one , variable_two  Everything is lower case - words separated with an underscore
    PascalCase = VariableOne, VariableTwo First letter of each word is always capitalised
    Camelcase = variableOne, variableTwo First letter of every word is capitalised except the first one
    other options are  all CAPITALISED , hyphens (variable-one)

    Stick with one case type throughout and you will never have issues with case sensitivity. Your variables and naming should be consistent.
    Using numbers within variable names is not generally recommended because there could be confusion between names and values. So use variableOne and not variable1 . Better still uses names that will help you identify what it is used for such as variable_eyecolor rather than variable_one

  • JackyPrower

    My observation is more from a non-tech user perspective, especially in cases when, for example, you play both on the console (which capitalizes names by default) and remote play (which doesn') and you might miss this small difference. If you're not careful it can be difficult to track down :)

    But yeah, the both of you ultimately are right, it's both best practice AND it would destroy already created dreams, so that's it i guess X)

الرجاء تسجيل الدخول لترك تعليق.