MATTERS
Hi! I'm Sharif
I'm currently building Kerisik, a recipe manager app that helps you store recipes, plan meals, and generate grocery lists.
Took an undergraduate degree in Computer Science and currently working for a bank.
I yap a lot in Youtube and X (formerly Twitter) and played volleyball to keep myself from sitting too long in front of the computer.
I treat every project like my own startup—committed, accountable, and always delivering with pride.
requirement
implement
design
I write code so clear that even future developers will thank me (or at least won't curse me).
1// What does this function do?
2function s(a: any) {
3 let r = 0;
4 for (let i = 0; i < a.length; i++) {
5 if (typeof a[i] === 'number') {
6 r += a[i];
7 } else {
8 console.log('Invalid item:', a[i]);
9 }
10 }
11 console.log('Sum:', r);
12 return r;
13}
14
15console.log(s([1, 2, 'three', 4, 5]));
16
1// Sum of all numbers in an array
2 function sumValidNumbers(numbers: (number | string)[]): number {
3 let total = 0;
4
5 numbers.forEach(item => {
6 if (typeof item === 'number') {
7 total += item;
8 } else {
9 console.warn(`Invalid item skipped: ${item}`);
10 }
11 });
12
13 console.log(`Total sum: ${total}`);
14 return total;
15}
16
17const sampleInput = [1, 2, 'three', 4, 5];
18console.log(sumValidNumbers(sampleInput));
I don't marry tools—I date them, learn their quirks, and pick the best one for the job.
A utility app that stores recipe, plan meals, and generate grocery list.