13 ms·
I really don't want to sound cynical about this great initiative(!) but it saddens me that among many open modern languages and tools, they instead opted for De
by h4l0 7y ago
I really don't want to sound cynical about this great initiative(!) but it saddens me that among many open modern languages and tools, they instead opted for Delphi.
I cannot think of a single positive reason behind this decision in 2020. All I can think of is that the people that came to this conclusion are the ones who graduated from Computer Science related studies in ~1998-2004~ and immediately got themselves in politics. I lost count of how many times have I heard that if you pay for it, it's just better...
Finally, I admit that I'm definitely highly biassed when it comes to Turkish Politics.
- Dolores12 7y agoAll modern tools are really complicated compared to Delphi. I remember Delphi was so intuitive to design GUI and program its events so i could start making my own programs right after professor showed me how to make a button and handle onClick event.
- p2detar 7y agoWell, in all fairness, the same can be said about Visual Basic and all the <inser name here> .NET languages. And I'm not even a Windows programmer.
- barrkel 7y agoDelphi does however cross the stack better than VB - with inline assembler being available, and a pretty decent debugger with integrated disassembler.
- badsectoracula 7y agoLazarus is pretty much a free and open source Delphi (yes there are differences but they do not matter much) and really not any different in terms of difficulty compared to it. https://www.lazarus-ide.org/ https://www.lazarus-ide.org/ You can see it in action under Linux here where i make a simple puzzle game: https://youtu.be/s_01Xhd2EJM?t=692 https://youtu.be/s_01Xhd2EJM?t=692 (if the time stamp doesn't work, skip to 11:32, the previous ~11 minutes are me downloading, compiling it and configuring it - not 100% necessary on Linux and on Windows i never do that as the installer is a classic wizard-based one, but as i write on the video, i prefer to compile it when using it on Linux - also note that on Windows you do not need to install FPC as it comes bundled with Lazarus, it is really just running the installer, double clicking the desktop icon and you're ready)
- codebolt 7y agoDesktop development with current generation of Visual Studio is leaps and bounds better than Delphi ever was.
- blub 7y agoThe only reasonable alternative is Qt, but C++ is more complicated than Pascal. Assuming they would want to try their hand at making money out of what they learn, they could target the kind of companies which were served by VB6 or FoxPro in the past :) Anything web-based is ridiculously complicated and has worse performance.
- Wiretrip 7y agoActually a very good alternative would be Java and JavaFX, maybe using Eclipse as the IDE.
- billfruit 7y agoI would suggest IntelliJ than Eclipse presently.
- Wiretrip 7y agoAgreed. I discounted that becuase of the cost but I guess there's the community edition!
- FpUser 7y agoI used either. Not really good alternative IMO
- thu2111 7y agoWell why not? I've used Delphi for years and also Java/JavaFX/Swing. There's not much reason to use Delphi anymore when Java IDEs can do the same things, and much more, and with docs that are just as good or better, all for free.
- FpUser 7y agoIn Delphi I do desktop applications that perform real time low level device control, talk over USB and some specialized radio gizmos, DirectX graphics and multimedia processing, real time data presentation, bulk data processing, game like communications over UDP etc. etc. All at the same time from a different threads. Good luck doing it in Java. I did try doing low level stuff with it per client request and it felt like masochism. Java was created with the different things in mind.
- Wiretrip 7y agoPositive reasons: 1) It runs out of the box without and Internet ocnnection. 2) The IDE is extremely good. 3) It teaches OOP and memory management (something often forgotten by today's programmers). 4) It is capable of giving very low level access to the host machine (like C). 5) You can even use (and teach) tricky things like pointers.
- jstimpfle 7y agoTBH, I found the low-level pointer stuff to be inaccessible. There is so much magic going on behind the scenes, and on the other hand it's hard to do pointer value arithmetic as well as pointer type arithmetic (you need to create aliases to no end). C is much more convenient for dealing with pointers, and it makes it much more obvious what happens from reading the code. In Delphi culture, people say PChar instead of char* , and make tons of PFoo and PPFoo. And I think the reason is that some syntactical restrictions made Pascal easier to implement back in its time (last I checked there were still significant restrictions in Delphi)
- badsectoracula 7y agoLast time i checked recent versions of Delphi have DRM that need internet connection. I even remember someone from the official newsgroups saying that he had to install a crack so that they can use it on foot in their laptop when they had no internet connection.
- FpUser 7y agoDefine modern please. There is not a single thing about ObjectPascal language that relegates it as non-modern. Lack of new jobs - sure but that is a bit different subject.
- Nullabillity 7y agoThe licensing model is straight out of the 80s.
- FpUser 7y agoHow so? You mean that you can actually buy it and have permanent license instead of money being sucked from your account every month? Or get Lazarus for free and forget about pauing at all.
- Nullabillity 7y agoI'm not aware of Rustc leeching anything from my bank account. Or Scalac. > Or get Lazarus for free and forget about pauing at all. I wouldn't mind if the article was titled "Turkey preinstalls Lazarus on school computers".
- skocznymroczny 7y agoWell. If they went for a free, open solution, someone would say they went for the "cheap" option. Buying a million of commercial licenses sounds like a big investment, it sounds like someone cares.
- mrweasel 7y agoOne reason I could see, based on teaching teenagers programming. They want to build GUI applications and Delphi allows that very easily. Sure C# and Visual Studio makes more sense and they could get everything for free, but maybe Turkey doesn't like/trust Microsoft.
- mbreese 7y agoWhen I was in undergrad taking Data Structures and Algorithms, the course was in C (or C++, I don't remember). But by that time I had already started programming GUIs in Windows (MFC days). It was actually really nice to wire up the base classes and operations for a data structure (push/pop/etc...) and then be able to see the operations working with a GUI. At the time, it was really cool to be able to click a "pop" button and see the head of a queue get removed. It was even better to visually see various sort algorithms in motion. So, really, I could see the appeal for that kind of teaching... but I still don't understand using Delphi/Pascal. (Our first CS class was actually taught with Pascal and that was painful)
- vintagedave 7y agoI agree the impact of writing code and seeing something onscreen is very important. > I had already started programming GUIs in Windows (MFC days) MFC and Delphi's UI model are completely incomparable. One is statically built, often in code, inflexible, hard to iterate, hard to use custom controls... and one is modern OO, buildable visually (streamed to text, so editable in text), incredibly flexible, very fast to modify, and with thousands of custom controls. And these days it builds for macOS, mobile (iOS and Android), and Linux too. So it's a decent choice.
- signal11 7y agoIs it that Pascal is simply popular as a teaching language in Turkey? A bit of googling shows lots of universities offering programming courses in Pascal, e.g. [1]. It is a good pedagogical language after all. [1] https://www.metu.edu.tr/tr/system/files/2015-2017_general_catalog_final.pdf https://www.metu.edu.tr/tr/system/files/2015-2017_general_ca...
- downrightmike 7y agoCould just be most of Turkey's software i sin Delphi, or they plan on it being delphi. How much of other nations are similar with cobol etc? Except that no one is teaching it.