Post AM2sP9ujkri09Gcsd6 by somarasu@cybre.space
(DIR) More posts by somarasu@cybre.space
(DIR) Post #AM0S5ICyDodAxL6KrQ by zens@merveilles.town
2022-07-30T02:58:25Z
0 likes, 0 repeats
I made this movie connections robot as part of a coding exercise for a job. I didn't get hired because my code wasn't "object oriented" enough. (as if there's some kind of objective measure?)https://tools.yip.pe/baconator/the "database" is severely limited to like 6 movies (which they provided), and I have often wanted to connect this to something like themoviedb.com
(DIR) Post #AM0S5IoBzQPAomW3sW by zens@merveilles.town
2022-07-30T03:04:12Z
0 likes, 0 repeats
This is a job where some guy who worked there… who I don't really know… recomended me for being great at javascript!then I go through an exhausting 3 day long interview process, complete with me making an amazing robot for not fitting in with the interviewer's idea of what good javascript is.10 years later, same guy recommends me for a different job at a different company. Same week long interview exercise nonsense. And I was rejected for a similar reason: my code wasn't "testable". (how ?)
(DIR) Post #AM0S5JKS3UD2QpbpA0 by zens@merveilles.town
2022-07-30T04:25:14Z
0 likes, 1 repeats
the part of this pig robot i am most proud of is the crank and hands.3D effect using only sine and cosine functions to move and resize some colored divs.
(DIR) Post #AM0S5MzgQdyPnZvILQ by zens@merveilles.town
2022-07-30T03:05:55Z
0 likes, 0 repeats
Honestly if the guy recommends me for anything again, I'm gonna do a hard pass. Not that I subscribe to these company's narrow ideas of what "good code" is, being put through a long process like that only to be judged as unworthy is pretty emotionally exhausting.
(DIR) Post #AM2sP7fm5WYHCHbu1w by somarasu@cybre.space
2022-07-30T03:05:52Z
0 likes, 0 repeats
@zens > Javascript > Not "object oriented" enoughCall me batty, but I dont think *they* even know what they're looking for
(DIR) Post #AM2sP8C29aM8oKhfJQ by zens@merveilles.town
2022-07-30T03:07:49Z
0 likes, 0 repeats
@somarasu the task is basically path finding, for which I wrote a naive breadth first algorithm since the dataset wasn't big enough to justify anything fancier. I tried writing it in a way where nodes and edges were like… objects with methods, but I couldn't figure out how to write a pathfinding algorithm that way. it's like turning the whole thing inside out.
(DIR) Post #AM2sP8lq0SzobNSG7U by zens@merveilles.town
2022-07-30T03:11:23Z
0 likes, 0 repeats
@somarasu at the time, there was a very widespread idea that javascript *was not* an object oriented language, and to get object orientation the only way was to hack it in.
(DIR) Post #AM2sP9OTgnu8XDX7Lc by zens@merveilles.town
2022-07-30T03:12:32Z
0 likes, 0 repeats
@somarasu This was a thing because javascript used prototypes instead of classes for inheritence and a lot of people didn't believe that anything without classes could be considered object oriented.
(DIR) Post #AM2sP9ujkri09Gcsd6 by somarasu@cybre.space
2022-07-30T03:14:36Z
1 likes, 0 repeats
@zens Of course. "No classes == Not OOP" is a misconception. Still, if someone told me my code wasnt "object-oriented" enough outside of a college classroom setting, I'd laugh right at them.
(DIR) Post #AM2sPAxbrfbJOSygkK by zens@merveilles.town
2022-07-30T03:14:11Z
0 likes, 0 repeats
@somarasu out comes Alan Kay screaming at the collapsed statue, buried in sand of his creation "You bastards! you blew it all up! Object orientation is about MESSAGES, not classes! "