Identifier Type Characters... Thanks.
Interesting feature. I think I prefer the full declaration, it's clearer on those late night code review sessions.
Identifier Type Characters... Thanks.
Interesting feature. I think I prefer the full declaration, it's clearer on those late night code review sessions.
I agree. Short cuts and lack of any comments may seem "quick" when starting, but full declarations and some comments about some "slick" move are very helpful and time saving under many debugging situations.
Identifier Type Characters... Thanks.
Interesting feature. I think I prefer the full declaration, it's clearer on those late night code review sessions.
IIUC, the type original identifiers '%' and '!' (not sure of '#') were a feature of the original Basic interpreter handling of numerics created for the Altair in 1970's by Monte Davidoff. I don't know this for a fact but suspect that this was a shorthand to separate processing for integers and a floating-point arithmetic.
I'm sure the origin is back in the days of DOS or pre-DOS. And it could very well be the Altair --- seems to be some concept/implementation that has been carried forward.