3 ms·
Perhaps some of the bashing is to relieve frustration from work where we maintain a code base in a language we don't like. In my case.. that is VB 6. And I can
by cordite 12y ago
Perhaps some of the bashing is to relieve frustration from work where we maintain a code base in a language we don't like.
In my case.. that is VB 6. And I can say plenty of things about it.
- aligajani 12y agoWhat's bad about VB 6? Just curious.
- cordite 12y agoVerbosity is a real nuisance. Exceptions have odd flows, you have to use `On Error GoTo SomeHandlerInFunction`. For runtime efficiency you have to work against the system to make sure things are typed and not automatically casted to `Variant` and back every operation. Events do not fire in the right order, rendering some of them useless (Context: You are in a text field, you do Alt+E to press a button with 'e' underlined on the form. Click on the command button is fired before validation of the text field). The official IDE from way back when is buggy as heck, often gets into not-sane states between debugging.
- cordite 12y agoFor example.. `Dim x, y as Long` results in only `y` being long. Internal functions like `InputBox` or string functions like `Left`,` Right`, `Trim`, `Mid`, and so on return variant not string. So you have to do a little extra there.