Im so happy I found your channel... pity, that I didnt find it earlier... I really love your tutorials, you explain very good.
@fulleride057 жыл бұрын
Be honest that's how it is with all these great channels, Fun Fun Function is incredible too. Everything about programming I wish I would have found sooner, but I always remind myself "at least you found it and you are better than you were yesterday because of it".
@merajjahir26023 жыл бұрын
i really liked the video and i feel like it is a very subtle topic that doesn't get much attention . thank you shiffman .
@JesseGilbride3 жыл бұрын
These are two different objects in memory, not at all the same thing: var word = "unicorn"; dict.word = 99; What he did there was attach a new property called "word" to dict that's its own thing. It would be different if he instead wrote: var word = "unicorn"; dict.word = word; // assignment of the variable `word` to the object property called `word` dict.word = 99; // overwrite the old value of dict.word with a new value Also, using the variable `word` in the bracket notation is just utilizing the already-established variable, `var word`: dict[word] // this is grabbing the value from `var word = "unicorn"; you don't notice what happened because he assigned 100 before doing anything else (ie, checking what it's value is before the assignment of 1000.
@gamma_v17 жыл бұрын
1:00 "An array is an ordered list of stuffs". Well, list by definition is ordered, so "ordered" in "ordered list" is redundant. You could say "ordered set".
@TheCodingTrain7 жыл бұрын
Good point!
@ismailssenyange31342 жыл бұрын
1. Words Tracker Write a function that receives an array of words and finds occurrences of given words in that sentence. The input will come as an array of strings. The first string will contain the words you will be looking for separated by a space. All strings after that will be the words in which you will check for a match. Print for each word how many times it occurs. The words should be sorted by count in descending. Example Input [ 'this sentence', 'In', 'this', 'sentence', 'you', 'have', 'to', 'count', 'the', 'occurances', 'of', 'the', 'words', 'this', 'and', 'sentence', 'because', 'this', 'is', 'your', 'task' ] Output this - 3 sentence - 2
@mluevanos8 жыл бұрын
Love the show, keep it going!
@SmokingGummyBears8 жыл бұрын
As always, thank you for sharing your knowledge.
@Chrosam4 жыл бұрын
07:52 I think that's what everyone subscribed for
@pleabargain7 жыл бұрын
10:50 Would let or const fix the problem of the dict object not 'knowing' word?
@flax59778 жыл бұрын
I love your videos, Dan! But where can I watch your live streams, and when?
@CameronChardukian5 жыл бұрын
As a juggler I loved your crazy juggling stuff hahahaaaa
@dennis_johnson7 жыл бұрын
So basically a python dictionary?
@TheCodingTrain7 жыл бұрын
Yes indeed!
@dennis_johnson7 жыл бұрын
General question.....do you think it's hard to find a coding job? I'm in high school just wanted to know.
@oumoumad7 жыл бұрын
just like in most fields, it depends how good and how motivated you are. But I noticed that there is so much demand on developers lately than ever, especially for web and mobile applications. Because every company/service needs a website and with the fact that almost everyone in the globe at least has a smartphone and half of them have other devices (tablets, smart tvs etc...). Coding has become needed more than ever. So much that some schools are starting to teach young kids basics of code ^^.
@dennis_johnson7 жыл бұрын
mohamed oumoumad Thanks for the insight. I myself have been really intersted in coding and am still in high school. I really only entered the coding world a few months ago. Its amazing how much you can learn in a short period of time.
@oumoumad7 жыл бұрын
Oh yeah, same here, I'm actually a CG artist, and that's what I studied in my school, I only got into coding when I started making scripts for my 3d software last year. There's so much information with a great community to learn from on the internet. Absolutely anyone can become a developer easily today than ever before.
@Chiaration8 жыл бұрын
What language should a beginner learn as their first language?
@euzink8 жыл бұрын
This is a kinda tricky question, everyone will point you in the direction of their favourite programming language, in the beginning I would suggest focussing more on logic and less on the language itself, if you do it properly you should have no problem picking up any language afterwards, I started with python, you should look it up is very syntax light, also look up Pascal,its a bit outdated but its very educational, or maybe follow this channel's tutorials and go for JavaScript.
@Chiaration8 жыл бұрын
Thanks for the advice! What about Ruby? Is it worth learning?
@euzink8 жыл бұрын
I never really learnt ruby, I used it once with ruby on rails but don't really remember, so can't answer you, but any language is worth learning, if for nothing else for the "fun"
@Chiaration8 жыл бұрын
What did you first learn and how long did it take?
@euzink8 жыл бұрын
Python when I was 16 it took about 2 months to start really programming, but I didn't dedicate much time
@niklasromanowski1015 жыл бұрын
4:30 That noise is really driving you crazy. ;)
@ronaldlogan35254 жыл бұрын
You should team up with Bob Ross who can draw a happy little cloud, and learn how to use a paintbrush to draw a happy little array.
@DeepakPalVlogs-sj4yk6 жыл бұрын
var array = new Array(); array[1]=1; array[2]=2; array.city = "Roorkee"; then array.length gives 2 instead of 3 ? please elaborate this
@filipmarszaek99904 жыл бұрын
Thanks a lot It was very helpful.
@Ozziepeck117 жыл бұрын
that white box in the bottom left... grr. Awesome video though!
@mayankraghuvanshi4866 жыл бұрын
Is it take O(1) for lookup a particular string exist or not or O(logn) ??
@JesseGilbride3 жыл бұрын
O(1) for best/average case. Assuming you're alluding to hash maps, if the hash map's element that matches the key lookup contains a list (or object) of several (because a collision required more than one to be stored there), that would be larger, but it's usually not very long, so it's generally thought of as O(n).
@Banzaci5 жыл бұрын
Kids, never do drugs while doing an array video on KZbin!
@prithazz5 жыл бұрын
loooool
@8koi245 Жыл бұрын
Ohhh everything is an object... often forget that
@mitchellbarton79155 жыл бұрын
can't tried to open the contraction as a string for me. that's why it couldn't find it.
@blackpurple9163 Жыл бұрын
So we're all talking about objects here? Arrays are objects too but is this the proof of how arrays came to be ?
@dexterellis79736 жыл бұрын
Thank you!
@sergiogranadamoreno8 жыл бұрын
Thanks man!
@Mehedihasan-rahat Жыл бұрын
Mr.psycho why associative array does not contain anonymous function as key value pair in class??? But it contains anonymous function into global scope.... What is the reason behind this???😮😮😮
@kamoroso948 жыл бұрын
Associative arrays are so nice to work with in JavaScript. Too bad the keys can only be strings though.
@Retrofire-47 Жыл бұрын
Behold! The impetus behind the creation of JavaScript maps.
@rhlgm7 жыл бұрын
is dict or something?
@jainshilpi37 жыл бұрын
where is the next part of this ?
@TheCodingTrain7 жыл бұрын
Check the video description for "next video"
@veekay22542 жыл бұрын
seems the instructor knows human psychology well..
@idamusovic4493 жыл бұрын
Thank you!
@Mehedihasan-rahat Жыл бұрын
Mr.psycho why associative array does not contain anonymous function as key value pair in class??? But it contains anonymous function into global scope.... What is the reason behind this???😮😮😮