Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pascal does, at least in all the more common dialects.

VBA (and VB in general) overloads "+" for strings in addition to providing "&", the difference being mostly in what gets converted to what in various situations: https://docs.microsoft.com/en-us/office/vba/language/referen...



Is there any reason anyone in their right mind would use + that way in VBA?


I've seen plenty of code in VBA and VB6 that does so. I think it stems mostly from & being a late addition to BASIC (earlier BASICs only had +).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: