Details
-
About/* No Comment */
-
SkillsJavascript, React, Regex
-
LocationCroatia
Joined devRant on 5/27/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@cafecortado thanks. Weird that they don't have that option on the website.
-
@Nanos but it would tire me as well and then I would be the one who would sleep :))
-
@Voxera damn, nice one, that's what I should've said :) It's hard to think like a woman
-
My first PC wasn't strong enough to play games so I tried to write some code and I liked it
-
I started walking every day for 45-60 minutes after work and I'm feeling much better and more motivated to do extra work. I also sleep better because of walking and therefore get more energy the next day.
-
"kr" is very unprofessional in my opinion. Another level of laziness.
-
I have been searching for the best learning method for a few years and here's what works best for me (might not work for everyone):
1) Learn the concept first
2) Try it out (try to write a simple example) so you are sure you understand it
3) Write the concept down in some notebook (notion, evernote..) as if you were trying to teach someone else who doesn't know anyting about it. Like a tutorial.
4) Try to recall it next day (without peeking into notes)
5) Validate with the notebook if you were able to recall everything
6) Repeat steps 4 and 5 next day, then after 2 days then after 4 days (spaced repetition technique).
It may look tedious and slow, but I found out that in a long run I learn more that way, I don't forget it and it's not shallow learning. -
@alcatraz627 I'll quote this:
"It seems like the original coder is the kind of person who is barely interested in proper coding guidelines..."
Isn't it ironic that they are in charge of the code quality for the company I work for? :D Fortunately, we can tell them they are wrong when they are... And they are wrong very often. Ah, politics...
But yeah, they probably stuck in some weird mix of styling techniques... -
@alcatraz627 Could you please help me understand that approach?
For example, they do have something like this:
<Typography component="span" className={styles.someClass}>Something</Typography>
And when I check the styles object and someClass property it's just a string "text-black-lighter text-5xl py-30 md:text-8xl leading-none uppercase"
So why this approach if you consider the code I screenshoted? They could write a simple span tag with className -
@Fast-Nop The sad thing is that these guys who wrote this code are in charge of checking the code quality for the company I work for...
-
@Sumafu React makes a lot of things easier. Of course it does not make sense to use it when building a simple static website, but it has its purpose.
-
And the component....
-
That's nothing. The company we outsourced made a website in NextJs, performance 0.
10mb of json data (basically data for the whole website) in the homepage source code -
If it's the first time in the project then userId, but if someone already wrote userID somewhere I would stick to that for consistency.
-
It's very nice of you that you were calm and polite to the end. Be nice to people and rant about their stupidity on DevRant
-
javascript.info is awesome, check it out
-
Actually they fixed it yesterday
-
@erroronline1 Don't worry, I also suffer from a short attention span syndrome :D
-
Woohoo! Reading "You Don't Know JS" books series finally paid off. :D I got it correct :)
-
@erroronline1 as I said above, I could but I don't want to. It's my relative and I want to see his posts, just not these black an white history lessons posts...
-
@inaba finally someone with the realistic view. I'm tired of these "every minute/day a new framework" posts
-
@HRT-713 official chrome documentation is good, check it out.
-
Anything in particular? I'm curious.
-
And 95% of the time jokes aren't even funny enough for a smile and not to mention laughing at loud...
-
Maybe they are paid to wait in line, to create an illusion of enormous interest. But yeah, it's probably not the case here. People are sheeps...
-
I don't understand hatered to Javascript or CSS. If you don't understand it then it's your fucking problem. And noone is forcing you to use frameworks. If it's easier for you, code in vanilla Javascript but then don't complain how you can't ship it before deadline. Yes, there are too many frameworks but that's the reason why js ecosystem is improving so quickly. I'm more productive with React than I was with jquery and I bet there were many "yet another library" comments when it came out...
-
My college pushed 8 sequential commits with description "changes"...
-
Lol, after 9 hours I'm staring through the display like a zombie...
-
No
-
I can relate :D