Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Must Watch] Coding Tech

Featured Replies

Coding Tech is a channel on YouTube that has tons of conferences held by veteran software and web developers who've been in the industry since the very, very early days.

One video that struck me in particular is this:

This video in particular has me thinking back to how I used to write code. I've attached to this thread what was my premium Tanner & Crafter script that I no longer maintain, and also my old Clue Scroll Aid script that died years ago. I went for a task-based system with a side order of switch/case statements, and the code really fucking stinks. The only possible salvage are some of the enumerators, data-sets, and maybe a few libraries. However, the main takeaway is that my code is definitely a cautionary tale of what not to do.

From watching this video, Dr. Subramaniam touches on things that I can definitely relate to:

  • Technical debt. I ain't got time to refactor my old messes.
  • High complexity = low cohesion. I've tried being a smart ass with how I approached solving a problem, only to then have that "solution" break sometime in the future. Had I kept it simple and not try to account for...everything, I wouldn't have nearly as much 'technical debt' to pay.
  • Code coupling. Even my dependencies have dependencies, and the minute I so much as blink...

These are just some of what I've reflected upon. One reason I bring this up because, while I'm guilty as sin, I know some of you--and you know who you are--who are also guilty as sin.

 

Another video full of tips:

tanner & crafter.zip

ClueScrollAid.zip

Edited by liverare

Yes simpler = better in 99.9% of cases

The "Task" pattern that was promoted here is stupid, and so is the whole switch state rubbish.

Would also recommend Clean Code by Robert C. Martin https://books.google.co.uk/books/about/Clean_Code.html?id=hjEFCAAAQBAJ&source=kp_book_description&redir_esc=y

And The Pragmatic Programmer https://en.wikipedia.org/wiki/The_Pragmatic_Programmer

Edited by Explv

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.