Skip to content

Conversation

Naksh-Rathore
Copy link

@Naksh-Rathore Naksh-Rathore commented May 4, 2025

Changes in ListPrinter.java:

  • Spaced out everything a bit more
  • Added newline to the function instead of the main code
  • Made the types explicit to ensure safety and more readability (my personal preference)

@Naksh-Rathore Naksh-Rathore changed the title Make ListPriinter.java code more safe and readable Make ListPrinter.java code more safe and readable May 4, 2025
@Naksh-Rathore Naksh-Rathore changed the title Make ListPrinter.java code more safe and readable Make ListPrinter.java more safe and readable May 4, 2025
Added static to the printList function to enable the usage of way 1 (not needing an instance) but still keep the the original way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant