Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Which programming language do you dislike most?
New Posts  All Forums:Forum Nav:

Which programming language do you dislike most? - Page 43

post #421 of 447
Quote:
Originally Posted by randomizer View Post

VBA infuriates me with its terse and often misleading errors. Oh you missed a "Set"? Well the argument is not optional. Ohnoes something is wrong! Automation error!

its even worse when you have an error with a parameter of a function you called and it just will blanket an entire sub as incorrect...then you have to go line by line to figure out what is wrong....and with what i recently did for some people, you can make some pretty big and complex subs/functions, so thats a lot to go through line by line.
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
post #422 of 447
Quote:
Originally Posted by t00sl0w View Post

its even worse when you have an error with a parameter of a function you called and it just will blanket an entire sub as incorrect...then you have to go line by line to figure out what is wrong....and with what i recently did for some people, you can make some pretty big and complex subs/functions, so thats a lot to go through line by line.

I can't recall running into that error personally (but it has been quite a number of years since I've touched VB so I'll have to take your word for it), but it does also sound like your code is poorly abstracted too. I'd look into ways of breaking your code down to smaller routines; that way you can test each sub / function independently of each other and you'd also have less blocks of code you need to analyse. You should also take advantage of Visual Studio's run time inspection tools like watches and break points when debugging hidden errors like those - it will save you having to parse each line manually.
post #423 of 447
Quote:
Originally Posted by Plan9 View Post

I can't recall running into that error personally (but it has been quite a number of years since I've touched VB so I'll have to take your word for it), but it does also sound like your code is poorly abstracted too. I'd look into ways of breaking your code down to smaller routines; that way you can test each sub / function independently of each other and you'd also have less blocks of code you need to analyse. You should also take advantage of Visual Studio's run time inspection tools like watches and break points when debugging hidden errors like those - it will save you having to parse each line manually.

this was VBA, so it was in that goofy interpreter or wahtever you would consider it within MS office apps...it has watches (which i have never used TBH, never thought to really) and not much past that in the form of decent error handling or debugging. pretty much the go to is to create a lot of debug window dumps if you are having problems and sort from there.

though you are right, the code in this case was very poorly laid out..it was one of those things were every time i was finished they wanted to add a little more, which was never discussed so i didnt really have a way to properly plan future modularity or dynamic use...now i am going back and fixing it, breaking it down into smaller routines and functions so its easier to maintain for them when i give it over.
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
post #424 of 447
Quote:
Originally Posted by t00sl0w View Post

this was VBA, so it was in that goofy interpreter or wahtever you would consider it within MS office apps...it has watches (which i have never used TBH, never thought to really) and not much past that in the form of decent error handling or debugging. pretty much the go to is to create a lot of debug window dumps if you are having problems and sort from there.

though you are right, the code in this case was very poorly laid out..it was one of those things were every time i was finished they wanted to add a little more, which was never discussed so i didnt really have a way to properly plan future modularity or dynamic use...now i am going back and fixing it, breaking it down into smaller routines and functions so its easier to maintain for them when i give it over.

Yeah, I guess you were talking about VBA. The one good thing about VBA is it has an immediate pane. So if you have smaller routines then you can easily test them in the immediate pane with dummy values. (unfortunately I've spent a lot of hours writing and debugging VBA macros frown.gif)
post #425 of 447
Quote:
Originally Posted by Plan9 View Post

Yeah, I guess you were talking about VBA. The one good thing about VBA is it has an immediate pane. So if you have smaller routines then you can easily test them in the immediate pane with dummy values. (unfortunately I've spent a lot of hours writing and debugging VBA macros frown.gif)

its kinda fun though to make excel do things it was never intended to do though.
animations by timing the coloring of cells, etc.
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
post #426 of 447
The last VBA I wrote uses excel very little. There's a bit of row and sheet copying, but not much. Excel is mostly used to get a few input values, then you click a button and it spends a few seconds talking to another application's COM DLL, passing strings through about several regex replacments and building an XML string of a few hundred thousand characters.

I use class modules alot and write short-ish procedures. This seems quite uncommon based on the snippets of code I've received from non-programmers. They like 300-liners and using multidimensional arrays where you have to keep remembering what index is what when iterating over them.
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 920 D0 MSI X58 Pro-E GTX 560 Ti 448 3x2GB G.Skill DDR3-1333 9-9-9-24 
Hard DriveHard DriveOptical DriveOS
840 Pro Caviar Black LG BD-ROM Windows 8.1 Pro x64 
MonitorMonitorKeyboardPower
Dell U2713HM Dell U2311H Turbo-Trak (Google it :D) Corsair HX-520 
CaseMouseMouse PadAudio
CM690 Mionix Avior 7000 Everglide Titan AKG K 242 HD 
  hide details  
Reply
post #427 of 447

I have yet to meet another developer that has the displeasure of using WebDNA. (http://webdna.us/

 

It's syntax is horrible and the entire language documentation was written in like ten minutes. 

 

For instance, when reading the documentation for the [search] tag (used to query the built-in database system), it fails to mention that you must append "data" behind the call to the field you're querying against:

 

[search db=People.db&eqFirstNameDatarq=Grant&eqLastNamedatarq=Hulbert]
Mini Trendy
(0 items)
  
Reply
Mini Trendy
(0 items)
  
Reply
post #428 of 447
Quote:
Originally Posted by trendy View Post

I have yet to meet another developer that has the displeasure of using WebDNA. (http://webdna.us/

It's syntax is horrible and the entire language documentation was written in like ten minutes. 

For instance, when reading the documentation for the [search] tag (used to query the built-in database system), it fails to mention that you must append "data" behind the call to the field you're querying against:


[search db=People.db&eqFirstNameDatarq=Grant&eqLastNamedatarq=Hulbert]

Does that instruction summon the Down syndrome version of Cthulhu? It looks like it should.
Workstation mk II
(16 items)
 
ASUS A73S
(16 items)
 
 
CPUMotherboardGraphicsGraphics
Intel Core i7-4790K Gigabyte G1.Sniper 5 GTX 1080 8GB GB GTX 1080 8GB GB 
RAMHard DriveHard DriveCooling
G.Skill Ares 16GB 2133 dual channel kit Crucial 893 GB SSD 3x HGST 3TB SATA3 H110i v2 
OSMonitorKeyboardPower
Windows 10 Acer XB271HK FILCO Majestouch 2 EVGA Supernova 1300 80 gold 
CaseMouseMouse PadAudio
Corsair 900D Cougar 700M Mionix Sargas 400 Asus Xonar u7 
CPUMotherboardGraphicsRAM
Core i7 2670qm ASUSTeK K73SD GeForce 610M 8 GB Samsung 
Hard DriveOptical DriveCoolingOS
750 GB Hitachi HTS54somenumbers Matshita DVD-RAM UJ8B0AW Laptop cooling — snakey heatpipe, some heatsink... Windows 8 pro 
MonitorMonitorKeyboardPower
Some 17" 1600×900 glossy panel, not too shabby. LG Flatron W2343T Most keys are perfect square. A few elongated r... The AC/DC adapter makes a high-pitched sighing ... 
CaseMouseMouse PadAudio
Not slim. Nexus silent mouse Custom handmade Built in, some realtek crap. 
CPUMotherboardGraphicsRAM
Pentium® III-S 1.13 GHz Compaq ProLiant ML330 G2 ATI Rage XL/XC 2 GB Kingston 
Hard DriveHard DriveOptical DriveCooling
A couple 500GB SCSI II disks in raid 1. 120GB SCSI II disk HL-DT-ST DVD-RAM Stock. It’s noisy. 
OSPowerCaseAudio
Windows XP Pro SP 3 Some PSU I pulled out from under my bed. Compaq. Very genuine case. Some Legacy audio. 
OtherOther
Realtek RTL8169/8110 Gigabit ethernet NIC AMI MegaIDE raid controller 
  hide details  
Reply
Workstation mk II
(16 items)
 
ASUS A73S
(16 items)
 
 
CPUMotherboardGraphicsGraphics
Intel Core i7-4790K Gigabyte G1.Sniper 5 GTX 1080 8GB GB GTX 1080 8GB GB 
RAMHard DriveHard DriveCooling
G.Skill Ares 16GB 2133 dual channel kit Crucial 893 GB SSD 3x HGST 3TB SATA3 H110i v2 
OSMonitorKeyboardPower
Windows 10 Acer XB271HK FILCO Majestouch 2 EVGA Supernova 1300 80 gold 
CaseMouseMouse PadAudio
Corsair 900D Cougar 700M Mionix Sargas 400 Asus Xonar u7 
CPUMotherboardGraphicsRAM
Core i7 2670qm ASUSTeK K73SD GeForce 610M 8 GB Samsung 
Hard DriveOptical DriveCoolingOS
750 GB Hitachi HTS54somenumbers Matshita DVD-RAM UJ8B0AW Laptop cooling — snakey heatpipe, some heatsink... Windows 8 pro 
MonitorMonitorKeyboardPower
Some 17" 1600×900 glossy panel, not too shabby. LG Flatron W2343T Most keys are perfect square. A few elongated r... The AC/DC adapter makes a high-pitched sighing ... 
CaseMouseMouse PadAudio
Not slim. Nexus silent mouse Custom handmade Built in, some realtek crap. 
CPUMotherboardGraphicsRAM
Pentium® III-S 1.13 GHz Compaq ProLiant ML330 G2 ATI Rage XL/XC 2 GB Kingston 
Hard DriveHard DriveOptical DriveCooling
A couple 500GB SCSI II disks in raid 1. 120GB SCSI II disk HL-DT-ST DVD-RAM Stock. It’s noisy. 
OSPowerCaseAudio
Windows XP Pro SP 3 Some PSU I pulled out from under my bed. Compaq. Very genuine case. Some Legacy audio. 
OtherOther
Realtek RTL8169/8110 Gigabit ethernet NIC AMI MegaIDE raid controller 
  hide details  
Reply
post #429 of 447
Quote:
Originally Posted by randomizer View Post

The last VBA I wrote uses excel very little. There's a bit of row and sheet copying, but not much. Excel is mostly used to get a few input values, then you click a button and it spends a few seconds talking to another application's COM DLL, passing strings through about several regex replacments and building an XML string of a few hundred thousand characters.

I use class modules alot and write short-ish procedures. This seems quite uncommon based on the snippets of code I've received from non-programmers. They like 300-liners and using multidimensional arrays where you have to keep remembering what index is what when iterating over them.

not enough people realize you can make calls to pretty much any COM in windows.
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
new life
(17 items)
 
Ripley
(6 items)
 
 
CPUMotherboardGraphicsRAM
3820 @ 4.3giggles sabertooth x79 EVGA gtx 970 @ working on OC mushkin redline 16gb @ 1866 c9  
Hard DriveHard DriveHard DriveHard Drive
crucial m4 128gb WD blue 1tb hitachi deskstar 500gb WD Black 2tb 
Hard DriveOptical DriveCoolingOS
Hitachi Desktar NAS 6tb LG Bluray royale with cheese seidon 240m win 10 x64 
MonitorKeyboardPowerCase
acer G245HDL x2 logitech g710+ corsair 650w switch 810 white 
Mouse
rat 7 
CPUGraphicsRAMHard Drive
i5-4200u HD 4400 8gb @ 1600mhz Crucial MX300 275gb 
OSMonitor
Manjaro 15.6" 1080p 
  hide details  
Reply
post #430 of 447
As much as I sympathise with the hatred of LISP, and other horrendous programming languages ("oh they're totally AWESOME for AI" - ugh). I have to say that non-PC target programming languages have always won the war of evil for me - my two picks are 984 Ladder Logic, nothing like a programming language devised for electricians, especially when a concerning percentage of industrial infrastructure still runs on the junk. And, of course, assembler - with 68HC11 assembler being my own personal annoyance favourite - and that junk still runs the signs for buses over here...
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Which programming language do you dislike most?