search
HomeWeb Front-endH5 Tutorial为什么说「一入前端深似海」,入行需谨慎?

看到微博上很多做前端的都打算转行, 很多前端老人都奉劝入行需谨慎, 这是为什么?

回复内容:

其实只要你爱这个行业,愿意打磨自己的技艺,一入什么都深似海。小野二郎捏了75年的寿司,仍然不认为自己已臻至善。
一直重复同样的事情以求精进,我总是向往能够有所进步,我会继续向上,努力达到巅峰,但没有人知道巅峰在哪里。——记录片《寿司之神》

这是流传很广的一张图,供参考。重要的是也许你参考的时候上面的技术有些都过时了,需要你自己修改补充上去。来源:关于前端的那点事儿

为什么说「一入前端深似海」,入行需谨慎? 先向互联网的前端工程师致敬!
前端确实是一个非常辛苦而重要的工作,产品最终的用户体验,都需要前端工程师去实现。
不过前端确实也非常苦逼,主要有以下原因:

1. 搞死人的兼容性:以前写网页的时候,写好一个网页,要满足IE6-IE9各种版本,熟知当时微软IE内核都升级过了,而国内用着盗版XP的网民还执着的用着IE6,一个功能在一个浏览器里能用,在另一个又不行,JS新出个效果,一用就是一个大烂坑。后来又出来一堆搜狗,360,遨游。。前端同学一回想是不是满眼泪。
终于熬到了移动互联网时代,以为从此以后,前端同学也可以一处代码供全球,结果横空出现了成千上万种Android手机,三星,小米,HTC,魅族;之后每出一个功能,又要抱着一堆手机在那里调试。。。老板看到是一个功能,但为了适配,已经做了10个,100个。。。

2. 产品经理改需求:不象同样深似海的后端,在与产品经理讨价还价的时候,后端同学是很有底气的,反正都是代码,出来的都是数字,JSON,你看着办。
前端就不一样,PM看了DEMO,就会忍不住奇思妙想,要不我们再改下布局?再加个效果?这个弹窗弹出时能不能后面改一下背景?这些精益求精的过程,伴随着带来的都是前端同学的加班之夜。。

3. 技术更新迭代快:同比后端,确实有写C,C++,写编译器写十年二十年的,可是用同样的前端技术,最多也挺不过5年吧,越来越煊的效果,组件层出不穷,各种新的交互方式也需要支持,前端同学确实需要干到老,学到老。。

当然,对于前端大牛,以上这些问题都不算是问题,但在成为大牛的路上,还是不免经历那些个坎坷的日日夜夜吧。。。
  • 前端易学难精,很多外人看来,尤其是那些后端狗看起来前端很简单,不就写写js,做个html页面嘛,这也造成了前端成为鄙视链的最末端——做c的看不起做c++的,做c++的看不起做java的,做java的看不起做.net,做.net看不起做页面的。但是,当这堆程序狗在加班调bug时,“美工”正在陪着他的小女友逛街呢。很多时候在后端看来,甚至cto那里,前端正因为入门容易,所以,一直以来前端的待遇不如后端,近几年随着各产品注重用户体验,前端才有所提升,但是,前端是很难精通的,也很难称为大牛,因为一个前端大牛不仅仅只限于前端,稍微大型些的公司招聘前端时都注明:会php/python或者java优先。
  • 前端需经得起寂寞。前端的知识点非常细碎,各种浏览器的兼容性,各种设备的适配性,响应式设计、扁平化、视差滚动层出不穷的新概念新设计方向,你需要耐得住寂寞,时时更新自己的知识,偶尔你的头脑风暴,可能很多时候在boss那,在用户那得来的却是一个否定
其中一个原因是前端是最直接展示给人看的
后端烂一点 你把代码包装好用户看不见 不会吐槽你
前端不美观或者交互不顺手 整个公司从老板到用户都会吐槽你 为什么说「一入前端深似海」,入行需谨慎? 前后端都做过,已经深刻的感觉到那些做后端的鄙视前端的人是在打自己脸 不光深如海,而且广如天空,一图胜千言:
为什么说「一入前端深似海」,入行需谨慎?

转自:github.com/JacksonTian/ 现在已经还好了吧。前两年我亲眼见前端被IE6折磨的痛不欲生的模样,这两年好多了。 入哪行水不深?

不管哪行的人都有「一入xx深似海」之类的话,来提高自己的比格的吧? 前端工程师事比较多比较杂,敲得代码量最多,技术含量最低,尤其是冲在前线跟pm和设计师搏斗,浪费很多体力,典型的活多钱少还受气。
所以综合来说,做前端除非你对前端有着深厚的感情,极大的热情,单从工作,晋级空间,收入地位上来说,比不过其他岗位,比不过后端。

杨树苗说了,现在啥事能干一辈子啊,唱歌唱不了一辈子,程序员能写一辈子代码吗?知乎上好像有了写了十几年代码的大牛,这个我不清楚,但是bat里有几个正常退休的码农?我估计是没有吧,计算机这东西才出现了多少年。从传统观念来说,这些事都不靠谱,但是如果你真心喜爱可以每天开心的工作,何乐而不为呢
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
H5: How It Enhances User Experience on the WebH5: How It Enhances User Experience on the WebApr 19, 2025 am 12:08 AM

H5 improves web user experience with multimedia support, offline storage and performance optimization. 1) Multimedia support: H5 and elements simplify development and improve user experience. 2) Offline storage: WebStorage and IndexedDB allow offline use to improve the experience. 3) Performance optimization: WebWorkers and elements optimize performance to reduce bandwidth consumption.

Deconstructing H5 Code: Tags, Elements, and AttributesDeconstructing H5 Code: Tags, Elements, and AttributesApr 18, 2025 am 12:06 AM

HTML5 code consists of tags, elements and attributes: 1. The tag defines the content type and is surrounded by angle brackets, such as. 2. Elements are composed of start tags, contents and end tags, such as contents. 3. Attributes define key-value pairs in the start tag, enhance functions, such as. These are the basic units for building web structure.

Understanding H5 Code: The Fundamentals of HTML5Understanding H5 Code: The Fundamentals of HTML5Apr 17, 2025 am 12:08 AM

HTML5 is a key technology for building modern web pages, providing many new elements and features. 1. HTML5 introduces semantic elements such as, , etc., which enhances web page structure and SEO. 2. Support multimedia elements and embed media without plug-ins. 3. Forms enhance new input types and verification properties, simplifying the verification process. 4. Offer offline and local storage functions to improve web page performance and user experience.

H5 Code: Best Practices for Web DevelopersH5 Code: Best Practices for Web DevelopersApr 16, 2025 am 12:14 AM

Best practices for H5 code include: 1. Use correct DOCTYPE declarations and character encoding; 2. Use semantic tags; 3. Reduce HTTP requests; 4. Use asynchronous loading; 5. Optimize images. These practices can improve the efficiency, maintainability and user experience of web pages.

H5: The Evolution of Web Standards and TechnologiesH5: The Evolution of Web Standards and TechnologiesApr 15, 2025 am 12:12 AM

Web standards and technologies have evolved from HTML4, CSS2 and simple JavaScript to date and have undergone significant developments. 1) HTML5 introduces APIs such as Canvas and WebStorage, which enhances the complexity and interactivity of web applications. 2) CSS3 adds animation and transition functions to make the page more effective. 3) JavaScript improves development efficiency and code readability through modern syntax of Node.js and ES6, such as arrow functions and classes. These changes have promoted the development of performance optimization and best practices of web applications.

Is H5 a Shorthand for HTML5? Exploring the DetailsIs H5 a Shorthand for HTML5? Exploring the DetailsApr 14, 2025 am 12:05 AM

H5 is not just the abbreviation of HTML5, it represents a wider modern web development technology ecosystem: 1. H5 includes HTML5, CSS3, JavaScript and related APIs and technologies; 2. It provides a richer, interactive and smooth user experience, and can run seamlessly on multiple devices; 3. Using the H5 technology stack, you can create responsive web pages and complex interactive functions.

H5 and HTML5: Commonly Used Terms in Web DevelopmentH5 and HTML5: Commonly Used Terms in Web DevelopmentApr 13, 2025 am 12:01 AM

H5 and HTML5 refer to the same thing, namely HTML5. HTML5 is the fifth version of HTML, bringing new features such as semantic tags, multimedia support, canvas and graphics, offline storage and local storage, improving the expressiveness and interactivity of web pages.

What Does H5 Refer To? Exploring the ContextWhat Does H5 Refer To? Exploring the ContextApr 12, 2025 am 12:03 AM

H5referstoHTML5,apivotaltechnologyinwebdevelopment.1)HTML5introducesnewelementsandAPIsforrich,dynamicwebapplications.2)Itsupportsmultimediawithoutplugins,enhancinguserexperienceacrossdevices.3)SemanticelementsimprovecontentstructureandSEO.4)H5'srespo

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.