News for hackers. Stuff that matters.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by stephenr on Wednesday July 04, 2018 @01:13PM (#17458325)
You could take “C#” out of that sentence and still be accurate.

Wordpress is not and I imagine never will be anywhere close to “modern design patterns”.

It’s not even close to old design patterns, unless Heinz has a namesake software design pattern.

Wordpress uses practices that were considered a bad idea a decade or more ago, and still refuses to change.

Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by jeremiep on Wednesday July 04, 2018 @02:28PM (#17458734)
You can also take "modern design patterns" out of that sentence and still be accurate. Its usually just a form of cargo-cult-programming that hasn't been found out to be terrible yet.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by Theodores on Wednesday July 04, 2018 @02:31PM (#17458751)
For clients and writing actual content nothing beats Wordpress. The editor is great and a lot of people have used it before so, from a developer point of view, I believe that with Wordpress you should give people what they want. The alternative of demanding they use some 'better' CMS means that the content never gets written or updated.

However, not to disrespect the work that has gone into Wordpress, how hard can it be to write something better for the frontend and get marketplace adoption?

I do not like the frontend 'coding standards' and mess of plugins. Starting straight from the raw wp_ mySQL tables is a less insurmountable task than hacking some theme and bloating it out with 'jQuery' plugins that should never have been plugins. It seems that it is the ecosystem of design agencies with their lorem-ipsum big-up-front-designs and allegedly 'agile' workflows that have made Wordpress into something I do not like working with. Particularly when the add-ins make the backend far removed from sensible, making it a nightmare CMS for clients.

Hasn't anyone written a decent frontend for it that is not a tacky theme with ten thousand lines of CSS of which 97% is not used and a megabyte of scripts to get the carousel and share links working?

Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by abritinthebay on Wednesday July 04, 2018 @04:02PM (#17459167)
> how hard can it be

Hard.

Very hard. Especially because you first have to pick something as well installed and supported on hosts as PHP to even get traction. Good luck there.

Then you need to be at least as good in most or all features on launch to get any mindshare. Hope you have a few years to work on this side project before you release...

There have been plenty of attempts and of them all Ghost is about the only one to be taken seriously it seems and it’s niche at best (and not yet at the same level of features or ease of use & configuration).

So yeah, the answer is hard. Harder than you think.

Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by OtterCoder on Wednesday July 04, 2018 @06:26PM (#17459750)
Just considering the wp text editing box in isolation, it's a hideous masterpiece of a thing, that, alone, would take forever to rebuild.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by firefoxd on Wednesday July 04, 2018 @01:28PM (#17458406)
"refuse to change"? It's not easy to change something used by more than 50% of the internet.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by radium3d on Wednesday July 04, 2018 @01:20PM (#17458360)
Do you have any examples of the bad practices you are referring to?
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by iamjaredwalters on Wednesday July 04, 2018 @08:50PM (#17460233)
Examples include: use of globals, inefficient queries, mixed templating, lack of namespacing, doesn't follow PSR standards.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by stephenr on Wednesday July 04, 2018 @08:26PM (#17460143)
They actively refuse to use parameterised sql queries, opting for their own home baked userland implementation instead.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by sebazzz on Wednesday July 04, 2018 @01:25PM (#17458387)
Probably the use of globals etc. This might also be a backwards compatibility thing though.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by akerro on Wednesday July 04, 2018 @02:06PM (#17458635)
Developing anything for wordpress is a nightmare, it's not only PHP-nightmare, but also plenty of bad practices, poor API, wired workarounds...
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by thrownaway954 on Wednesday July 04, 2018 @03:41PM (#17459074)
Then perhaps, in true open source fashion, you can put your time where your opinions are and either start another project or help the wordpress team to correct what you think is bad.
Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by mort96 on Wednesday July 04, 2018 @05:46PM (#17459600)
There are already lots of CMSes out there.

Changing WP to use more modern design patterns (whatever that would entail) probably means breaking all themes and plugins, which isn't acceptable (and even if that wasn't an issue, I doubt the WP maintainers would just accept a PR that completely rewrites everything). This isn't really a thing random contributors can help with.

Re:The Whole of WordPress Compiled to .NET Core and a NuGet ... by stephenr on Wednesday July 04, 2018 @08:29PM (#17460152)
In the sense that (IMO) most people don’t need Wordpress, I am, I am (slowly) working on (yes another) static site generator.

But, in response to your general theory: I can criticise a car as being fucking terrible without someone suggesting I “go build my own then”.