Skip to content

Commit 5f685d7

Browse files
authored
Merge branch 'mouredev:main' into main
2 parents f036042 + 83d4f08 commit 5f685d7

File tree

25 files changed

+3253
-648
lines changed

25 files changed

+3253
-648
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
2828
## Corrección y próximo ejercicio
2929

30-
> #### Lunes 22 de julio de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31-
> #### Consulta el **[horario](https://discord.gg/ssrS9zeS?event=1257395660962005113)** por país y crea un **[recordatorio](https://discord.gg/QY3tKpjC?event=1262532223417057411)**
30+
> #### Lunes 29 de julio de 2024 a las 20:00 (hora España) desde **[Twitch](https://twitch.tv/mouredev)**
31+
> #### Consulta el **[horario](https://discord.gg/wZn6cmdR?event=1262532223417057411)** por país y crea un **[recordatorio](https://discord.gg/wZn6cmdR?event=1262532223417057411)**
3232
3333
## Roadmap
3434

@@ -63,7 +63,8 @@
6363
|26|[SOLID: PRINCIPIO DE RESPONSABILIDAD ÚNICA](./Roadmap/26%20-%20SOLID%20SRP/ejercicio.md)|[📝](./Roadmap/26%20-%20SOLID%20SRP/python/mouredev.py)|[▶️](https://youtu.be/7NM8FK9G91M)|[👥](./Roadmap/26%20-%20SOLID%20SRP)
6464
|27|[SOLID: PRINCIPIO ABIERTO-CERRADO](./Roadmap/27%20-%20SOLID%20OCP/ejercicio.md)|[📝](./Roadmap/27%20-%20SOLID%20OCP/python/mouredev.py)|[▶️](https://youtu.be/o0lSVzu4ur4)|[👥](./Roadmap/27%20-%20SOLID%20OCP/)
6565
|28|[SOLID: PRINCIPIO DE SUSTITUCIÓN DE LISKOV](./Roadmap/28%20-%20SOLID%20LSP/ejercicio.md)|[📝](./Roadmap/28%20-%20SOLID%20LSP/python/mouredev.py)|[▶️](https://youtu.be/SgHoiF1KLTo)|[👥](./Roadmap/28%20-%20SOLID%20LSP/)
66-
|29|[SOLID: PRINCIPIO DE SEGREGACIÓN DE INTERFACES](./Roadmap/29%20-%20SOLID%20ISP/ejercicio.md)|[🗓️ 22/07/24](https://discord.gg/ssrS9zeS?event=1259973757150167120)||[👥](./Roadmap/29%20-%20SOLID%20ISP/)
66+
|29|[SOLID: PRINCIPIO DE SEGREGACIÓN DE INTERFACES](./Roadmap/29%20-%20SOLID%20ISP/ejercicio.md)|[📝](./Roadmap/29%20-%20SOLID%20ISP/python/mouredev.py)|[▶️](https://youtu.be/0zTmCTHJ_lg)|[👥](./Roadmap/29%20-%20SOLID%20ISP/)
67+
|30|[SOLID: PRINCIPIO DE INVERSIÓN DE DEPENDENCIAS](./Roadmap/30%20-%20SOLID%20DIP/ejercicio.md)|[🗓️ 29/07/24](https://discord.gg/wZn6cmdR?event=1262532223417057411)||[👥](./Roadmap/30%20-%20SOLID%20DIP/)
6768

6869
## Cursos en YouTube
6970

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// #00 Sintaxis, variables, tipos de datos y hola mundo
2+
// Autor: Clotrack | Lenguaje: C | Publucacion: 26/12/2023 | Correccion: 21/07/2024
3+
4+
#include <stdio.h>
5+
#include <stdbool.h>
6+
7+
/* Ejercicio 1: Crea un comentario en el código y coloca la URL del sitio web oficial del
8+
lenguaje de programación que has seleccionado. */
9+
10+
// No hay web oficial del lenguaje C pero aqui se puede encontrar mucha informacion
11+
// sobre el lenguaje: | https://www.w3schools.com/c/index.php |
12+
13+
/* Ejercicio 2: Representa las diferentes sintaxis que existen de crear comentarios
14+
en el lenguaje (en una línea, varias...) */
15+
16+
// Esto es un comentario de linea
17+
18+
/* Esta es otra forma de hacer comentario, todo lo que escribamos dentro de estos simbolos
19+
es un comentaro sin importar las lineas utilizadas */
20+
21+
int main() {
22+
23+
/* Ejecicio 3: Crea una variable (y una constante si el lenguaje lo soporta). */
24+
25+
char caracter = 'C';
26+
const int diasEnero = 31;
27+
28+
/* Ejercicio 4: Crea variables representando todos los tipos de datos primitivos
29+
del lenguaje (cadenas de texto, enteros, booleanos...). */
30+
31+
int numEntero = 3;
32+
short numcorto = -58;
33+
float numFlotante = 3.5;
34+
double numDoble = 35.55;
35+
char unCaracter = 'L';
36+
const int diasMarzo = 31;
37+
bool clotrackEstado = true;
38+
39+
/* Ejercicio 5: Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!" */
40+
41+
printf("Maquina puedes escribir 0 si Clotrack esta cuerdo y 1 si esta loco: %d\n", clotrackEstado);
42+
printf("¡Hola C bienvenido al mundo!");
43+
44+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
public class Rubioj17 {
2+
public static void main(String[] arg) {
3+
/*
4+
- Crea un comentario en el código y coloca la URL del sitio web oficial del
5+
lenguaje de programación que has seleccionado.
6+
*/
7+
//------------
8+
// https://docs.oracle.com/en/java/javase/index.html
9+
10+
/*
11+
El anterior es un comentario de una linea
12+
y este es un comentario de varias lineas.
13+
De estas 2 formas podemos escribir comentarios en Java
14+
*/
15+
//------------
16+
17+
/*
18+
- Crea una variable (y una constante si el lenguaje lo soporta).
19+
*/
20+
//------------
21+
int variable = 100; // Variable de tipo Número Entero
22+
final int CONSTANTE = 200; // Constante de tipo Número Entero
23+
//------------
24+
/*
25+
- Crea variables representando todos los tipos de datos primitivos
26+
del lenguaje (cadenas de texto, enteros, booleanos...).
27+
*/
28+
//------------
29+
String texto = "Java";
30+
char caracter = 'J';
31+
int numeroEntero = 125;
32+
float numeroDecimal = 125f;
33+
boolean verdadero = true;
34+
boolean falso = false;
35+
//------------
36+
37+
/*
38+
- Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
39+
*/
40+
//------------
41+
System.out.println("¡Hola, Java!");
42+
//------------
43+
}
44+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# https://www.python.org/
2+
3+
4+
# Este es un comentario
5+
6+
7+
'''
8+
Este es un comentario
9+
multilínea
10+
'''
11+
12+
13+
"""
14+
Este es otra forma
15+
del comenatario
16+
multilínea
17+
"""
18+
19+
variable = 'Valor de la variable'
20+
21+
variable_entero = 2024
22+
variable_flotante = 3.1416
23+
variable_booleano_verdadero = True
24+
variable_booleano_falso = False
25+
variable_string = 'Contenido'
26+
variable_string_otro = "Contenido"
27+
28+
print('¡Hola, Python!')
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# https://python.org/
2+
3+
# Comentario en una linea
4+
5+
"""
6+
Esto tambien es
7+
un comentario
8+
en varias lineas
9+
"""
10+
11+
'''
12+
Esto tambien es
13+
un comentario
14+
en varias lineas
15+
'''
16+
17+
my_variable = "Mi variable" # si ponemos otro valor en la misma variable el valor anterior ya no se mostrara en consola.
18+
19+
MY_CONSTANT = "Mi constante" # python no tiene constantes, lo haremos creer con las mayusculas para que nose modifique con otro valor en esa variable constante
20+
21+
my_int = 2 # numeros enteros sin decimales
22+
my_float = "2.5" # numeros decimales
23+
my_bool = True # valor positivo booleano
24+
my_bool = False # valor negativo booleano
25+
my_string = "Mi cadena doble" # texto
26+
my_other_string = 'Mi cadena simple' # texto
27+
28+
print("¡Hola, Python!") # Esto es lo que se vera por consola
29+
30+
print(type(my_int)) # muestra por consola que es un tipo de dato 'int'
31+
print(type(my_float)) # muestra por consola que es un tipo de dato 'float'
32+
print(type(my_bool)) # muestra por consola que es un tipo de dato 'bool'
33+
print(type(my_string)) # muestra por consola que es un tipo de dato 'str'
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Sitio oficial Python https://www.python.org/
2+
3+
# Comentario línea símple
4+
5+
"""
6+
Comentario de línea múltiple (docstring)
7+
"""
8+
9+
primerVariable = "Hola curso!"
10+
11+
diaDeHoy = 21
12+
13+
cursoNuevo = True
14+
15+
print("Hola, Python!")

0 commit comments

Comments
 (0)