Message from @Yajat
Discord ID: 543636884128006144
not python
vb
if you can't write a good GUI in Python it's because you don't know how to implement UI
like saying you can't write a good you UI in C
@CasualSailor I've been doing C# for about 15 years that really isn't true. The problem with C# is that most programmers didn't bother actually making their code compatible with other Operating systems and ended up using crap like PInvoke and file paths. I literally had the same discussion with people about C# about 100 times now.
I would rather just make a web app, everytime. python binaries and simple package setup is annoying
yeah but c# and python are mostly used now to create bots
Once you have it set up it can be kind of convenient to put together Qt UIs.
no c sharp and python used for thousands and thousands of things
```python
rom PyQt5.Qt import QApplication, QMainWindow
from Ui_mainwindow import Ui_MainWindow
def dial(source, ui, val):
ui.plainTextEdit.setPlainText(str(val))
def clicked(ui):
ui.listWidget.addItem(str(ui.plainTextEdit.toPlainText()))
items = ui.listWidget.selectedItems()
if __name__ == '__main__':
app = QApplication([])
main = QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(main)
ui.dial.valueChanged.connect(lambda val: dial(ui.dial, ui, val))
ui.pushButton.clicked.connect(lambda: clicked(ui))
main.show()
app.exec_()
```
ew max
mac
just because you can't think outside of a bot doesn't mean the language isn't used for much much more
I used Qt-Designer thing, it's cool as fuck once you get it going
@CasualSailor I've been writing code that is cross platform in VS since 2010 but clients don't care and other devs don't care. So you give up.
yeah I know gray but it's the area in which it's most effective
mac is very eww
What do you mean incompatible? The default is for .NET to not be OS specific.
i'm using socketio atm
it's powerful for dynamic web app stuff
You make it incompatible with things like P/Invoke explicitly.
mac is just a joke at this point, SAD
I've written webapps, mathematic calculators, voice chat clients, reverse engineering tools, and many other things in Python
Y just y mac
I like my Mac.
including Network libraries
1000 on a useless computer that's gonna die in 2 years
I have a nice UI with everything from Linux underneath that I want.
@Undead Mockingbird if people use Windows specific file paths or they use libs that reference the registry, or they don't use the APIs provided by .NET. The code will compile with Mono or the new .NET core but it will fall over
rather waste 500 on a gaming computer that lasts for atleast a good while
there is no such thing as what a language is best for
that's what you use it for
I also needed it to develop Mac OS X applications.
I didn't see a good way without Mac OS.
Mac OS is built on top of Unix
eLEcTrOn
Isn't on top of solaris V or something
just learn to write posix compatible