Skip to main content

New answers tagged

3 votes

Unofficial School News Website between Friends

CSS I would suggest you break the stylesheet out into a separate file. Javascript Similarly you can probably break your Javascript out into a separate file. Visual Under the counter section, the fact ...
Chris's user avatar
  • 6,126
3 votes

Web component (custom element) for a Swing-like (Java) tree with a shared style sheet

I'd say the following changes would help with the overall conciseness and should not affect performance: Remove connectedMoveCallback; This isn’t a valid lifecycle ...
Chip01's user avatar
  • 687
7 votes

ASCII-based Lightweight Browser with Clippy-Style Helper in Python (Updated)

I will try not to repeat what has already been said: Syntax Error ...
Booboo's user avatar
  • 4,101
4 votes

ASCII-based Lightweight Browser with Clippy-Style Helper in Python (Updated)

Comments This comment is cryptic: # gethtmlwithjs Comments should be used to explain the code, not make it harder to understand. It should be deleted or replaced ...
toolic's user avatar
  • 16.4k
7 votes
Accepted

ASCII-based Lightweight Browser with Clippy-Style Helper in Python (Updated)

Here's a few of the things I noticed while reading through DRY (Don't Repeat Yourself) The following repeats itself multiple times, and like toolic stated parts of it repeat as well ...
fyrepenguin's user avatar
3 votes

ASCII-based Lightweight Browser with Clippy-Style Helper in Python

Layout There are many really long lines. The black program can be used to automatically reformat the code with more reasonable line lengths. Tools You could run code development tools to ...
toolic's user avatar
  • 16.4k
2 votes

ASCII-based Lightweight Browser with Clippy-Style Helper in Python

At first glance: I see a lot of global variables. main is too long and complex. Statements like the following can just be expressions. ...
Chris's user avatar
  • 6,126

Top 50 recent answers are included