reactive-python / reactpy-django

It's React, but in Python. Now with Django integration.
https://reactive-python.github.io/reactpy-django/
MIT License
329 stars 18 forks source link

Fix grammar in readme #139

Closed Archmonger closed 1 year ago

Archmonger commented 1 year ago

Description

Change similarly to similar to be gramatically correct.

Checklist:

Please update this checklist as you complete each item:

rmorshea commented 1 year ago

According to ChatGPT "similarly" is the correct word to use:

Prompt: In the sentence “ReactPy is a library for building user interfaces in Python without Javascript. ReactPy interfaces are made from components which look and behave similarly to those found in ReactJS.” is it more grammatically correct to use “similar” or “similarly”?

Response: In the given sentence, "similarly" is the correct word to use as it is an adverb that modifies the verb "behave," indicating how the components behave. Using "similar" would be grammatically incorrect because it is an adjective that describes a noun, not a verb. Therefore, "similarly" is the correct choice to convey the intended meaning of the sentence.

Archmonger commented 1 year ago

Hmmm... I'll double check some grammar rules.

To show a different scenario with the same words, similarly feels weird:

The dog looks similar to my cat The dog looks similarly to my cat

... and then with behaves:

The dog behaves similar to my cat The dog behaves similarly to my cat

Archmonger commented 1 year ago

Looks like grammarly thinks both of them are correct.

It did catch a different grammar issue which look -> that look

Archmonger commented 1 year ago

I used ChatGPT to help brainstorm ways we can wordsmith this better. I took a couple sentences from 3 different ChatGPT prompts and this is what I got:

Looking to build web interfaces in Python without the hassle of JavaScript? ReactPy is designed to give you the look and feel of ReactJS without the JavaScript clutter. Whether you're a seasoned web developer or just starting out, ReactPy is easy to use and can grow with your ambitions. Check out the example below to see how ReactPy can simplify your Python web development workflow.

Archmonger commented 1 year ago

@rmorshea Do we want to consider the ChatGPT version above?

Archmonger commented 1 year ago

Merging this PR, we can talk about the ChatGPT readme separately.