"Is it .splice(), .slice() or .explode()?"
For further actions, you may consider blocking this person and/or reporting abuse
"Is it .splice(), .slice() or .explode()?"
For further actions, you may consider blocking this person and/or reporting abuse
Ehtesham Ali -
Juraj -
Takuu Kaku -
Prince -
Top comments (87)
regex
regex is a classic, I've been through the whole HackerRank's regex course last year but still find myself searching for specific regex patterns
Exactly, I was considering to learn everything there is on it (like taking some advanced course or smth), tho I decided not to. While you know what you can do with it and it's use cases, you can quickly search it up thanks to sites like RegExr and Regex101.
Even now I don't know it that well I have to constantly keep googling it to remember different patterns. If we used it day to day then I think we would learn it better. I watched a video where a developer was using regex for daily productivity.
Yup. Same.
Regular expressions in general, i've used to do the same for reduce but then I saw one definition that I always remember
Reduce argument order was a common search for me as well, but repeating "prev, curr, ind, arr" a million times eventually made me learn it 😄
"acc, item".. was the one that done it for me, I don't know why I always found it "prev" wierd, like, it's not the previous value is the accumulation of the previous values, I know that you can argue that "prev" means the previous returned value, but I always got confused because of this 😄 it's funny how much naming is important in programming and how different people have a different understanding of the names
I use regex101.com/ constantly
How to make a triangle in CSS. You know those that you apply on :after.
always googled :)
That and String.format when it's not a simple %s
Space in html :/
Its the kind of thing, you tend to forget all the time 😂😂
No-Break-SPace =>
Now that is helpful. Thanks!
Not sure if you can call it "code", but I need to lookup css all the time.
CSS might not be a programming language but it is a kind of code nonetheless 🙂
One CSS thing that I always search for is gradients syntax and
display: grid
stuffIt's totally a programming language... / but - it's ok if you don't agree.
background-image: url($url);
- is a function that goes and sends an HTTP request for an image based on an argument.CSS in general probably doesn't count - because it's like - an entire language / but "Is it text-decoration or font-style...?" - is surely what this discussion is about! haha
It does count, yes! 😄
For me if it is a matter of property name DevTools suggestions works great. But if it is a whole concept like Grid, Gradients or Flexbox, then I have to search it
Every single haystack/needle argument order for any PHP function that uses them.
I mean did the core team meeting go like:
Dev1: Hey let's decide the order for arguments in array functions.
Dev1: I think we should use the order; needle, haystack, optional.
Dev2: That's not fun. Let the order always be random, also let's make those functions also solve several problems at once so we can have more arguments thrown in.
Rest of devs: Applauds
For PHP in general,
DateTime
,DateTimezone
, and how to create a format string for theDateTime::format()
method.For WordPress, the parameters for
wp_enqueue_script()
andwp_enqueue_style()
.I also always look for Datetime and strtotime function in PHP 🤣
It makes me happy to know that some things never change, haha.
Always is the datetime UNIX formats. I just don't get this hehe.
I've come to a conclusion that, no mater how experienced you are, dealing with Date always require some hours of googling.
Some comments may only be visible to logged-in visitors. Sign in to view all comments.