DEV Community

George profile picture

George

404 bio not found

Location Newcastle upon Tyne Joined Joined on  github website twitter website

Work

Software Consultant

All 186 comments

Is there a suitable equivalent to `Function.caller` in modern JS?

A sadly irritating workaround :/

GitHub has acquired npm

... ...? Profit.

Whatever happened to the test pyramid?

This is why I have started to love React Testing Library, I...

Truths about code optimization & developer careers

Hard truths for new software developers This should be f...

Are Front-End Developers Happy?

"Full-stack" consultant here, specialising in front-end. ...

What's your spookiest coding story?

Spent about two hours working on a complex new part of the ...

Dev.to: How to stop the spammers?

Im part of the moderation team here, and I agree it's a rea...

The cognitive complexity of learning.

iv got time, maybe 50 to 60 years Is that till retiremen...

The cognitive complexity of learning.

The issue I always have with a "quick and dirty" approach w...

Whats your dev theme?

Minimal light theme. Everything else default. Im usually a...

Re-render React.js Child Component By Passing Object Prop

You are using useState in an unusual way... I would rewrit...

Updating component state in React

Have you tried React hooks? You could achieve this state c...

Explaining Front-End Humor

Bah! First time I saw VanillaJS was when I was learning JS ...

"GraphQL vs REST" is ill-typed

Brilliant overview of when you should/shouldn’t use Graph/RES...

Array Flattening in 5 lines

Oh absolutely! It’s a valuable thing being able to understa...

Using terminal

Sounds awesome! Let me know if you need help with anything ...

Using terminal

They are all good! Another really useful command is the man...

Array Flattening in 5 lines

You may also like Array.flat() Supported on all browsers e...

Using terminal

Great summary of the most used commands! How are you findi...

The future of Javascript - features to keep an eye on

Ahh I see, so it’s like .map().flat()? Makes sense, still...

The future of Javascript - features to keep an eye on

Can someone give a quick overview of the benefits of flatMa...

How I manage to make my Storybook project the most efficient possible

Fair enough, I like working with small focused files. If it...

How I manage to make my Storybook project the most efficient possible

I’m currently working with a system with 30-50 (never count...

Is it true that here are no actual full stack developers in 2019.

Yes and no... Yes, the stack is too large for one person....

Learn In Public

An interesting outlook that I can get behind. I wrote a cou...

Discussion: Is a Running a Massive Project equivalent to Running a Company

On a large project, its unlikely you have had to deal with:...

MAC and Me: How Many MAC Addresses Are On Me Right Now?

On my desk or person: Laptop (2) Keyboard (1) Mouse (1) N...

hElLo Dev!

👋

Things I learned about variables on Codecademy

It defiantly will! Do you have an end goal in mind after th...

Things I learned about variables on Codecademy

Awesome start, whats next on the learning list? Wish I had...

How often do you clean your screen/keyboard?

No where near enough, then I get obsessive and everything b...

It’s my birthday

🎉

Reasons developers avoid CSS

High5 ✋. CSS is great!

What’s overrated?

Dont forget to add Synthwave 84

What’s overrated?

VS Code is built on electron... That is my only example of...

What’s overrated?

I love code formatters. I like writing my js without semico...

What’s overrated?

I was with you till you said seafood... 🤨

What’s overrated?

Yeah... but what if?

😲🤯The most outstanding new feature in Javascript you need to know about: Optional Chaining

Ooft, pet peeve right here. When you need to use a single ...

Daily Challenge #56 - Coffee Shop

Awesome, thank you!

ES6 Mini Crash Course: How to Write Modern JavaScript

Just remember that while you may be using const in a static...

Daily Challenge #56 - Coffee Shop

What is the name for the {a:'A', b:'B', c:'C'}[value] ...

How can you identify unhealthy perfectionism in your work?

The fact my personal site has taken 6 complete reworks, alm...

Staying Sane while Organizing CSS

I feel that for anyone doing front-end, that learning css w...

What would be your favorite free open source?

DEV?

Need suggestions for my python repo

projecteuler.net/archives You have to provide the correct ...

Daily Challenge #46 - ???

Tomorrows challenge: Write a random challenge generator!

Daily Challenge #46 - ???

Javascript: const removeQuestionMark = string => strin...

Understanding Rest Parameter Syntax

Out of curiosity, why are you choosing to use function(.....

Styled components, the styling library for your React apps you don’t want to be without

Im currently using StyledComponents in on a live product. I...

What intermediate/advanced CSS resources do you find essential?

I’ve been pointing people to css-tricks, however it doesn’t...

What intermediate/advanced CSS resources do you find essential?

Oh I defiantly agree with all these points. CodePen especia...

What's hard about React Hooks for you?

Was release only ~6 months ago? I started playing with hook...

What's hard about React Hooks for you?

At this point, would it be so bad to fork React into a hooks...

Advanced CSS: Quantity Queries + Creating a Fluid Responsive Grid with Flex + Zero Media Queries

Sounds good to me!

Advanced CSS: Quantity Queries + Creating a Fluid Responsive Grid with Flex + Zero Media Queries

Would CSS grid not be a better application for this than Fl...

Once and for all: const in JavaScript is not immutable

If you want immutability then you need to start using Objec...

What was the most over-hyped software movement?

Can you expand? I feel like it's one of the greatest succes...

What was the most over-hyped software movement?

During my AI module at uni a while back, my lecturer (a lea...

What was the most over-hyped software movement?

Also Scrum... Scrum is one of them things that works ama...

What VSCode theme are you using?

SynthWave '84 with full glowyness (and accompanying VSCode ...

ReactJS File Structure

File structure is crucial to get right, and by right I mean...

𝙷𝚘𝚠 𝚒𝚜 𝚝𝚑𝚒𝚜 𝚖𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎?

Thats cool, but it sounds horribly inaccessible. Wouldn't u...

I don't want to see posts like "Which Framework is Winner?"

I dont even look at start count. You use the right framewor...

Jack Of All Trades or Master of One?

Im a firm believer in following your passion(s). You look a...

Should a lack of side projects raise flags in an interview?

Dont think I could have put it better.

Do you know what you optimize for?

Also use this to identify areas you perhaps spend time wher...

How do you explain what you do?

Consultant here: People tend to know what consultants are,...

Weird things you can (but shouldn't) do with JavaScript tagged templates

I am now using this, and I love it!

Weird things you can (but shouldn't) do with JavaScript tagged templates

🧐🤔🤷‍♀️ Also, I have to ask about the neon-esq theme... How...

Understanding Array.prototype.flatMap

I love functional programming, its what I push for all my c...

Understanding Array.prototype.flatMap

I have never really understood a use for this. I feel like ...

Being a Female Programmer: How is it For You?

Some great responses here and great discussion! One questi...

Raspberry Pi 4 Goes On Sale: “This is a comprehensive upgrade”

Mine makes a good dust catcher, best dust collector at its ...

Raspberry Pi 4 Goes On Sale: “This is a comprehensive upgrade”

$55 for the high end version and $120 for the full kit... I...

How do you commit in GitHub ?

New project: Create repo on GitHub git clone <link to ...

What was your first job?

Nah first dev job was with a government department. I got m...

How was your experience when switching from mac/windows to Linux

Windows => Arch : Frustrating as I had no idea what I wa...

Confused by JavaScript's const? Me too!

I had always assumed they were immutable, was shocked to fi...

What was your first job?

1st "job" (2009) - Ski assistant 1st legal job (2011) - Wai...

Confused by JavaScript's const? Me too!

You should check out Object.freeze if you want const to be ...

Money poor Time rich or vice versa

Depends, at the moment Option 1. Im still passionate withou...

Goodbye Sass, Hello CssPresetEnv

Interesting, thanks for highlighting this!

VS Code vs Atom - how to decide?

I moved from Atom to VS Code just to try it... not looked b...

How many conferences are too many?

0 on company time for me sadly. Nature of the job though......

Pink Theme > Any Other Theme

I run Pink Theme with comic sans. Fite me bro!

Is CSS Hard?

No, its different from every other language you will use. M...

Why I don't think a Degree is Necessary to Become A Developer.

I work alongside people who did 4/5 year apprenticeships in...

How important are math skills for software development?

Depends on the job. Ive worked with data scientists befor...

Is it a good idea to use CLIs to generate projects in JavaScript?

I created a simple React boilerplate that is ready for prod...

Is it a good idea to use CLIs to generate projects in JavaScript?

Im currently working with people who are learning React for...

When you started your career in 2000's...

Excellent read. I fear that imposter syndrome will only ev...

Maps in JavaScript

This is a great overview! I was expecting it to be the othe...

Find the largest number in an Array - one line

Depends what the codes for really. Math.max() is easier to...

ф

🤷‍♀️, clearly written code

Should I finish University?

If only 1/4 of a course then only if you feel its beneficia...

What do you do if you're in the middle of a project and you realize it already exists in the world?

Projects are usually for fun. If it existing is enough to p...

Top 5 DEV Comments from the Past Week

🎉🎉🎉 Thank you! Well done to everyone else! Now time to fig...

Demystifying Array.prototype.flat

This is why I thought it should be mentioned. It kept catch...

I'm Not Passionate About Coding

I feel that it is important to realise that a career choice...

I'm Not Passionate About Coding

Im in a similar boat, this is a career I am in because it i...

Demystifying Array.prototype.flat

Also maybe worth mentioning that arr.flat() is the sa...

Favorite IDE or text editor?

VS Code. I seem to be with the majority.

As a freelance web developer, how do you cope up with learning so many technologies?

Not a freelancer but a consultant. We go into companies, le...

Nested Ternary statements in React JSX

I just use indentation. const drink = dislikeCoke ? ...

Hello World

👋

How Do You Manage Dotfiles Across Environments and Machines

I have a ~/.dotfiles directory that I put all my dotfiles i...

What is your favourite frontend framework or tool?

I know (knew) angular 1.4/5. My knowledge of React came fro...

Hi FlexBox, nice to meet you 🙂

My go-to flexbox cheat sheet

Use CSS animation for game in js (just for fun)

If you added this to CodePen you could embed the code and d...

Let's Talk About MicroFrontends

When I say that I understand the appeal, I mean that I can ...

Let's Talk About MicroFrontends

All I can think is about the amount of resources needed to ...

What is your favourite frontend framework or tool?

React, but thats only because I have the most experience wi...

Should a button communicate the current state, the intended behavior, or both?

I feel that the button should state what it will do. Having...

Arrogance

We challenge it in a formal environment. If someone is try...

What's your worst nightmare as a coder?

Change.

I'm having some "not this again" feelings with Parcel, how should I be feeling about this tool?

Care to share your plan, or at least how you planned? My le...

Install This PWA To Continue

Forcing users to install a PWA for most sites would lead to...

dev.to open source help/discussion thread (v0)

I had this, although it was recommended against in the pull...

Cross-posting to Dev

The only time i usually follow through to a site is for mor...

Why do you choose Mac over other options?

Fortunately I haven't been faced with that issue since maki...

dev.to open source help/discussion thread (v0)

Hey, im trying to contribute to issue #3091 ...

15 days of #100DaysofCode for a complete Noob - Have I achieved anything relevant?

Excellent progress, keep going! FYI: your codepen dashboar...

Why do you choose Mac over other options?

Work provides a MacBook Pro, I run Arch on my personal lapt...

Questions 🙋

Function constructors still have their place for now, but...

Chromium and the browser monoculture problem

Nothing wrong with posts that require prior knowledge, if e...

What do you want to be when you grow up?

Honestly, my realistic dream is to own a house in an area I...

Hoisting in JS: The Quick and Dirty

What really helped me understand ...

Chromium and the browser monoculture problem

Oh I agree totally, I was just trying to clear up the diffe...

Is Docker an overkill during development?

Currently running Docker, Chrome (with more tabs that scree...

What keeps you from trying out new tech?

For me, its the time investment needed to understand enough...

Can someone ELI5 the difference UI and UX

updated my comment

Can someone ELI5 the difference UI and UX

UI (user interaction) is how it looks, how it makes the use...

What do you want to be when you grow up?

I want to be working for passion, not for survival.

Chromium and the browser monoculture problem

There really isnt much of a difference between chromium and...

Are CSS and HTML programming languages?

Best HTML + CSS only I have seen...

Can you create an accessible React component?

Bit late I know, but why not WAI-ARIA 1.2

Find out how my dev blog reached 1 million page views

Pro tip: you can get the chrome dino game by navigating to ...

AMA, Sam 10-yr Googler in Web DevRel

TIL! Ill take a proper look at all this.

AMA, Sam 10-yr Googler in Web DevRel

I feel that the largest issue with PWA's is the lack of pub...

What habit do many senior engineers have that juniors should try to avoid adopting?

To add to this, its okay if your passion isn't coding. Tryi...

Demystifying "const" variables in JavaScript

Map, Filter and Reduce are loops, but they are immutable fo...

Demystifying "const" variables in JavaScript

Functional and immutable Js makes code more readable and ma...

Can you manage a dev team and still be hands on?

She* and I have no idea how. Always available and always bu...

Can you manage a dev team and still be hands on?

My CTO works 2 days a week on a project with a team, 1 day ...

Hello, I'm a junior and I suck at organizing my work, how do you do?

It sounds to me like you just need more experience with est...

Oops, my bed is too tall!

Pfft, really should do some user testing with the prototype...

Hello, I'm a junior and I suck at organizing my work, how do you do?

It depends what you mean by organising your work? If its o...

What programming best practice do you disagree with?

My counter to this is that with any suitably large product,...

What would you like to see implemented on DEV?

One of the great things about DEV imo is the ability for an...

What would you like to see implemented on DEV?

Huh, I didn’t see that in the docs when looking for it. Goo...

What would you like to see implemented on DEV?

Personally, I would like to see: A subscribed user feed, ...

Medium Was Never Meant to Be a Part of the Developer Ecosystem

Thanks for being so open! Really refreshing! I know that thi...

Medium Was Never Meant to Be a Part of the Developer Ecosystem

So much this. The way that DEV works to get information to pe...

Are there any new or upcoming browser APIs you are keeping an eye on?

Ive been following this too, a little. The largest issues I...

How to Use React's Context Hook

Thanks, been trying to wrap my head round this all day!

Using arrow functions might be costing you performance

Sorry, gotta get the clickbait in 😅, need my internet point...

Introducing a banner generator for your articles on DEV

My suggestions, although there is nothing wrong with this, ...

dilemma in the life of a programmer :(

If you use anything open source, are there any features you...

Are we giving GitHub too much control?

I wonder about control over what? Any T&C’s that could...

Work for a Company that Loves you...

I want to warn people off of feeling emotionally beholden ...

What is more valuable in software, specialization or generalization?

Specialisation till you are comfy/established, then general...

Is Deep Learning a Dead End?

My belief is that the companies and governments who invest ...

Why You Need (at least) Two Mentors

I also have what I would describe as a "specialist mentor"....

My work setup, what's yours?

We are almost polar opposites when it comes to on desk stuf...

That’s not very Data Warehouse - an argument against elegant SQL code

Code should be first and foremost readable. If it is readab...

Programming and the Art of Sewing Machine Maintenance

Also a good reminder to keep the basics in good shape. If y...

Are Anti App Addiction Policies/Laws the next big discussion in tech?

The question is, can you create a successful user centric p...

Are Anti App Addiction Policies/Laws the next big discussion in tech?

Oh I completely agree. My point was that if there is any le...

Are Anti App Addiction Policies/Laws the next big discussion in tech?

I believe there are also xp restrictions after 3 hours of g...

Any manual of github for beginners (I need for use with Maven in Eclipse EE)?

Git is independent of your ide/compiler/file type/language/...

Using npm's `ls` command for Fun and Insight

Out of curiosity, if you are running nmp install within you...

Critiquing my growth as a developer over the last few years

My time management improvement, I put down to working in 2 ...

I want to become a software engineer

What are you interested in? Start there. Web is often give...

copy and paste , with or against

It depends, if it is for a personal project or to learn the...

Explain NoSQL Databases Like I'm Five

Second sentence, did you mean SQL instead of NoSQL?

loading...