FizzBuzz - You Suck at Coding [0]

  Рет қаралды 403,380

Ben Awad

Ben Awad

3 жыл бұрын

FizzBuzz, the classic interview question no one probably asks anymore but I'll show you how to solve it anyway with vim and haskell.
#fizzbuzz #vim #haskell
----
Checkout my side projects:
If you're into cooking: www.mysaffronapp.com/
----
Join the Discord: / discord
----
Patreon: / benawad
----
Follow Me Online Here:
Twitter: / benawad
Twitch: / benawad
Medium: / benawad
GitHub: github.com/benawad
Facebook: / benawad97
LinkedIn: / benawad
Instagram: / benawad97
TikTok: / benawad ​

----
Follow me online: voidpet.com/benawad
#benawad

Пікірлер: 1 100
@willmakk
@willmakk 3 жыл бұрын
I think the interviewer is taking his socks off to make a noose.
@tannerbarcelos6880
@tannerbarcelos6880 3 жыл бұрын
Lmfaoooo.
@stormz2385
@stormz2385 3 жыл бұрын
Hahahahaha
@gnack420
@gnack420 3 жыл бұрын
Hahaha so true
@billybonregularjin
@billybonregularjin 3 жыл бұрын
those are some really stretchy socks
@stacklysm
@stacklysm 3 жыл бұрын
LMAO
@nnchnl111
@nnchnl111 3 жыл бұрын
Imagine an absolute beginner seeing this video
@DanielJStahl
@DanielJStahl 3 жыл бұрын
That's me.
@adnankazi8845
@adnankazi8845 3 жыл бұрын
I have some questions....... actually a lot of questions.......😐
@adnankazi8845
@adnankazi8845 3 жыл бұрын
Did this guy just wrote ans printed everthing instead of using loops and of condition......what the hell....am i stupid or this went over my head
@nnchnl111
@nnchnl111 3 жыл бұрын
@@adnankazi8845 That was just a VIM flex guide
@adnankazi8845
@adnankazi8845 3 жыл бұрын
@@nnchnl111 ohh thanks man ❣️
@vsalbuq
@vsalbuq 3 жыл бұрын
I can't believe I've watched this madman's video until the end.
@dahaj1367
@dahaj1367 3 жыл бұрын
I wanted to like your comment but then I saw you have 666 like and it's beautiful!
@adminomhfoz1908
@adminomhfoz1908 2 жыл бұрын
he is class
@avneet12284
@avneet12284 2 жыл бұрын
is he really the madman if you watched it till the end? ;) :D
@VHSRarities
@VHSRarities 2 жыл бұрын
I can't believe his view count dropped ! that only happens when you pay for views! so therefore, he's a scam literally. what a joke !
@ChristopherElwell
@ChristopherElwell 3 жыл бұрын
That prayer should be added to official Haskell liturgy. Well done.
@chizuru1999
@chizuru1999 3 жыл бұрын
I am assuming liturgy in simple words is docs
@isaackay5887
@isaackay5887 3 жыл бұрын
I second this motion
@amicloud_yt
@amicloud_yt 3 жыл бұрын
@@chizuru1999 actually it's a religious thing and a lot more complicated...
@KabeloMoiloa
@KabeloMoiloa Жыл бұрын
ackshually one pays respect to the computational trinity by saying "in the name of Sigma (1.) , Pi (2.) and Lambda (3.) homoousion amen. " 1. being, Father 2. universal quantification, Son 3. computation, movement, Holy Spirit
@c4llmeco4ch
@c4llmeco4ch 3 жыл бұрын
When the interviewer gets mad you're using macros, just let them know automation is the future and they'll quickly change their minds
@BicheTordue
@BicheTordue 3 жыл бұрын
Does that append often ? i didn’t think dev would be against macros
@scylk
@scylk 3 жыл бұрын
@@BicheTordue there's a lot of dev out there against anything they don't know
@mettaursp309
@mettaursp309 3 жыл бұрын
​@@BicheTordue Depends on the language, because the way each language handles them is likely going to be different. In a language like C++, especially modern C++, it's going to be heavily frowned upon for a few reasons: - Macros don't respect namespaces, which means they can overwrite things that you might not want them to. A common counter practice is using uncommon, often ugly naming conventions to reduce chances of name clashes. - Macros do dumb search + replace, which can introduce hidden side effects depending on the structure of the macro. Such side effects include rapid ballooning of code size (think min/max macros), hidden esoteric syntax use that breaks in some situations, doesn't tell you when name clashes happen unless it breaks syntax conformity. - Macros don't restrict the types of syntax use they can hide, so in order to figure out what a certain complex macro can do you often have to substitute it into the code by hand. - Editors like Visual Studio don't handle macros very well. The macro definitions don't get syntax highlighting or intellisense because there is no sensible way to do it. Visual Studio also fails to report errors in the correct places for more complex interconnected macro structures. - Most of the things you can do with macros can also be done with newer modern C++ features. These new features may often be esoteric or ugly, but they don't have any of the draw backs listed above because they have first class support and have been carefully and meticulously combed over and ironed out by a committee. Some of the few remaining things you cannot do with standard C++ syntax to my knowledge are: stringification of code, implicitly capturing types of values up the stack without explicitly initializing it by hand. Here's an example of how the previous macro technique can be used for something like reflection: making a lambda with a macro in a member function and capturing the type of the parent class with 'decltype(*this)', useful for computing member offsets and storing statically #define Bind_Member(member) #member, [] () -> int { decltype(this) base = nullptr; return int(&base->member); } MemberRegistry { Bind_Member(memberName) }; // makes a 'MemberRegistry' instance with initialization list '{ "memberName", memberName offset computing lambda }' In an ideal world standard C++ syntax would be able to do everything that preprocessor macros can. Edit: looking through the comment section more I'm realizing that people are talking more about editor macros. I'd say the first two points still apply a lot depending on how you can twist them. Before you make large, sweeping changes to a code base with automation you should really make sure that you know 100% exactly what it is that you are doing, and everything that can go wrong. It's super easy to nuke a code base by not being careful with automation tools.
@vanjazed7021
@vanjazed7021 3 жыл бұрын
@@mettaursp309 not that kind of macros
@mettaursp309
@mettaursp309 3 жыл бұрын
@@vanjazed7021 Yep, I threw an edit on my post a while ago that clarified that mistake.
@frankzheng6838
@frankzheng6838 3 жыл бұрын
since Haskell is such a high level language, it actually compiles your O(n) algorithm to O(1)
@DanCojocaru2000
@DanCojocaru2000 3 жыл бұрын
Honestly, that makes sense and it's a logical optimization. All the strings in the list are constant, the separator is constant, and the base case for the join function is just one of its parameters. Therefore, there's nothing that can go wrong with evaluating that at compile time. Damn.
@andrewlalis
@andrewlalis 3 жыл бұрын
@@DanCojocaru2000 but a lot goes wrong before you even get to compile
@igorshauro7633
@igorshauro7633 3 жыл бұрын
It’s just lazy
@mybigbeak
@mybigbeak 3 жыл бұрын
"I'm going to write fizzbuzz in haskell" *writers Fizzbuzz in vim.
@dupersuper1000
@dupersuper1000 3 жыл бұрын
Story Feet to be fair he did define a real Haskell function
@BichaelStevens
@BichaelStevens 3 жыл бұрын
@sundaran 1122 He is a sane person and not a virgin* FTFY
@BichaelStevens
@BichaelStevens 3 жыл бұрын
@sundaran 1122 does it freeze and shit itself like vim does especially when in ssh?
@BichaelStevens
@BichaelStevens 3 жыл бұрын
@sundaran 1122 oh yes, my computer, my laptop, company computer, etc. TIL: Vim is more demanding than Battlefront 2 and BF5
@BichaelStevens
@BichaelStevens 3 жыл бұрын
@sundaran 1122 ssh into fresh ubuntu install on digitalocean :) And in my past experiences on a local machine, a computer that can run the latest and greatest and render heavy loads and host several VMs can't run freshly installed Vim. It's almost as if Vim is a heaping pile of trash. And also you'll find that the #1 question about Vim, far far more popular than other questions, is "how do I exit vim?". I pity Vim users like I pity Atom IDE users. Atomheads try to sell me the idea that their bloated pile of dog vomit is efficient and cool. Mmm who doesn't love microstutters every second and minute long executions of code mm. But hey, if it works for you, cool, just don't be religious about it.
@CodingWithJustin
@CodingWithJustin 3 жыл бұрын
How do I install vim on whiteboard? plz help
@DivjotSingh
@DivjotSingh 3 жыл бұрын
Look for colon e behind the whiteboard.
@tannerbarcelos6880
@tannerbarcelos6880 3 жыл бұрын
npm install vim-whiteboard
3 жыл бұрын
You just write down your keypresses and the internal Vim editor built into the interviewer's head will parse it and create the solution in his head.
@markhaus
@markhaus 3 жыл бұрын
How do I exit the vim whiteboard? I’m trapped
@xlMrJonaIx
@xlMrJonaIx 3 жыл бұрын
@@markhaus you have to write EscEscEscEsc:q and then the witheboard should dissapear
@malcolm19988
@malcolm19988 3 жыл бұрын
He really done memorized that prayer 😂
@Isaac-rp8ny
@Isaac-rp8ny 3 жыл бұрын
I see that Ben is trying to farm some karma on r/programminghorror.
@Kairos26
@Kairos26 3 жыл бұрын
i read that as r/programminghumor
@quintencabo
@quintencabo 3 жыл бұрын
@@Kairos26 Me too!
@69bruh
@69bruh 3 жыл бұрын
@@Kairos26 my god i didnt realise it wasnt that till u said it
@game_changer1761
@game_changer1761 2 жыл бұрын
@@Kairos26 same thing
@VHSRarities
@VHSRarities 2 жыл бұрын
more like he's farming views from bots. cause I just watched the view count drop. unsubscribed. what a shame. I thought the dude was alright til I noticed he paid for all these views LOL
@hg0
@hg0 3 жыл бұрын
I think the complexity is actually O(human) which is often quite slow, which can be seen in this video.
@oscwavcommentaccount
@oscwavcommentaccount 3 жыл бұрын
Yeah, but when you run the code on a computer the complexity is O(1)
@blasttrash
@blasttrash 3 жыл бұрын
@@oscwavcommentaccount but before that human has to write that code :P
@benjaminrood1648
@benjaminrood1648 3 жыл бұрын
@@blasttrash The human always has to write the code.
@blasttrash
@blasttrash 3 жыл бұрын
@@benjaminrood1648 the human time is negligible. the sorting algorithm that you write might be used by your team. if you package it as npm or gradle or maven etc then it will be used by millions. the puny 1 month of time that you spent is negligible compared to that. Not to mention, there are spiders, crawlers, bots that might visit your website and run your code etc. that adds time up very quickly
@benjaminrood1648
@benjaminrood1648 3 жыл бұрын
@@blasttrash lol you cannot be taking this video or my reply seriously
@MinecraftDragon308
@MinecraftDragon308 3 жыл бұрын
My trap card doing too much damage to the interviewer is exactly why I’ve failed all my interviews
@nakedsquirtle
@nakedsquirtle 3 жыл бұрын
totally...
@Jechob
@Jechob 3 жыл бұрын
I have nothing else to lose might as well try this for my next interview.
@pocnit
@pocnit 2 жыл бұрын
"Losing all hope was freedom."
@Yas-gs8cm
@Yas-gs8cm Жыл бұрын
Did you land a job? xD With this approach? Did you actually try it?
@bennetthardwick9846
@bennetthardwick9846 3 жыл бұрын
Dan won't notice if we call it "that one framework"
@theenigma1109
@theenigma1109 3 жыл бұрын
I ❤️ Ng
@tryhardingwithraghu
@tryhardingwithraghu 3 жыл бұрын
Angular. There. I said it
@DoinkertonGreeble
@DoinkertonGreeble 3 жыл бұрын
The framework that must not be named
@PandemicGameplay
@PandemicGameplay 3 жыл бұрын
It's amazing how these "software engineers" are so self-biased and arrogant in their views they have to preach to others on how to enjoy humor. Twitter really is a giant echo chamber. Maybe they should spend more time actually writing code than preaching.
@alexmercerind
@alexmercerind 3 жыл бұрын
Yeah bois
@bitp
@bitp 3 жыл бұрын
Not gonna lie, i would be kinda impressed by that in a coding interview
@insertoyouroemail
@insertoyouroemail 3 жыл бұрын
Me too. The program contains very little complexity and is easy to adjust with special cases.
@gnack420
@gnack420 3 жыл бұрын
If you're looking for someone who is able to run macros, with repeated mistakes and crashes, then yeah I guess this is the perfect demonstration of that skill.
@LongBoy.0
@LongBoy.0 3 жыл бұрын
Except for all the times he forgets to end the macro. -100 points for that nonsense
@quintencabo
@quintencabo 3 жыл бұрын
@@LongBoy.0 He needed to make the video longer then 10 minutes
@anond2015
@anond2015 3 жыл бұрын
@@insertoyouroemail That program is the opposite of "easy to adjust." Want to adjust actual FizzBuzz? Change the argument. Want to change this version? Manually add all the new lines. Reusable code is good code. This is just a goof.
@apidas
@apidas 3 жыл бұрын
I lost it when he spotlight 100 divided by 5 🤣🤣
@SinanAkkoyun
@SinanAkkoyun 3 жыл бұрын
Haskell is so high level it doesn't like your array to touch the side here I went into tears XD
@voynich7119
@voynich7119 3 жыл бұрын
For a moment I thought this was going to be a serious video. So I solved the problem myself before watching just to return to this masterpiece.
@SilverishKitten
@SilverishKitten 2 жыл бұрын
That is honestly adorable xD
@microwavecoffee
@microwavecoffee 3 жыл бұрын
this is at the same level as a guy with a good typing speed just typing the first 100 fizz buzz
@garychap8384
@garychap8384 2 жыл бұрын
Remember... If your array elements touch the side it causes friction which slows down the code and, in the worst cases, can cause the elements to heat up. Most expert coders only ever use the even numbered indices as this prevents the elements from rubbing.
@batatanna
@batatanna 7 ай бұрын
If your array elements touch the side it's gay
@Hayseus712
@Hayseus712 3 жыл бұрын
"I'm doing 1000 calculations in my head per second and they're ALL WRONG!"
@TwentyEightBytes
@TwentyEightBytes 3 жыл бұрын
makes a haskell prayer and then goes along using it for printing strings in vim macros
@leoncampa
@leoncampa 3 жыл бұрын
This is that one video that demotivates you so much, you start questioning your career choices. I don't think I will have this level of mastery with 25+ more years experience.
@cholobok
@cholobok 23 күн бұрын
Just learn vim for like 1 week and you’re good
@SiOfSuBo
@SiOfSuBo 3 жыл бұрын
Did he just say "Bulbasaur" when listing languages? Lol
@IdoWeinst
@IdoWeinst 3 жыл бұрын
Probably referring to this joke: www.reddit.com/r/ProgrammerHumor/comments/6llocd/my_linkedin_profile/
@Abood1016
@Abood1016 3 жыл бұрын
This kid's hilarious, why are people downvoting him.
@cervixcrusader85
@cervixcrusader85 3 жыл бұрын
Because they're probably Angular sheep
@okie9025
@okie9025 3 жыл бұрын
@@cervixcrusader85 says the react sheep 😂
@deusprogrammer_thekingofspace
@deusprogrammer_thekingofspace 3 жыл бұрын
The people downvoting him are probably the interviewers.
@deusprogrammer_thekingofspace
@deusprogrammer_thekingofspace 3 жыл бұрын
Also, I would use React over Angular any day. And I have used both, and Vue for that matter.
@rubenheymans1988
@rubenheymans1988 3 жыл бұрын
because he is using vim? why woul anyone do this. I mean he knows the macro's/shortkeys and he is still slower than using a regular editor
@ThatsMyBub
@ThatsMyBub 3 жыл бұрын
This is a video I watch in bed and then accidentally drop the phone onto my face, but I just leave it there. God bless
@jasontfrom713
@jasontfrom713 3 жыл бұрын
I love how you've combined 2 of my favorite things: coding, and You Suck At Cooking. Well done sir
@lazprayogha
@lazprayogha 3 жыл бұрын
"Haskell is so high level that they" insert anything
@genjuroSE
@genjuroSE 3 жыл бұрын
The programming hype and meme digs go deep in this one Ben. As a fan of FP and a vim user, you got me good, real good. Salute!
@fosspointer
@fosspointer Жыл бұрын
"...is to show off how smart you are" Haskell couldn't NOT come up 🤣
@btgrant
@btgrant 3 жыл бұрын
I can’t believe how entertaining and informative that was. Well done!
@TJHooper123
@TJHooper123 3 жыл бұрын
If I were an interviewer I'd be impressed with those vim skills.
@xarcaz
@xarcaz 3 жыл бұрын
I wouldn't call them skills...
@rubixtheslime
@rubixtheslime 3 жыл бұрын
As a heavy vim user, I'd say it was okay at best. A lot of things would've been much simpler if he had just used a :s command. Eg `:13,s/.*/\\&\\\ /` would add all of the backslashes and newline characters he needed
@TheMonk72
@TheMonk72 3 жыл бұрын
If I was interviewing this guy I would have kicked him out for trying to be cute but a) screwing it up and b) having to use a calculator to divide 100 by 5. And for bonus points, thinking than VIM is impressive. Want to succeed at interviews? Don't be a dick.
@TwskiTV
@TwskiTV 3 жыл бұрын
@@TheMonk72 and I would kick you out because I can't understand your first sentence
@SaHaRaSquad
@SaHaRaSquad 3 жыл бұрын
He used 0C instead of cc. And didn't know he can cancel the 322 input with Escape. But then again you just can't know all the Vim features.
@THECEAMP
@THECEAMP 3 жыл бұрын
I wasn't expecting this XD I laughed my socks off
@axu6207
@axu6207 Жыл бұрын
i just searched for this video 2 years later because it still lives in my nightmares
@TDECali707
@TDECali707 3 жыл бұрын
“Like Wacka Flocka Flame, we are doing this with no hands” 😂😂
@Xaxxus
@Xaxxus 3 жыл бұрын
Your interview question videos kill me everytime. I feel like joking about them actually makes them easier to learn.
@bradeneverson6572
@bradeneverson6572 3 жыл бұрын
Can we get the story behind your sister being called Fizz Buzz?
@jawad9757
@jawad9757 3 жыл бұрын
Please
@lonnybulldozer8426
@lonnybulldozer8426 3 жыл бұрын
It's the sound made while her many lovers pork her simultaneously.
@portlyoldman
@portlyoldman 3 жыл бұрын
Lonny Bulldozer - I REALLY shouldn’t be laughing this much 🤣
@Instr
@Instr 11 ай бұрын
"everyone does her as part of a standard coding interview"
@astackzzzz277
@astackzzzz277 3 жыл бұрын
"...In the name of filter, map, and reduce-Amen" I have laugh out loud in a while, subbed.
@kellybmackenzie
@kellybmackenzie Жыл бұрын
I love this so much, the purest form of the menacing Vim + Haskell energy I can only hope I'll one day achieve
@neoney
@neoney 3 жыл бұрын
„and there’s a lot of good one’s out there, there’s PHP”
@SkylearJ
@SkylearJ 3 жыл бұрын
PHP is beautiful....... If it had better Windows supp for dev and if it was faster
@devnekoboi7812
@devnekoboi7812 3 жыл бұрын
@@vwnb php also has such wonderful features as: - unintuitive function names - parse_str() instead of something along the lines of parse_query(), parse_query_str(), or even just parse_qstr() - inconsistent names among related functions - gettype() vs get_class(), htmlentities() vs html_entity_encode(), etc - ...non-transitive equality (yikes) (a = b and b = c does not always mean that a = c) - ...circular comparison????? (*yikes*) (it is possible for a < b, b < c, c < a to all be true with the same values of a, b, and c) - and as a side effect of circular comparison, there's the lovely feature that sorting a list with sort() will in some cases, not actually return a sorted list. isn't that fun! _and more_ type safety and decent performance, a good language do not make. php is a trainwreck.
@devnekoboi7812
@devnekoboi7812 3 жыл бұрын
@@SkylearJ see my other comment
@debanjanbarman7212
@debanjanbarman7212 3 жыл бұрын
Oh dude really enjoyed this
@idk9761
@idk9761 3 жыл бұрын
This was very helpful. Thanks for this video!
@abdallahalsahhar9511
@abdallahalsahhar9511 3 жыл бұрын
Great video, educating and entertaining, and more than that, it's in Haskell, would love to see more of Haskell
@cornelcristianfilip5048
@cornelcristianfilip5048 3 жыл бұрын
😂Bro' this was sooooo funny!! I laughed my ass off! 😂 Awesome video!
@ra1n_
@ra1n_ 3 жыл бұрын
That One JavaScript Framework. Voldemort of JS Frameworks.
@dpr6516
@dpr6516 3 жыл бұрын
? Haskell is not a js framework
@devkooldude
@devkooldude Ай бұрын
You got me at, "Haskell's such a high level language that you.."
@ianmubangizi6721
@ianmubangizi6721 3 жыл бұрын
Okay this is officially the best video this year, that prayer was gold 🥇
@utsavsingh899
@utsavsingh899 3 жыл бұрын
The running joke on angular is just too good 😂😂😂
@aqibos
@aqibos 3 жыл бұрын
This was just a really hard vim flex, LOL. Hilarious.
@taimurazhar3923
@taimurazhar3923 3 жыл бұрын
This was hilarious and you are a legend. Keep up the great work my dude.
@TheCookieMuncher96
@TheCookieMuncher96 3 жыл бұрын
I was given the fizzbuzz question during an interview for a placement, I think it's a good indication of the person's understanding of programming principles because there's many ways you can complete the challenge
@mouradaouinat8721
@mouradaouinat8721 3 жыл бұрын
10 out of 10 highly recommend
@BarakaAndrew
@BarakaAndrew 3 жыл бұрын
that prayer was spot on 😂😂
@_parassolanki
@_parassolanki 3 жыл бұрын
You got new subscriber with just Vim magic love that part
@lisawu1149
@lisawu1149 3 жыл бұрын
thank you for making this video i was having a hella mood swing so I couldn't watch any videos on youtube that would make me too sad and emotional and this was perfect
@MajorBreakfast
@MajorBreakfast 3 жыл бұрын
Might hit you hard, but it's still 0(1) 😉your length is always 100. Your algorithm has no inputs. Hence it's still O(1)
@championofwits4621
@championofwits4621 3 жыл бұрын
Technically it's still 0(n)
@h7x4
@h7x4 3 жыл бұрын
@@championofwits4621 It can't be O(n) when there is no n ¯\_(ツ)_/¯
@mskiptr
@mskiptr 3 жыл бұрын
BTW Haskell is SUCH *POWERFUL* programming language that it rewrites the second version to be the first one for you
@championofwits4621
@championofwits4621 3 жыл бұрын
@@h7x4 behold my power to solve TSP in 0(1) . 1) step one go on chrome find answer for problem 2) step 2 copy 3) step 3 print ()
@mskiptr
@mskiptr 3 жыл бұрын
@@scottguest2240 Nah, if the algorith was to traverse s list of 100 elements 100 times it would still be O(1). It is in the very definition of O(f) notation - a class of all functions bounded from above by k*f for some number k, from a certain point to the infinity. If the algorith runs in a constant time (because it's defined with constant input) you can bounded it by e.g. f(t)=1year and no matter the input, it won't exceed this limit.
@saikamesh9
@saikamesh9 3 жыл бұрын
Haven't understood a thing happened here. But still like it 🌟
@TheYoRND
@TheYoRND 3 жыл бұрын
Love your humor! ❤️ Keep it up
@arditislami8812
@arditislami8812 3 жыл бұрын
I was expecting to be blown away by some legit amazing code but instead i got a good laugh out of it. Good shit yo.
@programming2249
@programming2249 3 жыл бұрын
One more tip is to bring a spare pair of socks and offer them to the interviewer. I like to get custom ones printed with a QR code to my Linked In page.
@eloisezeng
@eloisezeng 3 жыл бұрын
😂😂😂
@SuperWillAC
@SuperWillAC 3 жыл бұрын
I literally watched the whole thing
@VerySadBatman
@VerySadBatman 3 жыл бұрын
😂😂 Okay! You've won 2021! This is brilliant!
@Zamiell
@Zamiell 3 жыл бұрын
this is one of my new favorite videos
@zomakaja
@zomakaja 3 жыл бұрын
We learned vim macros are hard
@JorgeRafaelNogueras
@JorgeRafaelNogueras 3 жыл бұрын
I foresee the interviewer will start to put on their socks right about the time you crash your editor... 😂
@adamschneider868
@adamschneider868 3 жыл бұрын
This is the most extra thing I have seen in a while.
@omaryahia
@omaryahia 3 жыл бұрын
not what I expected, it is much better thank you for making me know how to do those amazing macros in vim now I am starting to know why many love vim
@wepranaga
@wepranaga 3 жыл бұрын
coding with macros in the interview will pull your interviewer socks off.
@cat47
@cat47 3 жыл бұрын
"This cursed programing tutorial will trigger you"
@computinghangout4100
@computinghangout4100 3 жыл бұрын
Haha, thank you for the video, made my day!
@ScriptRaccoon
@ScriptRaccoon 3 жыл бұрын
I was waiting for the usual Angular roast, but it didn't come. Great video anyways :D
@StrangeIndeed
@StrangeIndeed 3 жыл бұрын
memes aside, I appreciate the fact that Ben has actually memorized the Haskell Prayer
@user-fp6dt1os1l
@user-fp6dt1os1l 3 жыл бұрын
1:18 extremely disappointed you did a Christian cross and not a >>=
3 жыл бұрын
I love this video, good job man.
@poloska9471
@poloska9471 3 жыл бұрын
This really surprised me and I found it absolutely hilarious 😂 Great job figuring all of that out and lmao O(god)
@deimiosxxx
@deimiosxxx 3 жыл бұрын
While I acknowledge the wisdom of the vim gods, me being a mortal in VSCode I'd do it like: 1. Ctrl+Shift+End to select to bottom 2. Alt+Shift+i to split cursor into multiline 3. Home to go to start of line and write the character you want \ or " or whatever 4. End to go to end then write the characters you want for example \ or " or , 5. Press esc to go back to normal cursor
@tevoj
@tevoj 3 жыл бұрын
I would open google spread sheet hahahaha generate the numbers and paste to vscode. STONKS
@trueboxguy5421
@trueboxguy5421 3 жыл бұрын
Extremely disappointing that you didn't use the list monad instance for join, and wrote a function which would clash if you imported Control.Monad. Unbased :(
@fr3fou
@fr3fou 3 жыл бұрын
also could've used $ instead of paren 😔
@welltypedwitch
@welltypedwitch 3 жыл бұрын
Also, he should have really used Text instead of String.
@adewaleafolabi5170
@adewaleafolabi5170 3 жыл бұрын
I subscribed immediately it got to the Haskell prayer. This is gold
@oggy112
@oggy112 3 жыл бұрын
This has got to be your greatest video yet
@leeyoung
@leeyoung 3 жыл бұрын
Didn't know Spotlight Search auto-performs math in Calc app. Thx.
@shadowpenguin3482
@shadowpenguin3482 3 жыл бұрын
I think spotlight can also do it, but he is using Alfred
@bungkai580
@bungkai580 3 жыл бұрын
Ben, why in the world is your sister called FizzBuzz?
@theenigma1109
@theenigma1109 3 жыл бұрын
😂😂
@worldwide_wes
@worldwide_wes 3 жыл бұрын
She’s divisible by 15
@mindsauce3
@mindsauce3 2 жыл бұрын
Because she’s easy
@petecapecod
@petecapecod 3 жыл бұрын
Wow I never thought anyone would do a Fizz Buzz without logic... until NOW!!! 🤯🔥🎆
@datasciencetoday7127
@datasciencetoday7127 3 жыл бұрын
We need a whole channel dedicated to explain Ben's videos
@animatedzombie64
@animatedzombie64 3 жыл бұрын
This is what engineering means 😁
@Eknoma
@Eknoma Жыл бұрын
All of your brackets were unnecessary, the pair in join literally does nothing, and the pair in main should rather be a dollar sign
@jawad9757
@jawad9757 3 жыл бұрын
Oh no, Ben has descended into madness from doing too much haskell
@isfland
@isfland 3 жыл бұрын
No, this is not madness. THIS IS HASKELL 🦵
@nikkobryandelosreyes135
@nikkobryandelosreyes135 2 жыл бұрын
I'm watching this video, and having interview later ... this is hilarious
@basherXxXxX
@basherXxXxX 3 жыл бұрын
Your delivery is so good
@nativeKar
@nativeKar 3 жыл бұрын
Imma chant that prayer before every single interview I take. Word.
@smithscarborough9840
@smithscarborough9840 3 жыл бұрын
Mad programming skills AND a fire Waka Flocka Flame reference. Those socks don't stand a chance! 🔥
@BryceCorbitt
@BryceCorbitt 3 жыл бұрын
Loved the opening prayer 😂
@nicoalfonso4535
@nicoalfonso4535 3 жыл бұрын
This is the content that I crave
@mesenev
@mesenev 3 жыл бұрын
Gonna show this vid to my students as an intro for the haskell course.
@jeffreydarlington3498
@jeffreydarlington3498 3 жыл бұрын
0:44 I felt his breathing in my ears on my headphones
@poloska9471
@poloska9471 3 жыл бұрын
I decided to do FizzBuzz myself without ever seeing a solution or doing it before, after a couple days of learning C# and I was able to implement it successfully within 15 minutes on my first ever attempt/execution of code. Definitely helped me feel good about my future with software engineering (soon to be student).
@eagleloid
@eagleloid 3 жыл бұрын
I lost it when you said, "And then we're just gonna turn this into an array."
@flobbinhoodgames8117
@flobbinhoodgames8117 3 жыл бұрын
This was incredibly enjoyable.
@jovinobalunan6099
@jovinobalunan6099 3 жыл бұрын
I thought there will be a twist after that. Hilarious :D
@pricechadwick
@pricechadwick 3 жыл бұрын
This solution literally destroyed every pair of socks I own.
@mdaprotis
@mdaprotis 3 жыл бұрын
First you drop a 14 hours tutorial and now this... You are awesome! hahaha
FizzBuzz: One Simple Interview Question
7:18
Tom Scott
Рет қаралды 3,5 МЛН
Inverting Binary Trees - You Suck at Coding [1]
10:19
Ben Awad
Рет қаралды 360 М.
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 16 МЛН
Functional Programming & Haskell - Computerphile
9:19
Computerphile
Рет қаралды 658 М.
The Absolute Basics of Vim (It's Not THAT Hard!)
32:03
DistroTube
Рет қаралды 19 М.
Algorithms In Interviews SUCK | Prime Reacts
24:15
ThePrimeTime
Рет қаралды 89 М.
Easy Google Coding Interview With Ben Awad
28:00
Clément Mihailescu
Рет қаралды 996 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 38 М.
10 Newbie Programming Mistakes
7:19
Ben Awad
Рет қаралды 320 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 517 М.
How to Open Source Like a Pro
8:41
Ben Awad
Рет қаралды 542 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 4,9 МЛН
ПЕРЕХОЖУ НА НОВЫЙ ТЕЛЕФОН!
10:34
DimaViper Live
Рет қаралды 45 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 24 МЛН
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,6 МЛН
МОЩНЕЕ ТВОЕГО ПК - iPad Pro M4 (feat. Brickspacer)
28:01
ЗЕ МАККЕРС
Рет қаралды 82 М.
Разряженный iPhone может больше Android
0:34