Authorerrietta

base36!

Are you making any piece of software that receives an ID from user input and returns a {post, image, whatever}? May I suggest: base 36? Just look at this: http://example.invalid/?a=1000000 http://example.invalid/?a=lfls What looks better? Thought so. You can convert between bases easily in any language, so you have no excuse continue reading…

Some JavaScript OOP – Student search Engine.

I was experimenting with object oriented programming in JavaScript yesterday. Imagine the following scenario: you have a list of students. You want to keep their name, age, school year, average mark and part-time employment (if applicable) information. Additionally, you want to be able to search and sort them by their information. The best continue reading…