Skip to content

Commit 6e2e6f7

Browse files
committed
2 parents d34e48b + 373bcbe commit 6e2e6f7

File tree

151 files changed

+16655
-1282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+16655
-1282
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: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
using System;
2+
3+
//Autor: Ariel Ventura
4+
5+
// 1. Crea un comentario en el código y coloca la URL del sitio web oficial del lenguaje de programación que has seleccionado.
6+
7+
// Sitio oficial de C#: https://learn.microsoft.com/en-us/dotnet/csharp/
8+
9+
// 2. Representa las diferentes sintaxis que existen de crear comentarios en el lenguaje(en una línea, varias...).
10+
11+
// Esto es un comentario de un linea...
12+
13+
/*
14+
* Es es un comentario
15+
* de Varias lineas.
16+
*/
17+
18+
namespace ConsoleAppRoadMap001
19+
{
20+
class Program
21+
{
22+
// 3. Crea una variable (y una constante si el lenguaje lo soporta).
23+
24+
string MiVariable = "Hola";
25+
const string MiConst = "SinCambio";
26+
27+
// 4.Crea variables representando todos los tipos de datos primitivos del lenguaje (cadenas de texto, enteros, booleanos...).
28+
29+
string MiVariable2 = "Esto es una cadena";
30+
int MiEntero = 17;
31+
bool Positivo = true;
32+
bool Negativo = false;
33+
34+
35+
static void Main(string[] args)
36+
{
37+
// 5.Imprime por terminal el texto: "¡Hola, [y el nombre de tu lenguaje]!"
38+
39+
Console.WriteLine("Hola C#!");
40+
}
41+
}
42+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
//este lenguaje no tiene web oficial
2+
//comentario de una linea
3+
/*
4+
comentario de varias lineas
5+
todos los valres de bits que se ponen pueden ser variables dependiendo del compilador y arquitectura
6+
¿hey brais puedes compartir los playlists de rock que usas para tus directos?
7+
8+
este es el valor maximo que se puede representar con respecto a los bit que se maneja unsigned
9+
8 bits (1 byte) = 255
10+
16 bits (2 bytes) = 65,535
11+
32 bits (4 bytes) = 4,294,967,295
12+
64 bits (8 bytes) = 18,446,744,073,709,551,615
13+
14+
signed se puede manejar en estos rangos
15+
8 bits (1 byte) = -128 a 127
16+
16 bits (2 bytes) = -32,768 a 32,767
17+
32 bits (4 bytes) = -2,147,483,648 a 2,147,483,647
18+
64 bits (8 bytes) = -9,223,372,036,854,775,808 a 9,223,372,036,854,775,807
19+
20+
los valores de c++ son automaticamente signed
21+
22+
*/
23+
#include <iostream>
24+
#include <string>
25+
using namespace std;
26+
27+
int main() {
28+
const string constante = "C++";
29+
string variable = "¡Hola, ";
30+
31+
//hay diferentes valores numericos
32+
short corto = 65524;//este es de 16 bits
33+
int entero = 4294967294;//este es de 32 bits o 16 bits dependiendo del compilador
34+
long largo = 4294967294;//este es de 32 bits
35+
long long gigante = 18446744073709551614;//este es de 64 bits
36+
37+
float flotante = 3.141592;
38+
double doble = 3.141592653589793;
39+
long double giganteDoble = 1.000000000000001;
40+
float scientifico = 6.02E23; //el float también puede usar notación cientifica
41+
42+
//también se pueden declarar los valores sin signo
43+
unsigned short cortoSinSigno = 65535;
44+
//también está el constexpr que es un valor que se va a calcular mientras se conpila no mientras se corre
45+
constexpr float PI = 3.14159265358979323846;
46+
//y se puede usar el auto que lo detecta automatico
47+
auto autoDetectado = 3;
48+
49+
//hay diferentes valores de texto
50+
char caracter = 'a';
51+
string texto = "Hola, C++";
52+
char ascii = 65; //el char también puede ser un valor ascii
53+
54+
//y está el bool
55+
bool booleano = true;
56+
57+
cout << texto;
58+
return 0;
59+
}
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: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
// https://docs.oracle.com/en/java/javase/21/
2+
3+
/**
4+
* This is a javadoc comment
5+
* @author Kronstadtlambda
6+
* @version 1.0
7+
*/
8+
9+
// here define the package name
10+
// package roadmap.java.r00;
11+
12+
// here import the necessary library (optional)
13+
import java.util.Random;
14+
15+
/**
16+
* Class to show the basic sintax and others of Java programming language
17+
*/
18+
public class KronstadtLambda {
19+
/**
20+
* Main method to execute the code of this class (entry point)
21+
*/
22+
public static void main(String[] args) {
23+
24+
// Sintax to create comments:
25+
// This is a single line comment
26+
/* This is a multi-line comment
27+
* or more lines
28+
*/
29+
30+
// Sintax to manage puntuation:
31+
// ; -> end of the statement.
32+
// {} -> delimit block of code.
33+
// () -> parameters, conditions, group expressions.
34+
// [] -> declare arrays, [index] access to elements.
35+
// . -> access to methods, attributes, etc.
36+
// @ -> annotations.
37+
// :: -> method reference (functional programming).
38+
39+
// Variables and constants
40+
float variable_high;
41+
final float CONSTANT_COULUMB;
42+
variable_high = 1.7f; //meters
43+
CONSTANT_COULUMB = 8.9875517873681764e9f; // N m^2 C^-2
44+
45+
// Primitive data types
46+
byte v_byte; // Integer 8 bits
47+
short v_short; // Integer 16 bits
48+
int v_int; // Integer 32 bits
49+
long v_long; // Integer 64 bits
50+
float v_float; // Floating point 32 bits
51+
double v_double; // Floating point 64 bits
52+
char v_char; // Unicode character 16 bits
53+
boolean v_boolean; // Logical 8 bits
54+
55+
v_byte = 127;
56+
v_short = 32767;
57+
v_int = 2147483647;
58+
v_long = 9223372036854775807L;
59+
v_float = 3.4028235e38f;
60+
v_double = 1.7976931348623157e308;
61+
v_char = 'K';
62+
v_boolean = true;
63+
64+
System.out.println("A byte: " + v_byte);
65+
System.out.println("A short: " + v_short);
66+
System.out.println("An int: " + v_int);
67+
System.out.println("A long: " + v_long);
68+
System.out.println("A float: " + v_float);
69+
System.out.println("A double: " + v_double);
70+
System.out.println("A char: " + v_char);
71+
System.out.println("A boolean: " + v_boolean);
72+
73+
// Print a greeting
74+
String v_language = "Java";
75+
System.out.println("Hello, " + v_language + "!");
76+
77+
// Style guide
78+
/*
79+
* Nomenclature:
80+
* Use PascalCase for class names and interface names.
81+
* Use camelCase for method and variables names.
82+
* UPPER_CASE for constants.
83+
*
84+
* Comentary:
85+
* Use comentary to explain the code, not what the code does.
86+
*
87+
* Code organization:
88+
* Use a maximum of 80 characters per line.
89+
* Use 4 spaces to indent code and avoid using tabs.
90+
*
91+
* Declaration:
92+
* Group the declarations of variables at the beginning of the class.
93+
*/
94+
95+
} // end of the main method
96+
} // end of the class
97+
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
//https://www.java.com/es/
2+
3+
// comentarios en una sola linea
4+
/*
5+
* commentarios en
6+
* varias lineas
7+
*/
8+
9+
10+
11+
public class MaynorSemeyá {
12+
13+
public static void main(String[] args) {
14+
15+
16+
byte primerVariable =1 ; /* representa un tipo de dato de 8 bits con signo
17+
*puede almacenar valores numericos en el rango de -128 a 127
18+
*/
19+
20+
short seguandaVariable = 2;
21+
/* este utiliza 16 bits con signo puede almacenar valores numericos
22+
* en el rango de -32768 a 37767
23+
*/
24+
25+
int terceraVariable = 258;
26+
/*es un tipo de dato que utiliza 64 bits con signo y puede
27+
* almacenar valores numericos en el rango de -9223372036854775808 a 9,223,372,036,854,775,807
28+
*/
29+
30+
float cuartaVariable = 8;
31+
/*es un tipo de dato diseñado para almacenar nùmeros en coma flotante
32+
* con precision simple de 32 bits
33+
*/
34+
35+
double quintaVariable = 25.5;
36+
/*este tipo de dato almacenta numeros en coma flotante con doble precision
37+
* de 64 bits, lo que proporciona una mayor precision que float
38+
*/
39+
40+
boolean sextaVariable = true ;
41+
/*define tipos de datos booleanos que pueden tener dos valores
42+
* true o false
43+
*/
44+
45+
char septimaVariable = 'j';
46+
/*es un tipo de datos que representa un caracter unicode sencillo
47+
* de 16 bits
48+
*/
49+
50+
System.out.println("Hola java!!");
51+
52+
53+
}
54+
55+
56+
57+
}

Roadmap/00 - SINTAXIS, VARIABLES, TIPOS DE DATOS Y HOLA MUNDO/java/Qv1ko.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ public static void main (String[] args) {
1616
final int VAR2 = 2;
1717

1818
String str1 = "Java";
19-
int var3 = 3;
20-
float var4 = 4.4f;
21-
double var5 = 5.5;
19+
char var3 = 'c';
20+
int var4 = 4;
21+
float var5 = 5.5f;
22+
double var6 = 6.6;
2223
boolean bool = true;
2324

2425
System.out.println("¡Hola, " + str1 + "!");
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+
}

0 commit comments

Comments
 (0)