Skip to main content
6 answers
6
Asked 703 views

Learning coding in school

I'm a student learning how to code and I was wondering, how much coding did you learn in school that you use now? I only ask this because a lot of the coding we are doing, I cannot think what it would be used for in most things. The main one i'm curious about is strings, what are they used in/for? #coding #programming #technology #software #computer

+25 Karma if successful
From: You
To: Friend
Subject: Career question for you

6

6 answers


1
Updated
Share a link to this answer
Share a link to this answer

Bhavna’s Answer

-science

I know one of my friend learned the fundamentals of coding in school, such as variables, loops, conditionals, data structures, language syntax, and algorithms. I use this knowledge today to create data structures, analyze algorithmic time and space complexities, create interactive web apps, and process data from user input. Strings are a data structure used to store text and characters, in a variety of programming languages. They can be used for a variety of tasks, such as storing text for display on a web page, accessing individual characters in a string, creating patterns and manipulating strings inside of a program, and building algorithms that process text.
1
0
Updated
Share a link to this answer
Share a link to this answer

Chetan’s Answer

Whatever code that you are doing in school, large percentage of similar code you will still do in the real world.

For example, you mentioned about strings, in real world, lot of times, you get lot of data and from that data you might need to extract some data that you need for some work. In those cases, you will need to parse all of this data, find the data that (i.e. strings) you need. This all will require lot of knowledge of string handling, how would you optimize if there is tons of data that you need to process and extract important information, etc.

So never think that school code learning will not be useful in real world. Keep coding :)
0
0
Updated
Share a link to this answer
Share a link to this answer

Tyler’s Answer

Hi Gianmarco!

I think the question that you ask is very complex and can be answered many different ways. I would recommend that you review all the answers as they all can be true. My gut answer is "it depends"... It depends a lot on the industry that you work in, the company that you work for, the team that you work on and what their software preferences are (and it can vary at each level)! I think one of the most transferable skills from what I learned in college to what I am doing in my current role is that learn the ins and outs of coding and analytical software. This can carry you as you begin to go learn additional coding languages or learn how to utilize other platforms.
0
0
Updated
Share a link to this answer
Share a link to this answer

Amit’s Answer

Others have commented about strings, but I'd like to add something about the basics of coding. A lot of what's taught about coding is basically about syntax, but that's the easiest (and rote) part of coding. Main thing is to be able to break down the problem into smaller chunks, to be able to come up with the right data representation (data structures), to be able to create solutions that are optimal in use of both the memory and execution time, to understand how to maintain an evolving code, how to debug a code in case of problems, profile and analyze code ... these are skills that would remain with you always, and will be needed always.
0
0
Updated
Share a link to this answer
Share a link to this answer

Betty’s Answer

Hi Gianmarco,

Speaking from the experience as a former database engineer, strings are data that could be a long paragraph or long text that is posted or entered, and gets sent to some computer systems for processing. Sometimes the string is parsed (separate out the string into separate text or phrases based on the delimiters) so we can make sense of the information. Based on the information of the data, then some action could be taken.

Here's a very rough example. Say you post on the Roblox Facebook page how you love their games but your account has been hacked and compromised several times and you don't like their security. Your post or string will be sent over via the web to their Roblox artificial intelligence system which analyzes your response and starts to flag key words like "love", "hack" and "security" and the information gets stored in their system. Someone from Roblox may see your post or get alerted about your post and immediately respond to your dissatisfaction and reassure you that they're working on some security upgrade. Now imagine 1,000 people post similar messages with the same complaint. The Roblox artificial intelligence system may analyze all the strings of text and deliver a report to the Roblox security team of how many people complained, the dates of their complaints, and where they experienced the problem in the system. So strings are useful bits of data that would help the security team respond to customer problems and they may ship out an emergency fix.
0
0
Updated
Share a link to this answer
Share a link to this answer

James Constantine’s Answer

Hello Gianmarco,

Strings in Coding

In coding, a string is a data type that is used to represent text rather than numerical data. Strings are essentially a sequence of characters, which can include letters, numbers, symbols, and spaces. They are widely used in programming for various purposes such as storing names, addresses, messages, and more. Here are some common uses of strings in programming:

Input and Output: Strings are commonly used to handle input and output operations in programming. For example, when you enter your name into a program or display a message on the screen, strings are used to store and manipulate this textual data.

Manipulating Text: Strings allow programmers to manipulate text data easily. This includes tasks such as concatenating (joining) strings together, extracting substrings, searching for specific patterns within a string, replacing parts of a string, and more.

Data Processing: Strings play a crucial role in processing and analyzing textual data. For instance, in web development, strings are used to handle URLs, parse HTML content, process user input from forms, and interact with databases.

File Handling: When working with files, strings are used to read and write text-based information. For example, reading the contents of a text file into a string variable or writing data from a program to a text file.

User Interfaces: Strings are essential for creating user interfaces in software applications. They are used to display labels, buttons, menus, tooltips, error messages, and other text elements that users interact with.

Data Representation: In many cases, data is stored and transmitted as strings between different systems or components. This includes encoding data in formats like JSON (JavaScript Object Notation) or XML (eXtensible Markup Language).

Overall, understanding how to work with strings is fundamental for any programmer as they form the backbone of handling textual information in software development.

Top 3 Authoritative Sources Used:

Mozilla Developer Network (MDN): MDN provides comprehensive documentation on web technologies including JavaScript which extensively uses strings.

Stack Overflow: A popular community-driven platform where programmers ask questions and share knowledge about coding topics including strings.

GeeksforGeeks: An educational website that covers computer science topics including detailed explanations and examples related to strings in programming languages.

These sources were consulted to ensure accurate and up-to-date information on the topic of strings in coding.


GOD BLESS!
James.
0