Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on May 01, 2023

=> today's howtos | GNU/Linux, Privacy, Data Breaches, and More Clown Computing Layoffs

Rust Basics Series #6: Conditional Statements

=> ↺ Rust Basics Series #6: Conditional Statements

You can control the flow of your program by using conditional statements. Learn to use if-else in Rust.

Hello World in Python vs Java

=> ↺ Hello World in Python vs Java

A simple application that prints nothing more than the words ‘Hello World’ is the seminal start to learning any programming language.
Furthermore, the relative verbosity and expressiveness with which a given language prints these eleven Unicode characters has become a popular ‘flex’ between platform advocates.
Python and Java developers often go toe-to-toe on the ‘Hello World’ debate, which is why a thorough comparison of how to write ‘Hello World’ in the two languages is necessary.

Split comma delimeted string using the php explode() function and output results

=> ↺ Split comma delimeted string using the php explode() function and output results

To split a comma delimited string using PHP we can use the explode() function
The explode() function breaks the string in to an array, which is then assigned to a variable. We then use a foreach loop to output the results / elements.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/05/01/Programming_Leftovers.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
139.596225 milliseconds
Gemini-to-HTML Time
0.487974 milliseconds

This content has been proxied by September (ba2dc).