31 Matching Annotations
- Sep 2022
-
metalblueberry.github.io metalblueberry.github.io
-
To see if you are writing good code, you can question yourself. how long it will take to fully transfer this project to another person? If the answer is uff, I don’t know… a few months… your code is like a magic scroll. most people can run it, but no body understand how it works. Strangely, I’ve seen several places where the IT department consist in dark wizards that craft scrolls to magically do things. The less people that understand your scroll, the more powerfully it is. Just like if life were a video game.
-
So make sure to write your documentation, but do not explain your spells.
-
This is so clear that you don’t even need comments to explain it.
-
Another type of comments are the ones trying to explain a spell.
-
Do not explain your spells, rewrite them.
-
- Nov 2021
-
-
Abstract the whole queryCommandState / execCommand system into a store (or some wrapper that also holds a store) that has state like isBold and canMakeBold and a makeBold() function.
-
-
stackoverflow.com stackoverflow.com
-
The consumer component will barely change from our last example. The only difference is the way we'll get a reference to our store (since now the store is exported from the JS module):
-
In order to use this, we need to use a little more advanced readable store. Here's your example updated for this:
-
// our temperature is now a store with initial value 0 const temperature = writable(0); // now we don't need to change this function, the change will be propaged // by the store itself const getTemperature = () => { return temperature; }
-
Here's how we would rewrite our callback example with a store instead:
-
- Mar 2021
-
www.chevtek.io www.chevtek.io
-
Refactor ruthlessly. Rewrite bravely.
-
-
github.com github.comd3/d31
-
(Nearly all of the code from D3 3.x has been rewritten.)
-
-
github.com github.com
-
If I can find some time, maybe I can help pitch in somehow.
-
That should work, but it's a non-trivial change.
-
Right now major changes require a deep and broad understanding of the codebase and how things get done.
-
- Feb 2021
-
guides.rubyonrails.org guides.rubyonrails.org
-
Keep in mind that third party code with references to other files also processed by the asset Pipeline (images, stylesheets, etc.), will need to be rewritten to use helpers like asset_path.
-
-
hilton.org.uk hilton.org.uk
-
If we renamed things more often, then it probably wouldn’t be so hard to name them in the first place.
-
- Dec 2020
-
github.com github.com
-
Got a bit sidetracked into refactoring the Element visitor code, so haven't actually started on the event handler stuff per se, but that'll come soon. Element stuff is starting to feel a bit more logical and easier to follow.
-
- Nov 2020
-
laniewski.me laniewski.me
-
It is important to notice that if you are planning on making your application a PWA, you don’t have to rewrite all the logic.
-
- Oct 2020
-
www.julian.com www.julian.com
-
So they rewrite it in pursuit of four objectives:ClaritySuccinctnessIntrigueLogicThe enemy of those objectives is being precious about what you’ve said and how you've said it.
-
-
-
But maybe this PR should still be merged until he finds time for that?
Tags
- pull request stalled
- waiting for maintainers to review / merge pull request / give feedback
- not a blocker (issue dependency)
- open-source software: progress seems slow
- don't let big plans/goals get in the way of integrating/releasing smaller changes/improvements
- big change/rewrite vs. continuous improvements / smaller refactorings
- iterative process
Annotators
URL
-
- Sep 2020
-
-
You are not sure which path to take between the big re-write or continuous improvements(using refactoring)
-
- Apr 2020
-
-
One thing is certain when it comes to navigation trends, users and designers seem to be fed up with completely hidden styles and demand options that work in similar formats on desktops and mobile devices. This might be one of the reasons a vertical pattern is trending.
-
- Oct 2019
-
github.com github.com
-
This is a next iteration of mobx-react coming from introducing React hooks which simplifies a lot of internal workings of this package.
Tags
Annotators
URL
-
- Aug 2019
-
www.reddit.com www.reddit.com
-
When did you last use it? Material-UI is a completely different beast to the original version, it's LEAGUES better. It's IMO one of the best written UI frameworks out there.
-
since you mentioned you had a bad experience with it last time. I had the same experience, but the new one is completely different from the original the quality is night and day.
-
- Apr 2017
-
press.etc.cmu.edu press.etc.cmu.edu
-
rewrite/update
-
With the emergence of MOOCs, game-based learning, OER, and other networked learning opportunities, researchers are ac
rewrite/update - the point is still good
-
- Sep 2015
-
en.wikipedia.org en.wikipedia.org
-
SOTL necessarily builds on many past traditions in higher education, including classroom and program assessment, K-12 action research, the reflective practice movement, peer review of teaching, traditional educational research, and faculty development efforts to enhance teaching and learning. Terms closely related to the scholarship of teaching and learning are good teaching (that which promotes student learning and desired outcomes and is recognized by student satisfaction, peer review, etc.) and scholarly teaching (in which teaching is regarded as an area of study and the teaching and learning knowledge base is regarded as an additional discipline in which to develop expertise).
Potential rewrite:
SOTL builds on many past traditions in higher education, including classroom and program assessment, K-12 action research, the reflective practice movement, peer review of teaching, traditional educational research, and faculty development efforts. While recognizing the value of "good teaching" (teaching as effective practice), it argues for the importance of "scholarly teaching" as well. In scholarly teaching, the teacher not only learns teaching as a practice, but as a scholarly discipline as well, one to which they can become a productive contributor.
-