Coding Quickrefs for javascript, sql, VBA (mostly for Word though a lot applies to VBA for Excel, COBOL, HTML. HTML is only for ways to include other HTML code in an HTML file. https://lnkd.in/gVRCrSMf
Coding Quickrefs for JavaScript, SQL, VBA, COBOL, HTML
More Relevant Posts
-
𝗦𝗰𝗿𝗶𝗽𝘁𝗶𝗻𝗴 𝗩𝘀 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲𝘀 All scripting languages are programming languages. The main difference is that scripting languages do not need a compilation step and are interpreted. For example, a C program must be compiled before running, while scripting languages like JavaScript or PHP run without compilation. You use scripting languages to: - Automate file operations - Write quick utilities - Connect different programs or tools - Run small tasks without heavy setup Programming usually involves: - Designing systems - Building scalable apps - Managing memory and performance - Writing structured code Scripting languages are used to create dynamic web applications. They require a host and do not create a .exe file. Examples include Bash, Ruby, Python, and JavaScript. Programming languages are used to write computer programs. They are self-executable and generate .exe files. Examples include C++, Java, and PHP. Source: https://lnkd.in/g52A9PQK
To view or add a comment, sign in
-
What is Java Script? Java Script is the most popular scripting language. It works on all major browsers, like Internet explorer, Firefox, Opera etc. Java Script is an interpreted language. Browser act as translator between Java Script and native language that computer uses. JavaScript can be embedded directly into HTML pages It is a lightweight programming language. JavaScript can add to a web site design is the capability to introduce dynamic interactivity into pages Java Script VS HTML HTML is a markup language, and JavaScript is a programming or scripting language. HTML describes what is to be presented on a page, and JavaScript dynamically changes what is on an HTML page. HTML’s code is in a series of angle brackets that describe how to treat the material between opening and closing brackets. JavaScript is a set of statements and functions that does something in an HTML page. JavaScript can refer to and alter objects described by HTML. Why JavaScript? JavaScript can read and write HTML element JavaScript can react to event JavaScript can do validation check JavaScript can detect user’s browser JavaScript can create cookie
To view or add a comment, sign in
-
-
Have you ever struggled with serializing and deserializing data in JavaScript? I've seen teams spend hours debugging issues with JSON, only to realize that it's not the best tool for the job. In a real-world scenario, a team I worked with was building a complex web application and was using JSON to store and transfer data between components. However, they soon realized that JSON was not able to handle the complexity of their data, leading to errors and inconsistencies. The core insight here is that JSON is not always the best choice for data serialization. A good rule of thumb is to use StructuredClone instead of JSON when dealing with complex data. One hidden pitfall for juniors is that JSON can lead to data loss and corruption if not used carefully. In conclusion, using StructuredClone can save you and your team a lot of headaches in the long run. So, make the switch and see the difference for yourself. #programming #webdev #javascript
To view or add a comment, sign in
-
-
Did you know JavaScript can behave like Java? Not really — but it can fake it beautifully. Here's something I love about JavaScript that most beginners overlook: closures. Look at this pattern Instead of a class with private fields, we use a factory function that returns methods just like a Java object would expose getters and setters. getName() — returns the name getAge() — returns the age incrementAge() — mutates internal state What makes this powerful? The variables personName, personAge, and personJob are completely private. They can't be accessed directly from outside the function. You MUST go through the returned methods. This is a closure — the inner functions "close over" the outer scope and remember it even after the factory function has finished running. So when you call: person.incrementAge() person.getAge() you get 124. Because that personAge variable is alive, encapsulated, and mutable — all without a single class keyword. Java devs: does this feel familiar? It should. JavaScript doesn't need classes to give you encapsulation. Closures have always been there doing the heavy lifting. This is a great pattern when you want lightweight objects without the overhead of a full class definition. Drop a if this gave you a new way to think about JavaScript! #JavaScript #WebDevelopment #Programming #100DaysOfCode #SoftwareEngineering #JSClosures
To view or add a comment, sign in
-
-
🎭 JavaScript Classes Are Just Syntax Sugar When I first saw class in JavaScript, I thought: 👉 “Okay, now JS is like Java or C#.” But that’s not true. 💡 This: class User { constructor(name) { this.name = name; } sayHi() { console.log(this.name); } } 👉 Is actually this under the hood: function User(name) { this.name = name; } User.prototype.sayHi = function () { console.log(this.name); }; 🔥 Important detail: typeof User // "function" 👉 Classes are still functions. 🧠 So what is class really? ✔ Cleaner syntax ✔ Easier to read ❌ Not a new system 🚀 My takeaway: Classes make JavaScript easier to write… but prototypes are still doing the real work. Once you understand this, you stop relying on syntax… and start understanding behavior. #JavaScript #OOP #Frontend #Programming
To view or add a comment, sign in
-
💡 Why AbortController matters (a simple autocomplete example) Ever noticed how search suggestions update as you type? Let’s say a user types quickly: jav → java → javascript Each keystroke triggers an API call: /api/search?q=jav /api/search?q=java /api/search?q=javascript Now here’s the tricky part 👇 ⏱️ Network responses don’t come back in order. Example: javascript returns in 100ms ✅ java returns in 300ms jav returns in 800ms ❌ If your code blindly renders results: 👉 The UI may end up showing results for "jav" (the oldest query) That’s a classic race condition. 🚫 Without cancellation: Old requests still complete and overwrite newer results. ✅ With AbortController: You cancel the previous request whenever a new one starts. let controller; async function search(query) { if (controller) controller.abort(); controller = new AbortController(); try { const res = await fetch(`/api/search?q=${query}`, { signal: controller.signal }); const data = await res.json(); renderResults(data); } catch (err) { if (err.name !== 'AbortError') { console.error(err); } } } ✔ Only the latest request runs ✔ No stale data overwriting UI ✔ Better performance (no wasted requests) 🧠 Key takeaway: Async responses don’t guarantee order — you must control them. 🔁 Alternative approach: Use a request ID and ignore outdated responses (but they still consume network). Have you run into this bug before? How did you handle it? #JavaScript #WebDevelopment #Frontend #AsyncProgramming
To view or add a comment, sign in
-
If you ever want to 𝗵𝗶𝗴𝗵𝗹𝗶𝗴𝗵𝘁 𝘆𝗼𝘂𝗿 𝗰𝗼𝗱𝗲 in your website, just use 𝙥𝙧𝙞𝙨𝙢.𝙟𝙨 (prismjs.com) and import the necessary stylesheet and script file. That's it. If you want the code-snippet using which you can just type `!𝗽𝗿𝗶𝘀𝗺-𝗷𝘀` in your html file and enter to automatically import all the required files, 𝗷𝘂𝘀𝘁 𝘁𝘆𝗽𝗲 "𝘀𝗻𝗶𝗽𝗽𝗲𝘁" 𝗶𝗻 𝘁𝗵𝗲 𝗰𝗼𝗺𝗺𝗲𝗻𝘁𝘀. You can use it for any language formatting - HTML, CSS, JS, C++, C, Java, C# and even Assembly. 💀
To view or add a comment, sign in
-
DotNet Blog: Replacing C++ with C# in Node.js addons sounds like simplification, but it actually exposes how fragile our native integration stack has been for years. The shift to .NET Native AOT removes Python and reduces build complexity, yet it also challenges the assumption that low-level performance work must stay in C++. What looks like a tooling improvement is in reality a correction of a long-standing inefficiency: the unnecessary dependency chain around native modules. By leveraging #DotNet with Native AOT, developers can now produce self-contained binaries that integrate via N-API without dragging along Python-based build steps or fragile C++ toolchains. This is not just convenience; it directly impacts maintainability and deployment stability. However, the deeper implication lies elsewhere. If #NodeJS addons can be written in C# with competitive performance, what does that say about the traditional dominance of C++ in this space? The expectation has always been clear: maximum control requires maximum complexity. Native AOT begins to undermine that narrative by offering deterministic builds and reduced runtime overhead without sacrificing interoperability. The contrast is subtle but critical. While C++ still offers ultimate control, it often comes at the cost of ecosystem friction and operational risk. In practice, many teams do not need that level of control, yet they inherit its complexity anyway. With #NativeAOT and modern interop features like UnmanagedCallersOnly, the boundary between managed and native code becomes far less rigid. This is less a new feature and more a signal that parts of the stack we considered “necessary” were never truly justified. Link for first comment:
To view or add a comment, sign in
-
For nearly two decades, PVS-Studio has helped developers write safer, cleaner code. We started with C and C++, then expanded to C# and Java. And we don't plan to stop! Now we are developing new analyzers for JavaScript and TypeScript and in the article, we tell you how we built it and what to expect. Most likely, if you're working with JavaScript or TypeScript, this article could be interesting for you. https://lnkd.in/eze5aeHp #StaticAnalysis #JavaScript #TypeScript #DevTools
To view or add a comment, sign in
-
Every language community deserves first-class auth tooling. JavaScript. Python. Go. Java. C#. Ruby. PHP. At FusionAuth we've been thinking a lot about the developer experience. Today we're shipping the FusionAuth Brainf SDK. It handles login, token refresh, user retrieval, registration, and user creation against a real FusionAuth instance - with real JWTs, real JSON parsing, and a real wire protocol built on ASCII control characters from 1963. A few implementation notes worth flagging before you evaluate it for production: ✅ The compiled output is 14.7 MB. This is normal. ✅ Arithmetic is implemented as repeated addition and repeated subtraction. This has no impact on correctness. ✅ Initialization time on an M4 Pro with 48 GB of RAM is approximately 28 hours. For a buffer. We believe this is technically correct behavior. ✅ "It is slow" is not a valid bug report. The SDK is available on GitHub now. The authentication is real. The JWTs are real. A user record in FusionAuth's database has been touched by a program written in Brainf. We have mixed feelings about this. A huge effort by Blair Ewalt to get this across the line.
To view or add a comment, sign in
-
More from this author
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development