Home » Community » Coffee corner » Frustration when not using U++
Frustration when not using U++ [message #37818] |
Wed, 14 November 2012 23:43  |
lectus
Messages: 329 Registered: September 2006 Location: Brazil
|
Senior Member |
|
|
I don't know if this happens to anyone else.
But when I'm forced to use other technologies I get frustrated with their bad design. Sometimes I wish it was U++.
Even WELL DESIGNED libraries are bad compared to U++;
See for example this:
Qt:
QString name = ui->lineEdit->text();
QString phone = ui->lineEdit_2->text();
int c = ui->tableWidget->rowCount();
ui->tableWidget->insertRow(c);
ui->tableWidget->setItem(c, 0, new QTableWidgetItem(name));
ui->tableWidget->setItem(c, 1, new QTableWidgetItem(phone));
compared to this
U++
array.Add(~edit1, ~edit2);
There must be a shorter way for the Qt version. But the shorter way of U++ was immediately clear for me without digging up docs.
Sometimes I wonder why the industry is so focused on C#. U++ makes C++ enjoyable.
|
|
|
|
Re: Frustration when not using U++ [message #37822 is a reply to message #37820] |
Thu, 15 November 2012 11:22   |
cbpporter
Messages: 1427 Registered: September 2007
|
Ultimate Contributor |
|
|
Try the thing I am using: you can't change the status of a toggle button without triggering the event, so if you want to create a toggle button that changes the toggled state of other toggle buttons...
Plus crashes if you touch widgets before the GUI is "initialized".
[Updated on: Thu, 15 November 2012 11:22] Report message to a moderator
|
|
|
Re: Frustration when not using U++ [message #38021 is a reply to message #37818] |
Wed, 28 November 2012 15:57  |
lectus
Messages: 329 Registered: September 2006 Location: Brazil
|
Senior Member |
|
|
I'm learning C# and Java for university.
I can't get my mind around how much code it's needed to make a simple database connection in those languages.
I really miss U++ when I can't use it.
|
|
|
Goto Forum:
Current Time: Mon Apr 28 20:38:22 CEST 2025
Total time taken to generate the page: 0.00646 seconds
|