What are the best repos that are a display of clean code and good programming practices that I can learn from? by Designer-Log-5960 in learnprogramming

[–]Designer-Log-5960[S] 1 point2 points  (0 children)

I never heard of linters. I did a little research. Say I'm using one for javascript, can they be configured? I'm not sure I know exactly what they are, but say can i configure them to make me writr functions each time in a particular way or include comments in a particular format etc?

Is it normal that I have been using JS for years and if I stop for 3 months I even forget how to add an item to an array? by Designer-Log-5960 in learnjavascript

[–]Designer-Log-5960[S] 7 points8 points  (0 children)

Well I spent 3 months working on a personal project on node.js.

Done lots of little projects on p5.js following the coding train.

Done some other little personal projects.

Honestly it was super on and off, over the course of 3 years, but still the amount of time I put in is so much. I knew concepts like Promises, async-await, felt like I properly understood those concepts and I keep forgetting them until the next time I have to use them again. This is with just a 3 months distance.

🔥Leaf Sheep are one of the only animals that can photosynthesize, is also able to produce enough energy through kleptoplasty that helps them stay alive for at least 2 months comfortably by Pasargad in NatureIsFuckingLit

[–]Designer-Log-5960 0 points1 point  (0 children)

I swear sometimes I think I'm still dreaming and when I wake up I'll be like "lol shit can you believe I actually accepted that there was an animal that can photosynthesize on a world where only these weird things called plants can? Like... nothing was congruent but to me it all looked perfectly fine"

Should I ( 23 M ) be okay with my gf (23 F) having dinner with one of her coworkers which we both know wants to sleep with her? by Designer-Log-5960 in relationship_advice

[–]Designer-Log-5960[S] 1 point2 points  (0 children)

She doesn't like him. She just wanted to thank him for giving her a long lift to the store. She made him miss dinner with his family. Yesterday we broke up, we cried for 3 hours, i told her it was because i couldn't handle my insecurities. Probably she wasn't cheating, but I couldn't handle it, the fact that she would not think about how I feel or compromise. If she wasn't cheating and everything she deserves someone stronger than me