Length | Points | Week |
---|---|---|
20 minutes | 10 | Week 2 |
When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document> | |
<name>labels</name> | |
<Style id="poly-0288D1-0-0-nodesc-normal"> | |
<LineStyle> | |
<color>ffd18802</color> | |
<width>0</width> | |
</LineStyle> | |
<PolyStyle> |
<?xml version="1.0" encoding="UTF-8"?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document> | |
<name>Neighborhoods</name> | |
<Style id="poly-E7E2E4-3-94-nodesc-normal"> | |
<LineStyle> | |
<color>ffe7e2e4</color> | |
<width>3</width> | |
</LineStyle> | |
<PolyStyle> |
##Hamming My code: here
I didn't have any responses to this. Now we are getting to the juice. this problem took me a minute to think about how to build, but comparing two strings isn't too difficult. I initially thought I could use indexOf
to compare the chars, but realized I was looking at it backwards.
Option #1 (here) - about the only difference other than variable names in this coder's solution was that they just grabbed index [i]
of each string to compare. slightly more compact, slightly less verbose.
Option #2 (here) - this coder opted for a shorter ternary, but also included the longer form in commented out code. it's clever, but it also explains to you what is going on. although I think I would have just used the longer code. this amount of verbosity feels like overkill.
Option #3 ([here](h
##Leap My code: here
I didn't have any responses to this. I also realized after I submitted that I didn't need the first this.year % 100 = 0
, but I didn't want to iterate my solution.
Option #1 (here) - this coder's solution was to create variables inside the function, which seems a little kludgy, but their return statement looks rather elegant. they could have made it more elegant by making divisibleBy100
into notDivisibleBy100
, though.
Option #2 (here) - this solution seems like a bit of a mess. the returns aren't in any semblance of order. their first statement is unnecessary - that return false
could have been easily returned for the else
. however, I can see that it is essentially a guard statement - firing off what should be the most common return first avoids running through the entire `if
##Hello World My code: here
I did not have any responses aside from a bot, so I went looking at other solutions.
Option #1 (here) - I thought this guy's utilization of the falsiness of 0
was pretty clever. They also used ES6 interpolation like I did, which I saw was not common in a lot of solutions.
Option #2 (here) - this person also cleverly used falsiness, but of null
this time. They did use concatenation for the string though. It's pretty cool how many small differences there can be in even a tiny "hello world" implementation.
Option #3 (here) - yet another possible solution. this one uses ternary statements...which I like in theory. it shrinks the amount of lines of code, but at the same time, they're not particularly attractiv
Length | Points | Week |
---|---|---|
1 to 6 hours | 25 | Week 2 |
By now you are probably starting to get the feeling of Okay I can get things to work in JavaScript but how to do I get my code to not look like a horrible dumpster fire?!?
The best way to start getting a feeling for how code is written in other languages is by seeing how other people code, and comparing their style to your own critically.
what am I looking for in my first dev job?
my top three priorities are working for a company that is doing things that I am in support of, is active in mentorship, and is in support of the advancement of my learning while I am working with them. I want to work for a company that I am not ambivalent about. I want to feel like I am helping to change the world for the good. As a relative newbie to coding, I also want to experience direction and insight from more experienced coders. finally, I have not learned all I need to learn, and I know that it is difficult for me to spend my spare time doing that when I am doing it all day, so I’d like to work for someone who is interested in helping me learn.
barriers:
entering the industry: feeling like a newb, not having any experience
stop this: there will always be people above AND below you. and you DO have experience, and you will get more as you go.
first round / screening interview