Programming › Re: Why Do Self Taught Programmers Over Exaggerate by Shepherdd(m): 9:48am On Jun 28, 2020 |
javaRookie: The same FORTRAN that was used to write one of the most popular machine learning library Scipy that is used on your so called modern day generation language Python. The thing is that we like jumping on the next shiny thing forgetting the foundation that gave rise to those our "Knight in shining armour" I overhead some programmers saying that Javascript and python are going to phase out C and C++. I couldn't help but laugh out loud! You want to chase out the foundation, the core that gave rise to you? Most of the libraries that Python uses are built with C. Even the FORTRAN you so despise is even computationally faster than most of your modern languages. I don't use Fortran, but i won't just overlook their usefulness and what they have contributed to the world of programming languages.
Big company like Google, ibm uses scripting languages like python and Ruby for making quick prototype but when a standard enterprise app is needed, they would go back to these core languages like FORTRAN(if the solution use more of numerical computing) C and the rest of our oldies. Gosh even the Nodejs making wave was written in C++.
I try to keep an open mind to all programming language because you don't use them does not make them useless.
To the Mr Bible guy, i think you need to get a grip of your self. You are just trying to discredit those self taught programmers by all means which to me is not sound.
Computer science make the complex algorithms with their vast knowledge of discrete mathematics. And all these algorithm can be implemented on any language of choice by these "Roadside" programmers in the web app or software. Every body gets where they come in.
The thing is that in Nigeria we focus more on theory than the practical unlike western countries who would give you the theory break down and practical to go with it. That is why many cs grad in Nigeria doesn't know how to code that much. I am a cs undergraduate myself so i know what i am talking about. The fault is partly form the CS professor, they over simply the Cs lane that an average Joe can use it, there making the young cs grads look redundant. Make it simple but not too simple that i would lose my job - A lecture of mine said this. Also the fault also is from the Nigerian ecosystem who outs so much importance on web apps as if it is the beginning and end of Computer Science.
You won't believe how much Google waste in getting maths and cs Professor of which all they do is making heavy research on how to improve google algorithm and make new solutions complex application.  . Leave them o. Fortran that they hate is driving the satellites that gives them internet access. Or the C that their Android, iPhone, mac and Windows is written with. |
Programming › Re: Why Do Self Taught Programmers Over Exaggerate by Shepherdd(m): 1:01pm On Jun 26, 2020 |
|
Programming › Re: Why Do Self Taught Programmers Over Exaggerate by Shepherdd(m): 10:36am On Jun 26, 2020 |
ARCHEMEDESME: that's not the problem , the problem is that they over exaggerate their abilities and how much they know . Just think of an electrician's apprentice saying he knows more than an engineer and that an engineering degree is a waste of time . Most people think CS is all about writing code , by the way I'm an electrical engineering student. Well I think that shit only happens in Nigeria because truth be told you might know more than a Nigerian CS graduate if you really have the affinity for computers and you read books. Many of CS students that I know back then are confused. Their lectures just teach them crap. Tell them to write assembly or port a driver for another architecture and you get funny answers. I have a friend who studied CS abroad, this guy is not that serious with the course(he is an insurance guy now) but damn he writes low level assembly code easily and he can easily blow some Nigerian CS graduates that I know out of the water. |
Programming › Re: Python Selenium Webdriver Error by Shepherdd(m): 10:24am On Jun 26, 2020 |
MakindeHassan: Ran the second code and got
(unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location C:\Users\User\PycharmProjects\nairaplay\venv\selenium\webdriver\chrome\chromedriver.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Why not update chrome and see if the issue persists. You will also need to download the latest chrome driver too. |
Fashion › Re: Makeup Artist Turns Her Face To Buhari (Photos) by Shepherdd(m): 10:11am On Jun 26, 2020 |
|
Programming › Re: Python Selenium Webdriver Error by Shepherdd(m): 12:29am On Jun 26, 2020 |
MakindeHassan: thank you for being helpful and im sorry im a novice at this but this is the new code after downloading with the link you sent and extracting to path
import selenium import time from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(executable_path=r'C:\Users\User\.wdm\drivers\chromedriver\win32\chromedriver.exe')
driver.get('https://web.whatsapp.com/')
This is the error message;
selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process. Or from selenium.webdriver.chrome.options import Options options = Options() options.binary_location = "C:\\path\\to\\chrome.exe" options.add_argument("--start-maximized" ) options.add_argument("--no-sandbox" ) options.add_argument("--disable-dev-shm-usage" ) options.add_experimental_option("excludeSwitches", ["enable-automation"]) options.add_experimental_option('useAutomationExtension', False) driver = webdriver.Chrome(options=options, executable_path=r'C:\path\to\chromedriver.exe') |
Programming › Re: Python Selenium Webdriver Error by Shepherdd(m): 12:27am On Jun 26, 2020 |
MakindeHassan: thank you for being helpful and im sorry im a novice at this but this is the new code after downloading with the link you sent and extracting to path
import selenium import time from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(executable_path=r'C:\Users\User\.wdm\drivers\chromedriver\win32\chromedriver.exe')
driver.get('https://web.whatsapp.com/')
This is the error message;
selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process. Ok try from selenium.webdriver.chrome.options import Options chrome_options = Options() chrome_options.add_argument('--headless') chrome_options.add_argument('--no-sandbox') chrome_options.add_argument('--disable-dev-shm-usage') driver = webdriver.Chrome('path to driver',chrome_options=chrome_options) |
Programming › Re: Teach Me How To Think Like A Programmer by Shepherdd(m): 12:19am On Jun 26, 2020 |
Ausrichie: I don't bother reading C++ source code. With the disgusting multi inheritance and the mountain of useless features, for example most tutors always advise to never use them, because too much of them becomes hard to trace at the end. And by the way ANSI standardised C a long time ago, the problem is that people were already used to the way they coded plus back when Dennis Ritchie (rest in peace) made C memory was so expensive and small so they had to make function and library names small to avoid loss of space, this also affected lots of things. Yes and yes. C++ is a good example of a project getting out of hand. C was just like assembly in high level but C++ is just something else. And I meant something like community conventions like Python's snake casing and PEP 8 in general. |
Programming › Re: Python Selenium Webdriver Error by Shepherdd(m): 10:58pm On Jun 25, 2020 |
|
Programming › Re: Python Selenium Webdriver Error by Shepherdd(m): 10:36pm On Jun 25, 2020 |
MakindeHassan: Thanks.
just tried this and this was the error message;
[WDM] - Current google-chrome version is 83.0.4103 [WDM] - Get LATEST driver version for 83.0.4103 [WDM] - There is no [win32] chromedriver for browser 83.0.4103 in cache [WDM] - Get LATEST driver version for 83.0.4103 [WDM] - Trying to download new driver from http://chromedriver.storage.googleapis.com/83.0.4103.39/chromedriver_win32.zip [WDM] - Driver has been saved in cache [C:\Users\User\.wdm\drivers\chromedriver\win32\83.0.4103.39] Traceback (most recent call last): File "C:/Users/User/PycharmProjects/nairaplay/venv/scrape3.py", line 7, in <module> driver = webdriver.Chrome(ChromeDriverManager().install()) Did you restart pycharm after the install. If no please restart it. |
Programming › Re: Python Selenium Webdriver Error by Shepherdd(m): 10:25pm On Jun 25, 2020 |
You have to download a driver for the browser but let me give you a shortcut. Do pip install webdriver-manager Then in your Python file add from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(ChromeDriverManager().install()) This will fetch the latest driver binary for you. |
Programming › Re: Why Do Self Taught Programmers Over Exaggerate by Shepherdd(m): 7:01pm On Jun 25, 2020 |
CodeTemplar: Oga, backend of enterprise resource apps or MIS apps is like 1% of CS. In industrial settings of serious nations their mechatronics set up feature even CS. It is funny how people forget System engr, Software Engineering, MIS, and other software related programs to focus their energy on CS and think the ability to conjure apps makes them some kind of guru. Right. I was just stating to the guy that a CS degree at a huge company for a back end job is not an overkill. A CS graduate will better appreciate and efficiently use the system at hand and am not talking about back end jobs like news website or forums and cohorts. Back end systems like Netflix, Google Compute Engine, Facebook core, Spacex Dragon Simulation are all good examples of Applications where a CS graduate will shine and a Normal boot camp graduate will struggle. And yes these apps are built with various branches of CS like sys engineering, cns, micro architecture e.t.c |
Programming › Re: Teach Me How To Think Like A Programmer by Shepherdd(m): 4:41pm On Jun 25, 2020 |
Ausrichie: Reading other people's codes is the worst thing for C programmers. The bastard experts teach you with stupid words like "name a variable correctly", "use camel casing" bla bla bla. Dammit if you look at Linux or MINIX source code you'll just want to die. Ikr. Maybe it's due to the fact that there wasn't any form of standardization back then. But for c++ those gurus belong to different caliber and a fake c++ programmer (that only makes use of c style syntax) will surely find themselves lost reading c++ source code. |
Programming › Re: Why Do Self Taught Programmers Over Exaggerate by Shepherdd(m): 1:21pm On Jun 25, 2020 |
ARCHEMEDESME: I've noticed a certain trend ; a lot of self taught developers seem to look down on a cs degree after learning just an aspect of computer science.
For example someone who decides to learn backend web development ( which is a subset of cs)by taking an udemy course thinks he has learnt more than a serious minded cs student . They go about saying stuff like :" I didn't study computer science but I can know more than a cs major" but they seem to forget that computer science goes beyond developing websites. To me it's a waste of time of time studying cs just because you want to be a web developer , correct me if I'm wrong but I think that's what boot camps are meant for .
But that doesn't change the fact that some CS majors know nothing , I've come across some CS majors that can't code but that doesn't make a cs degree worthless. But do you think such people are right ? Getting a cs degree for a back end development career might not be an overkill. Back end development at major companies like FANG requires a solid understanding of Data structures and Algorithm, a good understanding of how the language you are using for the development and the hardware relates, knowing the inner workings of the hardware, and how computers work overall. For example Google had to create their own programming language because the existing ones had some issues i.e Python is too slow, Java is verbose, C++ compiles like a snail in addition to the fact that you have to do memory management etc. Imagine one million requests hitting your server at once in need of a database or file write operation? A cs graduate knows about how operating systems works and how to do efficient concurrency and maximizing the usefulness of the hardware, a boot camp graduate might not even be aware of process forking. Methods like bit shifting to store user permissions are easy hacks for CS graduates while a boot camper might not even be aware of the roles of the binary system in computing. Finally boasting about knowing more than CS graduates is just a show of ignorance. Yes you can, but my friend before you can reach that stage you would have studied a lot alone, and when you are done you would realize that a CS degree might even be the shortcut. |
Programming › Re: Teach Me How To Think Like A Programmer by Shepherdd(m): 5:46pm On Jun 24, 2020*. Modified: 10:07am On Jun 25, 2020 |
Ok let me try.
I have a test I always ask the few people I teach programming. My own teacher was also asked this same question. It goes as thus.
Imagine I am a computer, and assuming English is a programming language write out the steps in cooking me a spaghetti meal. Easy right?
I would get a result like : Put the pot on the gas and pour in the spaghetti. This is total blunder try again.
Put the pot on the gas add water and add the spaghetti. Try again.
Ignite the gas now put the pot on the gas allow the water to boil add the spaghetti.... Here I add a hint that won't they remove the spaghetti from the nylon wrapper?
After some minutes of cycling I would get a fairly acceptable answer but still missing a key point which is serving me the meal after it's preparation which is a key point in my request prepare me a meal!!!
You see people have a popular statement saying computers are very dumb. You must have heard about the term garbage in garbage out regarding computers. Sometimes you pass garbage in through naivety or lack of skill. A good example of this is when I was implementing a fun chat system where two people can only chat when and only when they read the same book or article. I did something like this
Get user1 books and get user2 books For books read by user1 and user2 if they equal then they can chat.
Well this was catastrophic in that all my new users can now chat without ever reading a book? Can you spot why in the code. I wasn't accounting for the fact that a new user would have None or null as their book and consequently None is equal to None when comparing two users and so they read a book in common None. Hilarious right? Computers are dumb or the programmer is dumber.
So good programmers are somewhat immune to this craziness by extensively practicing over the years. When you code over the years you will be able to spot these blunders in your head before you even code them.
Also reading people's code and trying to understand what's going on will help you. Dive into GitHub and look for interesting projects in JavaScript read the code and try to imagine what a code block is doing. Try and reverse engineer some parts of the project to be more efficient.
A JavaScript beginner should have knowledge on manipulation of arrays, strings, objects(although slightly advanced), and fundamental data types. Coercion, casting, Kings territory problem (let vs var vs const) is also recommended.
For in loop outputs the index of each element while For of outputs the value. For of also looks deep into the enumerable properties of objects which might land you into trouble as it will produce the index of functions as well. ( And yes arrays can also hold functions i.e Array.prototype) but can be avoided with something like if (if array.hasOwnProperty(index)).
Happy JavaScripting. |
Programming › Re: Python 3: Exercises And Solutions. by Shepherdd(m): 9:21pm On Jun 09, 2020 |
gbolly1151: Guy...this is advance question and it is base on graph data structure,i myself haven't try to solve it but you can give it a try and test your data structure skill
Write a program that builds the routing tables for the nodes in a computer network, based on shortest-path routing, where path distance is measured by hop count, that is, the number of edges in a path. The input for this problem is the connectivity information for all the nodes in the network, as in the following example: 241.12.31.14: 241.12.31.15 241.12.31.18 241.12.31.19
which indicates three network nodes that are connected to 241.12.31.14, that is, three nodes that are one hop away. The routing table for the node at address A is a set of pairs (B,C), which indicates that, to route a message from A to B, the next node to send to (on the shortest path from A to B) is C. Your program should output the routing table for each node in the network, given an input list of node connectivity lists, each of which is input in the syntax as shown above, one per line. Although this question does not provide the routing table I made some assumptions. routing_table = { 'a': {'c': 5, 'b': 1}, 'b': {'a': 1, 'd': 4, 'c': 2}, 'c': {'e': 3, 'b': 2, 'd': 2}, 'd': {'b': 4, 'c': 2, 'e': 8, 'g': 1}, 'e': {'c': 3, 'f': 2, 'd': 8, 'g': 1}, 'f': {'e': 2, 'g': 1}, 'g': {'d': 1, 'e': 1, 'f': 1}, }
def grade_route (vertex, links, total_cost, previous): for destination, cost in links.items(): previous_cost = total_cost[destination] potential_cost = cost + total_cost[vertex] if potential_cost < previous_cost: total_cost[destination] = potential_cost previous[destination] = vertex
def shortest_path(graph, source, destination): previous = {} total_cost = {vertex: (lambda x : float('inf') if x != source else 0)(vertex) for vertex in graph.keys()} route = [destination] for vertex, links in graph.items(): grade_route (vertex, links, total_cost, previous) trace = destination while True: pth = previous[trace] route.append(pth) trace = pth if pth == source: return [total_cost[destination], route[::-1]]
print(shortest_path(routing_table , 'a', 'c')) ### ===> [3, ['a', 'b', 'c']]Although their might be multiple route to a destination I avoided implementing this for brevity. DS & Algo questions sometimes aren't easy!!! |
Programming › Re: Python 3: Exercises And Solutions. by Shepherdd(m): 11:38pm On Jun 04, 2020 |
gbolly1151: Guy...this is advance question and it is base on graph data structure,i myself haven't try to solve it but you can give it a try and test your data structure skill
Write a program that builds the routing tables for the nodes in a computer network, based on shortest-path routing, where path distance is measured by hop count, that is, the number of edges in a path. The input for this problem is the connectivity information for all the nodes in the network, as in the following example: 241.12.31.14: 241.12.31.15 241.12.31.18 241.12.31.19
which indicates three network nodes that are connected to 241.12.31.14, that is, three nodes that are one hop away. The routing table for the node at address A is a set of pairs (B,C), which indicates that, to route a message from A to B, the next node to send to (on the shortest path from A to B) is C. Your program should output the routing table for each node in the network, given an input list of node connectivity lists, each of which is input in the syntax as shown above, one per line. I was once asked a question similar to this and I failed graciously. Now let me tackle it again!! |
Programming › Re: Python 3: Exercises And Solutions. by Shepherdd(m): 9:08pm On Jun 03, 2020 |
gbolly1151: Can you share screenshot of your run I did some renaming after prototyping inside IDLE.
|
Programming › Re: Python 3: Exercises And Solutions. by Shepherdd(m): 8:36pm On Jun 03, 2020 |
gbolly1151: Write a recursive function to reverse a list Nice one def reverse(data): if len(data) == 0: return data else: return [data[-1]] + reverse(data[:-1])
or
def reverse(data): return [data[-1]] + reverse(data[:-1]) if len(data) > 0 else data |
Programming › Re: Python 3: Exercises And Solutions. by Shepherdd(m): 4:39pm On Jun 03, 2020 |
@ jayphe Collinsanele gbolly1151 kensmoney StevDesmond Please let's roll in more exciting challenges. The thread is winding down. |
Programming › Re: Which Programming Language Can I Learn To Be Able To Make Facebook And Amazon by Shepherdd(m): 9:27am On Jun 03, 2020*. Modified: 6:00pm On Jun 17, 2020 |
Tim1212: Wikipedia will deceive you, don't rely on their information. Facebook have high level of security, because of that, they will never release the programming language they use. It's not about the programming language. Facebook core is written with PHP albeit a modified one. And I know this because their junior developers sometimes ask questions on stack overflow and will later reveal their identity. There was this one that asked a question about a code and people were like what kind of PHP is this. strange!! And they use many other programming languages too for different things like c++ for proxy server and chat server. Having Facebook source code doesn't mean you can tommorow produce your own Facebook because it is so decoupled that you won't even know what does what or even have the capability to buy or rent the servers for your operation. There was this Amazon employee that made a claim of having Amazon's website source code circa 2015 and he couldn't do shit with it (He might not be lying cause many of their staff always say the same thing about less security). |
Programming › Re: Which Programming Language Can I Learn To Be Able To Make Facebook And Amazon by Shepherdd(m): 1:51am On Jun 03, 2020 |
tensazangetsu20: Facebook app is made with react native. Check GitHub. You are right. I was talking about their iOS messenger not using RN because of speed and size of RN. |
Programming › Re: Which Programming Language Can I Learn To Be Able To Make Facebook And Amazon by Shepherdd(m): 12:55am On Jun 03, 2020*. Modified: 1:52am On Jun 03, 2020 |
If you mean app like mobile then you have two/three options depending on the mobile platform. On android Kotlin is the winner here or you could also go with Java but google announced earlier that Kotlin is the way forward. On ios Swift is the winner.
I know some might include React Native or Flutter(Dart) based on the promise of cross platform development but when you are building enterprise rated apps like the facebook app, you will easily get handicapped by these two as they are not natively supported by either Android or Ios.
For Kotlin check freecodecamp youtube channel for kotlin android development course, and for android development Head first Android Development book is a good start for using Java. I don't really have much idea on swift but you could check freecodecamp swift course on youtube for a start.
If you mean app like web app, I will recommend JavaScript for a programming noob as it can be used for back end and front end purposes. Front end means what your users will see and here JavaScript is becoming the go-to due to the rise of frameworks like React, Angular and Vue.
If you go through the Frameworks path for your frontend, you won't need to write HTMl, but a solid knowledge of Html is still needed. To style what your users see CSS is the tool to be used here.
Back end means what controls what your users see and how they interact with your web app and JavaScript is also recommended here as you won't need to learn a new programming language. Express running on NodeJs is a formidable tool for back end as it powers some of today's popular website. Other languages for back end like Python's Django, Java's servlet provides similar capabilities to NodeJs Express but Google's golang comes out on top if you are worried about concurrency and stability of your web app. Honourable mentions include Rust, C++ (I think both are overkill for web dev) and the ageing php.
Happy Programming. |
Science/Technology › Re: SpaceX Launch: NASA Astronauts Make History by Shepherdd(m): 5:57pm On Jun 02, 2020 |
Patriot9: is it not funny? A country like america who can build machines as super as SR-71 and F-35 can be relying on Russian rockets engine That shows the fact that they perceive power only through military and espionage. Heck they budgeted more than a trillion dollars for the f35 alone while NASA's budget was slashed anyhow. The moon landing self was a jealous move against the USSR space domination. |
Science/Technology › Re: SpaceX Flew Over Nigeria On Way To Space Station – Hadi Sirika (Video) by Shepherdd(m): 5:30pm On Jun 02, 2020 |
Nasir123: Good development!
This is one best opportunity to sue the American government, SpaceX, and Elon Musk for a Tax payment. Time to make good money.
"For that thing to fly over our heads, we must demand compensation". Nigerians, you guys should wake up. Have you heard anything about freedom of space? It was established back in 1957 bro. International law says it's free for anybody. Heck you could send a satellite directly above the white house and nobody will worry you bcus it's free space. And it's even ridiculous for a country that can't produce a rocket fuel to demand for any sort of compensation. |
Science/Technology › Re: SpaceX Flew Over Nigeria On Way To Space Station – Hadi Sirika (Video) by Shepherdd(m): 3:50pm On Jun 02, 2020 |
Johzhier97: So naija airspace Don become Hot cake na....ndi Ara Technically it's not even Nigeria's airspace. But that clown won't understand anyways. |
Science/Technology › Re: SpaceX Flew Over Nigeria On Way To Space Station – Hadi Sirika (Video) by Shepherdd(m): 12:18pm On Jun 02, 2020 |
Nbote: Hehehehehe.. Oh SpaceX flying over Nigeria means future aviation coming closer? Coming from an aviation Minister Whixh kind of shameless statement b dis for heaven's sake... How can a spaceX flying into the international space station go thru Nigeria before getting into orbit?? Who we offend abeg.. The future he is talking about is clearly the past for d Americans.. Guy, dragon was already in orbit then. It took nineteen hours before it could dock to the station. In fact it was over China when it docked. |
Science/Technology › Re: SpaceX Flew Over Nigeria On Way To Space Station – Hadi Sirika (Video) by Shepherdd(m): 11:57am On Jun 02, 2020*. Modified: 12:23pm On Jun 02, 2020 |
And we can't even manufacture the solar panel on spacex Dragon. Our engineering schools have failed us!!! |
Celebrities › Re: Music Star Majek Fashek Is Dead by Shepherdd(m): 7:19am On Jun 02, 2020 |
And 2020 strikes again!!!!  |
Programming › Re: Why Do Developers Think Jquery Is Obsolete? by Shepherdd(m): 9:33pm On May 17, 2020 |
LSarcastic: Don't you understand the point I'm making when comparing JQuery to PHP? We all know JQuery is not a language (¬_¬) I'm comparing the philosophy behind their usage. PHP is almost down the list when it comes to techs you would use to build something huge. Same as JQuery in the world on front-end technology. But they will be still be heavily used in years to come
It like you don't even understand my point of view at all. Your rant is: JQuery is useless and has reached the end of its lifespan. I'm saying "No it hasn't. Even if it is declining in use, people will still use it for years to come." This is our point of contention. No one says it's impossible to do without JQuery. It's important you understand my view so the discussion won't be sidetracked.
Besides, if you're even using an abstraction in a job interview for any type of programming job, you're basically useless. It's like using Bootstrap when you're called for a CSS interview. It doesn't mean he is saying JQuery is repulsive in such organization. Besides, if you read the comments on that post, you'll see varying opinions on that fact. I'm sure you probably did not consider the comment section. Quora users are very opinionated and will express themselves in the comment section I get your point comparing PHP and jQuery but my point is they aren't comparable (people use them for different reason - jQuery because of browser compatibility issues or because they are too lazy to read MDN docs and understand how a JS function should be called or well too lazy and go the shortcut route while PHP is used because it is a web language). PHP is almost down the list when it comes to techs you would use to build something hugeFacebook as massive as it is runs on PHP. Simply put for spa frameworks like vue, react and angular it is counter intuitive to use jQ and will lead to spaghetti codes. And sure a lot of legacy code runs on it but a serious company IMHO won't include it in new systems. Yes it will still be used for projects but at a considerably minute scale which was the original question by the op (it passing it's prime). Happy JavaScripting.. |
Programming › Re: Why Do Developers Think Jquery Is Obsolete? by Shepherdd(m): 7:52pm On May 17, 2020 |
LSarcastic: Still, I insist it hasn't. There are hundreds of thousands of websites that would still use it. True, you no longer need it as before. There are dozens of frameworks who still trust JQuery and won't make the major lead to using vanilla JS. JQuery right now is just like PHP. There are alternatives and better options but people will still use it.
The fact that you no longer use it doesn't mean people wouldn't use it. It still powers dozens of legacy websites and it will power more still. The only thing is, the use would decrease. But it won't go away anytime soon. I once read on Quora about an interviewer that said in their company, during the interview process if you use one single line of jQuery code you get disqualified automatically you won't even be considered. And jQuery is not like PHP. PHP is a turing complete programming language where you could build anything you can dream of while jQuery is just an abstraction over JavaScript. |
Programming › Re: Why Do Developers Think Jquery Is Obsolete? by Shepherdd(m): 10:38pm On May 05, 2020 |
Simply put jQuery is dying and I will tell you why.
jQuery was born because back then there were different implementation of JavaScript Engines by browsers and consequently a line of code working on chrome will send your application to hell on Apple's Safari. So jQuery came like the JVM with the promise of write once run everywhere. This is no longer a problem since most browsers now comply with the ES standard and a fair share of these browsers are using the same Chromium V8 JavaScript Engine.
Another reason is because It's main selling point has been added natively into JS and implemented by browsers.
Examples include the $.ajax vs fetch JS method, $('button') vs document.querySelector, It's animation vs Css animations
In a nutshell jQuery has served it purpose, it was a temporary solution to a problem that was fixed a long time ago. |