News for hackers. Stuff that matters.
Re:Why I Choose Delphi by tariandbari on Tuesday August 01, 2017 @02:35AM (#14898366)
I worked with both OP (ObjectPascal) and Go, and Go really catches much of the spirit of OP. BUT Delphi is an IDE that was designed specially for making out most of ObjectPacasl (and ObjectPascal has extensions to interface back with the IDE) nothing in Go Ecosystem comes close to that
Re:Why I Choose Delphi by dvfjsdhgfv on Tuesday August 01, 2017 @03:15AM (#14898493)
But if someone saw the opportunity and decided to fill in that niche, I'd be the first to spend my money on it. Make it cost $1000, it doesn't matter - a modern language plus and excellent IDE it's something really worth spending my money on.
Re:Why I Choose Delphi by TimJYoung on Tuesday August 01, 2017 @09:22AM (#14900334)
You're not going to be able to do it, at least not in the same way as Delphi. Go lacks the complete OO and component functionality that allows Delphi to provide its level of integration between the IDE and the code/components. It's not just a language that was popped into an IDE, rather the IDE and the language were created to work together as one, and it all revolves around proper class support/RTTI.

Chuck Jazdzewski, one of the original developers that helped create Delphi, did a series of blog posts that details some of the thought processes behind Delphi:

http://removingalldoubt.com/

We sell a Delphi-like IDE for web applications (Elevate Web Builder) that uses Object Pascal, and the only other language we would even attempt to implement with the IDE/compiler is C#. It's the closest in terms of features/behaviors to Object Pascal, with the main difference being multi-cast event handlers (delegates) in C#, which is really just a compiler-syntactic-sugar detail.

Re:Why I Choose Delphi by vram22 on Tuesday August 01, 2017 @01:17PM (#14903030)
Thanks for sharing Chuck's blog. Just read a few posts now and one of them:

The Biggest Bang:

http://removingalldoubt.com/programming/2015/07/17/the-bigge...

reminded me of the point that Delphi 1 was itself written in Delphi:

"It seemed that after every feature Anders showed people cheered and when Anders showed that Delphi itself was a Delphi app we received a standing ovation. I knew we had done something remarkable; something I will always be proud of."

Looks like the other posts will be interesting too.

Re:Why I Choose Delphi by dvfjsdhgfv on Tuesday August 01, 2017 @02:53PM (#14904057)
OO in Go is quite peculiar, but not impossible. I'd even say you could quite naturally code methods and properties of components, while events would have to be a part of this particular implementation. In any case, I completely agree: whoever decides to do it, they'll have to take Go's peculiarities into account and instead of making an exact copy of Delphi in Go, create a new project leveraging the specific features of Go and reflecting them in the GUI construction in an elegant way.
Re:Why I Choose Delphi by TimJYoung on Wednesday August 02, 2017 @09:53AM (#14910543)
Yeah, my comment came off a little harsh. I'm not discouraging someone from creating a Go IDE like Delphi, I'm just saying that one should be prepared to make allowances for what the language can/cannot do, given that one cannot change the language. The original Delphi team had the enviable position of being able to modify the language to suit the IDE, and vice-versa.
Re:Why I Choose Delphi by MycroftJones on Tuesday August 01, 2017 @05:39AM (#14899046)
Let's talk. I've been thinking about building something like this for my own use; I think I'm not the only one.