« first day (2753 days earlier)      last day (2181 days later) » 

9:00 PM
2 mins ago, by Madara Uchiha
No helping from others (please), and no cheating by running stuff :P
^
 
user1596138
Those types of questions are just dumb
 
@Jhawins you're ruining a game
 
@Jhawins uh no
 
@DavidKamer No it does not, nor is this bad practice.
 
that question isn't dumb it basic understanding
 
user1596138
9:00 PM
\o/ have fun I will sit back
 
@Jhawins they mean to show understanding of language caveats
 
to print the this key word?
 
user1596138
It's cliche af
 
user1596138
I;ve seen that question 4 dozen times
 
@DavidKamer Nope, the underlying question here is what would this be in that situation.
 
9:01 PM
@DavidKamer The question is what's the output, it basically asks what the following code prints
 
You should know the namespace if you are implementing code that looks like that
 
user1596138
> You got a good memory, here's $110K!
 
@Jhawins Which means you would have no problem passing it, which is exactly the point.
 
It's quite basic in understanding what this means, it's not an edge case at all, nor do I think it's "tricky".
 
@DavidKamer you can also see datastructures created/used in same approach. In terms of design patterns, this is actually service locator pattern. I do such experiments for better understanding of plugin architectures.
 
user1596138
9:01 PM
@MadaraUchiha Yeah and that would be NO indication of skill whatsoever.
 
@DavidKamer This is literally the whole code.
I have this code in an index.js file
And I run node index.js
 
@Jhawins I beg to differ.
 
Just to be clear, we're talking about this, right: chat.stackoverflow.com/transcript/message/42340216#42340216
 
user1596138
I didn't say it was overly complex, I think you all misunderstood me. I wouldn't suggest playing a game that can be beat by extremely simple memory to judge coding hires, that's my point
 
I think it's not tricky - it's asking about one of the things newbies typically have issues with.
 
9:02 PM
oops
 
@Jhawins he claimed to be a 9/10 in JS. So this is a friendly test of that.
 
user1596138
@BenjaminGruenbaum Right. So now we know he didn't start yesterday. We're on the same page here I think
 
@Jhawins I think that if you look at the question carefully you'd see it's not tricky. A 4/10 in JS should nail it easily.
 
9:02 PM
@Jhawins If you can't tell what's this, you're gonna have a bad time in almost any app today.
 
what would this print:
 
@Jhawins >50% of interviewees don't pass simple tests like these.
 
user1596138
@MadaraUchiha I think I've explained more than that
 
Any callback you pass anywhere would be screwed if you don't pay attention, and bind it properly.
 
let o = { f: ()=>{console.log(this)}}
 
9:03 PM
something something fizzbuzz
 
oops
o.f();
 
@DavidKamer That's actually pretty close to question #2
 
but completely different
 
@DavidKamer lmao, also that's different because arrow functions have lexial this rather than dynamic this.
 
But you still haven't answered #1 :)
 
9:03 PM
But it has a different answer.
 
because f has no namespace
 
What's a namespace?
 
what the this keyword refers to
 
@DavidKamer f does have a namespace
 
I'm going to guess window and then afk in shame when I'm wrong
 
user1596138
9:04 PM
When I get asked 12 questions like that I end the interview process lol
 
user1596138
As in when those are the only questions.
 
(Even though it's not called a namespace in JS)
 
not in mine. that's 99% the reason for lambda functions
 
user1596138
Because I do not wanna work for a bunch of those guys ;P
 
@DavidKamer But there is in mine which is the question here
 
9:04 PM
@DavidKamer as a friendly tip, don't brag about things and keep a beginner's mind. There is no fun in knowing and repeating - it's learning that keeps you from being bored at work.
 
@Jhawins Eh, we ask you 2 questions about this and 2 questions about event propagation, that's it
 
user1596138
Tho you prob need more context to understand what I'm actually saying so don't read too far into it
 
@DavidKamer If you don't know something there is no shame in "I don't know", I say it regularly several times a day
 
Only to see whether we care enough to commit time to you in an actual onsite interview.
 
probably prints the object that this is refering to which would inevitably be the function
 
9:05 PM
@DavidKamer The first half of your statement is correct
But the second half is not.
 
user1596138
@MadaraUchiha I had a interview where they gave me two Wonderlics (fit for middleschoolers I might add) and a bunch of those questions. We got to salary negotiations and I just let them know sorry to waste your time, etc, but this is not the place for me
 
The object that this is referring to in this case is o, it's what comes before the dot, and so is what would be printed.
 
@Jhawins that you don't like BS trick interview questions that repeat themselves? Me neither, but I don't think that it's a tricky BS question in particular. I agree that the tricky BS ones suck.
 
so what is the difference between using ()=> and function() in that case?
 
user1596138
They were actually using wonderlic stores as a hiring metric. I was asking questions and they told me that
 
9:06 PM
@DavidKamer We'll get back to that, it's building towards that with question #2
 
user1596138
@BenjaminGruenbaum Yea it was the first one and I threw a giant assumption blanket over the whole thing
 
@Jhawins what's wonderlic?
 
I would honestly ask that back in a real interview...
 
i'll have to look up what wonderlic is..
 
var o = {
  f: function() {
    console.log(this);
  }
}

var g = o.f
g(); // *Now* what's printed?
 
user1596138
9:07 PM
It's a really childish IQ test
 
@Jhawins Alrighty then
Let's give you our final interview task and see how you fare?
 
user1596138
> Which number is smaller?
> 0.021
> 0.11
> 1
> 0.4
 
well is that run in just a <script> tag
 
user1596138
That's like. A real question
 
@Jhawins that sounds really stupid.
 
user1596138
9:07 PM
And it's timed
 
@MadaraUchiha (Jhawins was talking about wonderlic)
 
Is it node or a browser?
 
was it a big company? they are full of universal stupid choices that apply to eevryone
 
user1596138
Yea I did 90th percentile like I wasn't butt hurt over the scores, it was easy af. It was just amazing to me that they were actually basing hiring decisions directly on it
 
@DavidKamer That's a good question that shows you're on the right track!
Let's say browser.
 
user1596138
9:08 PM
@MadaraUchiha You know I was talking about the Wonderlic tests right?
 
Window object
 
I would not undertake that test for a job, it's humiliating
 
@Jhawins Yup, relized that a wee bit too late
 
user1596138
:P
 
@DavidKamer Why?
@BenjaminGruenbaum You're not the target audience
 
9:09 PM
well, it could be a class object if it's in a class
 
Hundreds of candidates that stream to you from outsourcing companies are.
 
46 secs ago, by Jhawins
@MadaraUchiha You know I was talking about the Wonderlic tests right?
 
it's were ever var g has scope
 
@DavidKamer So you say that...
 
user1596138
@BenjaminGruenbaum That's what I said lol I said it was embarassing to have been asked placement tests for a middleschooler for my professional interview. They said "No but we found out it's really useful, we actually have hired and fired on it!". In that progression... I just shut up and waited the day out. It was an 8 hour interview
 
user1596138
9:09 PM
I said why not ask for my highschool GPA before that lmao
 
class O {
  f() { console.log(this); }
}

var o = new O();
var g = o.f;
g();
 
var outside of a function or class will always refer to global
 
In TypeScript's handbook, it is said that: One of TypeScript’s core principles is that type-checking focuses on the shape that values have. This is sometimes called “duck typing” or “structural subtyping”. How duck typing is related to static typed language, TypeScript? en.wikipedia.org/wiki/Duck_typing#Structural_type_systems BTW... Structural subtyping is different from duck typing
 
Would have a different outcome?
 
I'd also be put off. But as a possible defense, it can just be some corporate policy for data entry staff the applies to all hires. These insane things happen.
 
9:10 PM
frameworks are in functions
 
@MadaraUchiha I don't think that test is humiliating and of course I'd gladly take it - I wrote it after all :D
 
user1596138
@Luggage I gave them that opportunity. They said "We hire and fire on it"
 
@Jhawins I don't think I ever had an 8 hour interview lol, that sounds like bullshit.
 
@BenjaminGruenbaum I meant the Wonderelic tests as well
You're not the target audience of those, untrusted junior candidates are.
 
user1596138
@BenjaminGruenbaum I got free food, 4 days in a fancy ass hotel, rental car, free flights and it was all 20min from my hometown
 
9:11 PM
@MadaraUchiha Ah, lol.
 
That last one is a stumper
 
@Jhawins fair point
 
@overexchange You should think about the name of what you're asking about, then read you comment again slowly.
 
user1596138
SO no it totally worked out. I jus headed back to the hot tub after I turned them down
 
should be the class still, but that's the computer scientist in me talking not the javascript interpreter lol
 
user1596138
9:11 PM
Except I got stuck in the airport for 13 hours one day...
 
@DavidKamer So here's the pitfall you're in
 
@DavidKamer that last one is pretty basic JavaScript, you should rehearse your JS - I recommend the Exploring ES series which are free books - you can get them at 2ality's website
 
user1596138
@MadaraUchiha I really wanna run it because I'm not sure but I think it's nothing
 
In JavaScript, everything is lexically bound, meaning that the binding is done at the moment of the definition of the function
@Jhawins Feel free, the result is still window.
 
user1596138
That's my logic guess tho. Not my educated guess
 
9:12 PM
@DavidKamer The exception to what I said above is this, which is dynamically bound
 
user1596138
undefined
 
user1596138
@MadaraUchiha undefined
 
@Jhawins Huh
 
@Jhawins in strict mode this is undefined in unbound functions rather than the host environment object - that's what you're probably seeing.
 
@BenjaminGruenbaum automatic strict mode or something?
 
user1596138
9:13 PM
I couldn't decide if it was window or undefined
 
user1596138
It's undefined for me
 
user1596138
Ah
 
@MadaraUchiha I would say "well, I can do react and redux well. I thought computers had interpreters, no human brains."
 
Anyway, @DavidKamer this is determined at the time of calling the function, and not at the time of defining it
 
user1596138
I thought it was obviously window but thought he must be tricking me...
 
user1596138
9:14 PM
That's why I said "nothing" is my logical guess
 
That's why o.f() and g = o.f; g() give different results
 
@Allenph I would see that line something like this: One of TypeScript’s core principles is that type-checking focuses on the shape that values have. This is nothing but...Structural typing
 
@DavidKamer But where is this going to catch you off guard?
 
@MadaraUchiha React is
 
class SomeComponent extends React.Component {
  onClick() {
    console.log(this.props.whatever);
  }

  render() {
    return <button onClick={this.onClick}>Click me!</button>;
  }
}
 
9:15 PM
@MadaraUchiha I work 99% of the time in strict mode
 
@DavidKamer What's wrong with this piece of code here? ^
 
@DavidKamer strict mode wouldn't save you - best case it gives you a clearer error message
 
constructor missing
 
we are fans of strict mode, though
 
return statement
 
9:15 PM
no binding
 
@DavidKamer constructor is optional.
@DavidKamer That
 
@DavidKamer its important to get the basics down before you progress down the path of frameworks. You might be fine some time, but lots of things will catch you off guard then.
 
use template string
 
user1596138
@KamilSolecki In 2018 how do you learn vanilla -> frameworks tho
 
And the reason you must bind your functions is because this is dynamic
 
user1596138
9:16 PM
Professionally
 
constructor is definitely neccessary
 
no, its optional.
 
This is also why in your question, the lambda inside of an object would return window, because that's the context in which it was defined and bound.
 
You could do that too
 
9:17 PM
@DavidKamer Omitted constructor is equivalent to constructor(...args) { super(...args); }
 
Got here a wee early
 
@SterlingArcher YOO popcorn man
gimme
 
@SterlingArcher gonna pee yourself before the end
 
someone at gamestop spoilered infinity war for me
 
If it happens it happens lol
 
9:17 PM
I just walked out sad
 
@MadaraUchiha onClick={this.onclick.bind(this)}
 
@user3597525 Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
I'm seeing it tomorrow
 
@Jhawins by learning the crucial basics before you start learning anything else?
 
oops
 
9:18 PM
1 message moved to Trash can
@DavidKamer Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
user1596138
@KamilSolecki Not sure you understood my question
 
@Luggage Really though
 
@Jhawins do tell
 
@KamilSolecki "basics" is a synonym for jquery, right?
 
9:18 PM
@user3597525 Yes, or alternatively, make onClick a lambda
 
I haven’t had movie popcorn in so long I forgot how good it is
 
the mobx docs say not to make events lambdas, and I couldn't find out why
 
user1596138
@Cereal They mightve lied. Bc I have been hearing a million different spoilers and at this point they can't all be real
 
or do it the right way
 
user1596138
There is hope!
 
user1596138
9:19 PM
Or at least the way they fit together must be a surprise
 
because you just basically said that to me. Do it the other way which is the right way
When mine is the official react docs way which means guarantee support for the near future.
 
@DavidKamer Actually, in the case of React, using a lambda is better
Because the binding only happens once, as opposed to every time render() is called.
 
why not use a stateless functional component?
and redux
 
What about @action.bound?
 
@DavidKamer Because sometimes you need state
 
9:20 PM
@Cereal same as using a lambda, as far as what he said
 
@Cereal Works the same as a lambda
 
user1596138
Redux lol
 
redux state if you're smart
 
Saving you from having to do weird stuff like
 
Ah, that's probably why the docs say that then
 
9:21 PM
foo = action(() => ... )
 
Handsome
 
lmao.
 
I do that sometimes, but I don't always make a habit of it
 
9:21 PM
@DavidKamer Seriously, take it from someone with some serious hands on experience with redux. Don't use redux for anything you care about with a large enough codebase.
 
user1596138
@BenjaminGruenbaum hahaha omg
 
this.method.bind(this, item)
is better
 
Redux is a glorified event bus which promotes huge switch cases and code that's incredibly hard to follow and debug.
 
@MadaraUchiha why?
 
@DavidKamer I'd point you at my talk about this but I honestly think it's best if you focused on learning the basics of the language first.
 
9:23 PM
It isn't really that necessary, but it makes passing down state from a container via props easier in my opinion.
 
user1596138
@SterlingArcher Base ball
 
@BenjaminGruenbaum Are you being ironic
 
And if you don't believe me, who only did occasional features and code reviews, I can get my coworker here, who worked on that codebase for over a year and can tell you allllll about why redux sucks.
 
user1596138
That needs to be a wastedgif
 
9:24 PM
Fortunately over a year ago I had a choice of redux and could tell it was going to suck 😉
 
user1596138
@DavidKamer There are like 100 things that do that, and much less ridiculously
 
sooo I chose mobx
 
@DavidKamer no, I did genuinely give a talk at a React meetup at the Facebook office about why I don't like Redux. I do genuinely think that while this talk is relevant - it would just confuse you more and you would benefit from reading speakingjs.com much more.
 
user1596138
@Loktar saved my life
 
Because I know the basics, but I'm not going to spend my life questioning code riddles when there is actual stuff to be done. I know about namespace, but I'll probably forget some of the exacts one day after learning them because you'll never need to know those until you do and then it's usually obvious
 
9:25 PM
It's free and I think it could really benefit you.
 
user1596138
Heh we did experiment with ReFlux for a bit
 
@DavidKamer JavaScript has no namespaces.
 
reflux was even better than redux
 
@DavidKamer There's actually no concept in JS called a "namespace"
 
sorry scope
 
9:25 PM
@DavidKamer We are not trying to attack you - there is no need to be defensive about your level of expertise.
 
user1596138
@DavidKamer It's not one of those things where you're like "yea I don't need to learn that so I won't"... It's one of those things you will learn and know with experience.
 
@Jhawins Usually though painful bugs you don't know how and why they happen and can spend minutes or hours on smashing your head against the wall.
 
user1596138
You use it every time you write code just not consciously
 
@BenjaminGruenbaum The hostility in the programming/coding community isn't exclusive to stack overflow. It's because half of coders think that knowing where a this should be placed is more important than understanding a software pattern and how to implement it.
 
It just so happens that we want people on the other side of those painful hours :D
 
9:27 PM
It ends up the logical equivalent of a spelling bee.
 
Keeping a beginner's mind about code is the only thing keeping us interested in our work.
 
I suck at spelling, but I'm good at making things work and understanding how things work
 
@MadaraUchiha speaking of, do you ever partition your TS into namespaces?
 
not if you actually like to code
 
Has anyone mentioned the Dunning--Kruger effect yet? It's a perfectly normal example of cognitive bias
 
user1596138
9:28 PM
@DavidKamer I think that is a very very naive analogy lol no offense meant
 
The trick is not telling your supervisor that you've never even looked at react before, when you tell them you're writing the new site with react
 
@DavidKamer we think both are important and both are tested on usually at interviews.
 
@DavidKamer React will rise and fall. Angular will rise and fall, even the almighty jQuery will rise and fall. but JavaScript will still be the language of the web, no matter which library is in fashion.
 
that's like saying the only reason I like to fish is because I like to kill worms
 
That'll force the beginners brain on you real quick
 
9:28 PM
ok .. see u all tomorrow
 
And understanding JS is vital to developing effectively and sanely.
 
@Cereal story of my life
 
user1596138
Making shit work regardless of how it's written !== being a good programmer
 
so you're question is valid until mozzilla enables strict mode by default?
 
9:28 PM
Can you develop without understanding the fundamental concepts of the language? Of course, people have been doing so for years.
 
or something else arbitrary
 
@DavidKamer instead of taking the fact you didn't know the answer as an offense, use it as a learning opportunity
 
writing good code means you shouldn't have to guess what this is referring to
 
@DavidKamer When mozilla enables strict mode by default somewhere around 2030, then the answer would be "undefined is printed" and not "window is printed"
 
@MadaraUchiha isn't that pretty much cargo-cult programming?
 
9:29 PM
I did know the answer if you look back
 
I mean you don't really have to guess, it's just not entirely intuitive before you learn it
 
user1596138
lmao... I have officially formed my opinion here.
 
user1596138
!!afk smoke
 
@DavidKamer Right, because you'd know, because competent JavaScript developers know their contexts.
 
@AndrasDeak There are still question on the site along the lines of how do I round a number with jQuery
 
9:30 PM
:|
 
@KamilSolecki They don't play very well with modules
And I'd much rather have modules
 
What is cargo-cult programming?
 
I hope there are satirical remarks suggesting something other than jquery
 
@MadaraUchiha $(window).get().Math.round(yourNumber)
 
@Cereal you can probably ask the same thing from google :)
 
9:30 PM
I do use namespaces for a few isolated things, namely the types of API responses and all of their sub objects
 
@MadaraUchiha I never used them, good to know though :D
 
I come here to chat, not look for googling topics -.-
 
it's too long a story to be explained here; you're much better off reading about it
it also comes with a nice anecdote
 
@BenjaminGruenbaum I do know my contexts. But I still don't think those answers matter until they matter. If you implement scope somewhere, it should be apparent. Maybe I'd make a better python dev?
 
@DavidKamer You did better than most of our candidates, that's for sure.
But 9 was a bit overestimating methinks
 
9:32 PM
@MadaraUchiha javascript scope has to be one of the worst and must unsafe concepts in comp sci
 
I'd say I'm somewhere between 6 and 7
Benji is probably an 8-8.5
 
@DavidKamer I think your issue isn't with contexts or closures or event propagation - it's with the willingness to enter a position of knowledge rather than a position of curiosity. That's what you should be working on. I'd start by reading the book I linked you to.
 
@DavidKamer Right, but it's one you should be familiar with or else you're going to have a bad time.
 
@DavidKamer "comp sci", you keep using that term, might I inquire about your alma mater?
 
@BenjaminGruenbaum Me thinks a React question is better for a React developer.
 
9:33 PM
My comp sci degree had nothing to do with programming
Have I complained about this before
 
user1596138
Don't want to step on toes hopefully the meaning makes it to Israel
 
@Jhawins Wanna try your luck at our last interview task? :)
 
user1596138
Don't send it now cause I'll cheat but remind me tomorrow
 
user1596138
I gotta go
 
Shouldn't take someone of your caliber more than 30 minutes or so... if you're up for it :D
 
9:34 PM
Ivy Tech, two degrees, went to work for a college and quit to start my own business, dropping out of free college at Park University with 20 credits of gen ed left to graduate
 
25% of my computer sci degree was a unit about business and marketing
 
user1596138
@DavidKamer Indiana??
 
25% of my comp sci degree was bullshit filler courses
 
@Jhawins yeah
 
user1596138
9:35 PM
@DavidKamer Where at?
 
@Cereal agreed
 
user1596138
I move to Fort Wayne May 10
 
I didn't go to college and I'll probably never go back.
 
@Jhawins Fort Wayne
 
@DavidKamer so a BSc. in CS from Ivy Tech?
 
9:35 PM
im just doing it for the peice of paper
u can learn properly at home
 
@RachelDockter Yeah
 
user1596138
@DavidKamer Dude go work at Sweetwater, they're the ones that wonderliced me but if you can handle it, great company in other ways
 
All that happened is I'm 4 years ahead of my peers. I'm 21 and I make more than either of my parents. :p
 
I'd say maybe 10% of my class could actually prograam
 
user1596138
It's posted on StackOverflow
 
9:35 PM
damn
 
The other 90% were just book laerning
 
@BenjaminGruenbaum Software Development and another AAS informatics. Both AAS
 
user1596138
@DavidKamer hang around the room and we can get beers sometime
 
@Jhawins the mysterious wonderlice, creatures that swarm your head and give you arcane knowledge of programming
 
user1596138
I got a house near Glenbrook :P
 
user1596138
9:36 PM
I grew up there I've just been in Omaha for a few years
 
I know A LOT of languages better than javascript honestly, I just like Javascript more and I'm good at learning my specific tool or problem.
 
@DavidKamer So no BSc., I find it strange you keep bringing computer science up as if it's some higher purpose - above programming.
 
fast
@Jhawins Totally man!
 
It's "JavaScript", capital J and S and the rest is lowercase - like the room title in giant letters :)
 
Woah, is jan back?
 
9:37 PM
@BenjaminGruenbaum jAVA-sCRIPT
 
@BenjaminGruenbaum technically...
 
user1596138
@DavidKamer Here's what I applied for Idk how interested you'd be in them. stackoverflow.com/jobs/168950/… They were willing to hit high 5 figures but not so good on vacation time etc... And they need developers
 
it's ES2015
 
user1596138
Like seriously they need them right now
 
@DavidKamer no, that's the name of the language standard, and not a too recent one
 
9:38 PM
Oh god, we did not enter this discussion right now XD
 
@Jhawins Thanks! I'll look into it.
 
@DavidKamer You found just the guy to enter that argument into
 
hi
 
user1596138
THe interview process tbh sucked ass IMHO. But it's a job with good pay and it's there. That's all I can say
 
@BenjaminGruenbaum What license is the name JavaScript under?
 
9:38 PM
@DavidKamer the name? LMAO
 
yep
 
user1596138
Fr !!afk
 
@DavidKamer Infringing on Oracle's trademark, methinks.
 
To Oracle
 
That seems about as relevent
 
9:39 PM
Which is hilarious because it's not defensible
 
Wonder how long it would take them to sue Brendan Eich
 
@BenjaminGruenbaum How not?
 
@MadaraUchiha He got a license, it's everyone else it has to sue
 
@DavidKamer JavaScript was explicitly named JavaScript because it sounded close to Java
To leech off of the brand
 
@BenjaminGruenbaum If it's not licensed correctly, you might be infringing by naming things after it..
 
9:40 PM
@DavidKamer because they can't enforce it - they own the trademark to something that everyone has been using often. When a trademark is used a lot without the owner defending it it loses defensibility.
 
@MadaraUchiha I know, but I just wanted to be full of technicalities
@BenjaminGruenbaum I guess it's like jay walking then?
@BenjaminGruenbaum I honestly have no problem with being told I need to learn, but I guarantee that there 50% of "professional" devs that would not care about those questions or even answer them with anything other than "it prints the scope which depends on implementation and environment"
I don't want a job anywhere but a startup honestly.
 
What does the scope of this have to do with implementation and environment
 
@DavidKamer That is the wrong answer though, the first code smaple doesn't depends on either implementation nor environment.
 
@DavidKamer right, but 50% of devs are not 9 on a 0-10 scale, they're maybe 2.
 
if you're asking technicalities like that, it makes for a fun discussion, but if you are grading based on that then you probably have a toxic culture
 
9:44 PM
wew.
 
@Cereal technically in a loose environment this would be the global host object which is dependent on the implementation.
 
user1596138
A lot of people here are actually on the other side of the table interviewing @DavidKamer jus btw. They at least know what people are looking for
 
@DavidKamer just one that values technical excellence.
 
ok, so I said that, at the beginning, "I know how to use tools, and by that scale a 9"
 
I like the pretend server-side js doesn't exist though
 
9:44 PM
You are missing out.
 
yep, sorely
 
I know, I like js. It's almost like ruby now too
 
@DavidKamer That's often not enough in serious development.
It's get you by on most cases, for sure, I bet you can live years off of just that. But sometimes, you gotta know how to pull up your sleeves and write code
Logic, actual architecture and structure
 
I think that most established companies run a shill factory where people that are hired in intentionally sabotage the newbies to maintain there status... They use technicalities to sort out anyone who could do better than them on a level that matters and pass those they think won't compete regardless of how they answer.
I'd say that at an interview too. Still not hiring me? lol
 
@DavidKamer if you had to write your own basic webpack or babel or Node could you do it?
 
9:47 PM
@DavidKamer Right, but those aren't the kinds of places you generally want to work for.
 
@DavidKamer lol probably not 😋
 
Figuring out how to write a webpack config for react made me want to kill myself
 
@BenjaminGruenbaum babel, yes, node, without a framework, it would need to use references.
 
sounds like a me against the world type argument, and the potential to have excuses when it comes to someones attention that performance might be lacking
 
@DavidKamer He's talking about implementing your own version of webpack or babel or node
 
9:48 PM
@Cereal I sympathize.
 
@Loktar I would say the same thing if I was hiring and didn't know that coders where like that in a lot of situations.
 
Not using the existing ones without a code generator or boilerplate.
 
any other line of work I'd certainly say that
 
I would also ask how many well established companies you've worked at
since that's a very broad brush to paint with
 
Here's another one that we've actually encountered in a real world project a few months ago
 
9:51 PM
why the hell would you do that? If you're going that deep with it, why not just invent something completely new. Sounds like a waste of time to me, but I'm sure I could learn how to do it in 2 or 3 days for babel. I honestly don't want to know how to do the other ones right now, and like I said, shouldn't you start looking at what could be the next paradigm if you're going that deep?
 
@DavidKamer You can't possibly be 9 on a 0-10 scale at "using tools" if you don't understand how the tools you're using work, you can be a 7 though.
 
@Loktar That's a good question. I'd say none lol. Honestly, I'll make this work for me one way or another, but I was just curious how far knowing how to get the job done could take me
 
I'm not saying you are, you're like a 2 so far
 
If you failed our code interview idc how well you can use tools
I base a ton on that
and promptness when the interview starts lol
 
@BenjaminGruenbaum Dude, you're being a troll.. No offense...
 
9:52 PM
I'm so glad I never had a technical interview lol

You people terrify me
 
@DavidKamer troll might be too harsh here. He's harsh too, but not a troll
 
We have components on the page, and we want to restrict them to paying users. The component remains visible on the page, but all interaction with it is blocked and, for the sake of simplicity, gives off an `alert()` with something like "Pay us!".

The trick is that I want a general abstraction that's able to take in any component and wrap it with "Restricted"
 
@Cereal eh our code portion isn't hard at all
 
i.e. something like this if we're doing JSX:
 
we have people who can't write loops, or had no idea what let or const were, never used any es6
stuff like that is an immediate no go
 
9:53 PM
idc if you gave a talk at facebook, you just used that as a way to dig the insults in lol
 
<Restricted>
  <button onClick={() => console.log('Only paying users should see this')}>Click me!</button>
</Restricted>
 
THIS IS WHAT THE POST ABOUT NOT WELCOMING WAS ABOUT
 
@DavidKamer No, I mean it - you're demonstrating a fundamental lack of basic understanding of some of the most basic JavaScript concepts. I am not being a troll, we are not in a contest, I am not attacking you and I am not trying to troll you or annoy you. This demonstration is crystal clear to everyone else in the room - please, chill, stop focusing on projecting what you know and bragging and be willing to learn.
 
lol
 
just to be clear: David, are you serious, or joking?
 
9:54 PM
@DavidKamer you've done nothing but argue since you've joined
 
I would also like to know this
 
you were arguing about Windows a bit earlier
 
@Loktar Do you care more about design patterns or syntax knowledge?
 
@BenjaminGruenbaum Someone asked me how I'd rate myself, and you spent that last hour trying to degrade me based on one scope question..
 
if it's in jest then fine, but if you're serious let's not escalate this tempest in a teapot
 
9:55 PM
He was trying to teach you
 
@Allenph sure, but if you can't write any code, none of that matters
 
@Loktar But I never once insulted you
 
@Loktar That didn't answer my question. Rofl.
 
@DavidKamer not me but you did call @BenjaminGruenbaum a troll..
that's not nice.
 
@DavidKamer No, I've been trying to point you towards useful resources and ask you to gently get off the tree you climbed on. I have no interest in degrading you - I'm genuinely trying to help you here.
 
9:55 PM
In my experience as long as your passable with the syntax it's the patterns that matter.
 
@Allenph if you can't write code, modern Javascript, then no sir
 
@Loktar I did after he keeps bringing me up directly
 
Have some faith and stop assuming you are being attacked.
 
can everyone go grab a coffee right now? :P
 
constantly calling me out. If I was bad, why make it point to call me out over the last half hour
 
9:56 PM
Is this another test? lol
 
Like, it's even worse if I'm actually bad
 
@DavidKamer we were having a discussion, you were asking questions.
 
@DavidKamer No, people tend to take what they're given and go with it
 
like if a newbie was really really bad and you did that to them, it would be even worse
 
@DavidKamer I was trying to get you to say something like "You know what? Sure, I'll go check that book out" and hopefully have a fun time reading it
 
9:56 PM
We get a lot of really new developers here
 
user2620028
how is my SO chat experience becoming more toxic than my league chat experience :O
 
@HatterisMad Because now SO is incentivizing stupid questions.
 
@BenjaminGruenbaum you said, in a nutshell, "You got one question wrong, so obviously you know nothing about javascript so go away and read javascript for dummies" and I didn't even really answer the question directly
so I didn't even actually get it wrong
 
@Allenph no
 
@DavidKamer You kinda did invite scrutiny when you ranked yourself a 9, even if it was a misunderstanding
 
9:58 PM
and you did this in a public forum intentionally to call me out and make me look bad
 
@DavidKamer I never said "go away" :)
 
But I think this has gone far enough
Let's let it go.
 
where's that video from Frozen...
 
!!letitgo
 
I agree - sorry if I hurt your feeling @DavidKamer, I didn't mean to do that <3
 
good morning my fellow 3%ers
 
@MadaraUchiha true, and I honestly don't know how your scale works, but if you say that 50% are a 2, then that means 2 equals 5 statistically...
 
oh, useful feature
 
@david yoooo
 

« first day (2753 days earlier)      last day (2181 days later) »