DEV Community


Discussion on: How to write accessible code?

craigmc08 profile image
Craig McIlwrath

That first rule is so important. Trying to read a part of a long function (a problem in itself) but ALL of the variables are declared at the beginning of the function. Then you have to read a line, scroll up to figure out the variables, then scroll back down and find your place.